Installation
Get started with OonkooUI in your Next.js or React project.
1Create a new Next.js project
Run the following command to create a new Next.js project with Tailwind CSS:
Terminal
npx create-next-app@latest my-app --typescript --tailwind --eslint --app2Initialize OonkooUI
Navigate to your project and run the init command:
Terminal
cd my-appTerminal
npx oonkoo initThis will create an oonkoo.config.json file and set up your project.
3Add components
Start adding components to your project:
Terminal
npx oonkoo add hero-gradientWhat does init do?
- Creates an
oonkoo.config.jsonconfiguration file - Sets up the component directories
- Detects your project configuration (aliases, paths)
Next Steps
Learn about the CLI commands or start browsing components.