Manually add the dependencies to your project.
The components are styled with Tailwind CSS, so you'll need to install Tailwind CSS in your project.
Follow the Tailwind CSS installation guide to get started.
Add these dependencies to your project:
@theme
layerHere's app.css file looks like:
Loading...
Add the following to your app.css
file to set neutral as the base color and blue as the brand color.
Loading...
You can further customize the theme by following the theme setup instructions.
Add the following code to the tsconfig.app.json
file to resolve paths for your IDE:
Loading...
The @
alias is just a preference. Feel free to use any other alias you prefer.
cn
utility functionLoading...
You can now start adding components to your project.