...
Learn how to install Neobrutal UI components in your project.
You can quickly add components to your project with the Neobrutal UI CLI.
npx neobrutal initnpx neobrutal add buttonimport { Button } from '@/components/ui/button'
export default function Page() {
return <Button>Click me</Button>
}Follow these steps to add components to your project without the CLI
npm install class-variance-authority clsx tailwind-mergeAdd this to lib/utils.ts
import { clsx, type ClassValue } from 'clsx'
import { twMerge } from 'tailwind-merge'
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs))
}Browse to any component page, open the Code tab, and copy the source into components/ui/. Install Base UI if required.