- Getting started
- Installation
Installation
App requirements:
Automatic installation
Start a project
Next.js
Server-side rendered React framework
Vite
Fast modern build tool for web development
Create a new Next.js project using create-next-app
npm
pnpm
yarn
bun
Add Tailwind and its configuration
install Tailwind along with our tailwind dedicated PostCSS plugin
npm
pnpm
yarn
bun
Next, add the PostCSS plugin to your postcss.config.js
file:
Finally, import Tailwind into your main CSS file:
Run the CLI
npm
pnpm
yarn
bun
Configure your project.
You will be asked some questions to create your configuration file.
Customize your theme
See our theme builder to create a unique and accessible theme for your project, or use one of our predefined themes.
You're done!
Manual installation
Add Tailwind CSS to your project.
Follow the Tailwind CSS v4 installation guide.
Configure the import alias
Add required dependencies
npm
pnpm
yarn
bun
Add an icon library
If you're using the default icon library, install lucide-react
:
npm
pnpm
yarn
bun
Add helper functions
Configure your theme
See our theme builder to create a unique and accessible theme for your project, or use one of our predefined themes.