Brutalist UI
Neo-brutalism React component library with CLI support. Copy components into your codebase for full customization control.

Features
- CLI Tool: Copy components into your codebase with
npx brutx@latest
- Full Control: Own and customize every component
- Brutalist wrappers: bold borders, offset shadows, vibrant colors
- Tailwind-ready tokens: background/foreground/primary/secondary/destructive, ring, input, card, etc. Dark mode via
.dark
- Radix-based primitives, CVA variants, and tailwind-merge
cn
Installation
Use the CLI to add components to your project:
npx brutx@latest init
npx brutx@latest add button card badge
npx brutx@latest add --all
Usage
After adding components, import them from your project:
import { Button } from '@/components/ui/button';
import { Input } from '@/components/ui/input';
import { Card, CardHeader, CardTitle, CardContent } from '@/components/ui/card';
export function Example() {
return (
<Card>
<CardHeader>
<CardTitle>Welcome to Brutalist UI</CardTitle>
</CardHeader>
<CardContent className="space-y-3">
<Input placeholder="Email" />
<Button variant="primary">Get Started</Button>
<Button variant="outline" size="sm">
Learn More
</Button>
</CardContent>
</Card>
);
}
CLI Commands
npx brutx@latest init | Initialize project with components.json |
npx brutx@latest add <component> | Add specific component(s) |
npx brutx@latest add --all | Add all components |
Notes
- Dark mode: add/remove
.dark on html or body to switch themes.
- Components are copied to your project, giving you full ownership and customization control.
- Tokens can be overridden by setting CSS variables (
--background, --primary, etc.).