25

Install Next.js

creative-ui components are React components built for the Next.js App Router. Start from a fresh app, or skip ahead if you already have one.

Create a new project

1.Run create-next-app

Replace my-app with your project name.

$ npx create-next-app@latest my-app

2.Answer the prompts

Say yes to TypeScript, Tailwind CSS and the App Router. Keep the default @/* import alias.

Terminal
Would you like to use TypeScript? ... Yes
Would you like to use ESLint? ... Yes
Would you like to use Tailwind CSS? ... Yes
Would you like your code inside a src/ directory? ... No
Would you like to use App Router? ... Yes
Would you like to use Turbopack? ... Yes
Would you like to customize the import alias (@/* by default)? ... No

3.Start the dev server

$ npm run dev

Choosing Tailwind in the prompts already does the next step for you. If you did, go straight to Add utilities.

Existing project

Any React project with Tailwind CSS v4 works. Components import from @/components and @/lib/utils, so make sure tsconfig.json maps @/* to the project root.