Getting Started
AsterUI is a React component library built on DaisyUI and Tailwind CSS v4. It provides beautifully styled, accessible components with built-in theming support.
Quick Start
Section titled “Quick Start”-
Create a new project
Create a new AsterUI project by running the following command in your terminal:
Terminal window npm create asterui@latestTerminal window pnpm create asterui@latestTerminal window yarn create asterui@latestFollow the prompts to name your project and select a template.
-
Start the development server
Navigate to your project directory and start the dev server:
Terminal window cd my-asterui-appnpm run devTerminal window cd my-asterui-apppnpm devTerminal window cd my-asterui-appyarn devYou’ll see a confirmation message in your terminal with a link to your local preview.
-
Start building
Open the project in your editor and start using AsterUI components:
src/App.tsx import { Button, Space } from 'asterui'function App() {return (<Space><Button>Default</Button><Button color="primary">Primary</Button><Button color="secondary">Secondary</Button></Space>)}
Next Steps
Section titled “Next Steps”- Add to an existing project: Follow the Manual Setup guide to add AsterUI to an existing React project.
Troubleshooting
Section titled “Troubleshooting”If you run into issues, check the following:
- Ensure you have Node.js 18 or higher installed
- Make sure Tailwind CSS v4 and DaisyUI v5 are properly configured
- Check that your CSS file includes the required directives
For more help, visit the GitHub repository.