Quick Start
Get started with HeroUI v3 in minutes
Requirements
Quick Install
Prefer to let your AI assistant do it? Install the HeroUI MCP Server in your editor, then paste the prompt into your AI assistant — it will analyze your project and handle the entire setup for you.
Install HeroUI and required dependencies:
npm i @heroui/styles @heroui/reactpnpm add @heroui/styles @heroui/reactyarn add @heroui/styles @heroui/reactbun add @heroui/styles @heroui/reactImport Styles
Add to your main CSS file globals.css:
@import "tailwindcss";
@import "@heroui/styles"; Import order matters. Always import tailwindcss first.
Use Components
import { Button } from '@heroui/react';
function App() {
return (
<Button>
My Button
</Button>
);
}What's Next?
- Themes - Create and share your own themes
- Browse Components - See all available components
- Learn Styling - Customize with Tailwind CSS
- Explore Patterns - Master compound components