If you find Brutalist UI useful, please consider supporting its development:
Your support helps keep this project alive and growing! π
| Feature | Description |
|---|---|
| π¨ Neo-Brutalism Design | Bold 3px borders, offset shadows, vibrant colors |
| π§± 22+ Components | Comprehensive UI kit for modern applications |
| π Dark Mode | Full dark mode support out of the box |
| βΏ Accessible | Built on Radix UI primitives for A11y |
| π± Responsive | Mobile-first, responsive design |
| π― TypeScript | Full type safety and IntelliSense |
| π¨ Tailwind CSS | Custom plugin with brutalism utilities |
| β‘ Tree-shakeable | Import only what you need |
Use the CLI to add components to your project:
# Initialize your project
npx brutx@latest init
# Add components
npx brutx@latest add button card badge
# Or add all components
npx brutx@latest add --allnpx brutx@latest initThis will:
- Create
components.jsonconfiguration - Set up your components directory
- Install required dependencies
# Add specific components
npx brutx@latest add button card dialog
# Add all components at once
npx brutx@latest add --allimport { Button } from '@/components/ui/button';
import { Card, CardHeader, CardContent } from '@/components/ui/card';
import { Badge } from '@/components/ui/badge';
function App() {
return (
<Card>
<CardHeader>
<h2>Welcome to Brutalist UI</h2>
<Badge variant="success">New</Badge>
</CardHeader>
<CardContent>
<p>Bold, raw, and beautiful components.</p>
<Button variant="primary" size="lg">
Get Started
</Button>
</CardContent>
</Card>
);
}| Component | Description |
|---|---|
Card |
Container with header, content, footer sections |
Separator |
Visual divider between content |
| Component | Description |
|---|---|
Button |
Primary, secondary, outline, ghost, destructive variants |
Input |
Text input with brutalist styling |
Textarea |
Multi-line text input |
Checkbox |
Toggle checkbox with checkmark |
Switch |
Toggle switch control |
Select |
Dropdown select menu |
Label |
Form input labels |
| Component | Description |
|---|---|
Alert |
Info, success, warning, error notifications |
Badge |
Status indicators and labels |
Toast |
Toast notifications system |
Spinner |
Loading spinners (brutalist, dots, pulse, bars) |
Skeleton |
Loading placeholder animations |
| Component | Description |
|---|---|
Dialog |
Modal dialog windows |
Popover |
Floating content panels |
Tooltip |
Hover tooltips |
DropdownMenu |
Context and dropdown menus |
| Component | Description |
|---|---|
Tabs |
Tabbed content navigation |
Table |
Data tables with brutalist styling |
Pagination |
Page navigation with first/last, prev/next |
Avatar |
User avatars with fallback |
The brutalism plugin adds these utilities:
.nb-border /* 3px solid black border */
/* 3px solid black border */
/* 3px solid black border */
/* 3px solid black border */
/* 3px solid black border */
/* 3px solid black border */
/* 3px solid black border */
/* 3px solid black border */
/* 3px solid black border */
/* 3px solid black border */
/* 3px solid black border */
/* 3px solid black border */
/* 3px solid black border */
/* 3px solid black border */
/* 3px solid black border */
/* 3px solid black border */
.nb-shadow /* 4px offset shadow */
.nb-shadow-sm /* 2px offset shadow */
.nb-shadow-lg /* 6px offset shadow */
.nb-press /* Pressed state effect */
.nb-font; /* Bold 900 weight typography */| Color | Hex | Usage |
|---|---|---|
| π΄ Coral Red | #FF6B6B |
Primary actions, destructive |
| π’ Teal | #4ECDC4 |
Success, secondary |
| π‘ Yellow | #FFE66D |
Warning, highlights |
| β« Black | #000000 |
Borders, text |
| βͺ White | #FFFFFF |
Backgrounds |
brutalist-ui/
βββ apps/
β βββ docs/ # Next.js 14 documentation site
β βββ app/ # App router pages
β βββ components/ # Doc site components
β βββ public/ # Static assets
βββ packages/
β βββ ui/ # UI component library
β βββ src/
β β βββ components/ # 22 React components
β β βββ lib/ # Utilities (cn, etc.)
β β βββ brutalism-plugin.ts
β βββ dist/ # Built output
βββ pnpm-workspace.yaml
βββ package.json
# Clone the repository
git clone https://github.com/dev-snake/brutalist-ui.git
cd brutalist-ui
# Install dependencies
pnpm install
# Build the UI library
pnpm --filter brutalist-ui build
# Start docs dev server
pnpm --filter docs dev| Command | Description |
|---|---|
pnpm --filter brutalist-ui build |
Build the library |
pnpm --filter brutalist-ui dev |
Watch mode |
pnpm --filter docs dev |
Start docs server |
pnpm --filter docs build |
Build docs for production |
MIT Β© dev-snake
We're constantly improving Brutalist UI. Here's what's coming:
-
Core components (22+ components) -
Dark mode support -
TypeScript support -
Tailwind CSS plugin - More components: DatePicker, DataTable, Drawer, Command Palette
- Animations: Framer Motion integration
- Themes: Multiple brutalist color themes
- Templates: Dashboard, Landing page, Admin panel
- Figma Kit: Design files for designers
Premium components for serious projects:
| Component | Description | Status |
|---|---|---|
| DataTable Pro | Advanced data table with sorting, filtering, pagination | π Soon |
| DatePicker | Date & time picker with range selection | π Soon |
| Drawer | Slide-out panel component | π Soon |
| Command Palette | Spotlight-style command menu | π Soon |
| Dashboard Kit | Complete admin dashboard template | π Soon |
Support the development of Brutalist UI and get your name/logo here!