vibe-ui-kit
v0.1.35
Published
The official CLI companion for Vibe UI - A premium themed React and Next.js component library featuring 94+ accessible components, WebGL shaders, and application blocks.
Downloads
475
Maintainers
Readme
💡 Why Vibe UI?
Most component libraries install into node_modules — you get zero design control and heavy bundle overhead.
Vibe UI is different. Components are installed directly into your source code via the CLI. You own every line, customize freely, and ship only what you use.
| Feature | Vibe UI | Traditional Libraries |
| :------------------- | :---------------------------------------------------- | :--------------------------------------- |
| Components Count | 94+ premium, production-ready | Typically 15-20 |
| Install Location | Your local src/components/ui/ folder | Bundled inside node_modules/ |
| Customization | Full control — modify and customize the code directly | Override styles with wrapper css hacks |
| Bundle Size | Minimal — only components you add are compiled | Heavy — loads the entire package library |
| Theme Presets | 5 built-in (Default, Glassmorphism, Retro, Glow, Cyberpunk) | Usually 1 theme |
| Accessibility | Built on top of Radix UI primitives | Varies / Often lacking |
⚡ Quick Start
Get up and running in under 2 minutes:
- Initialize project layout & theme:
npx vibe-ui-kit init - Add a component:
npx vibe-ui-kit add button
💡 Tip: Run
npx vibe-ui-kit addwithout any arguments to open the interactive multi-select picker to choose multiple components.
🚀 Full Setup Guide (A to Z)
Step 1 — Create a React + TypeScript Project
npx create-vite@latest my-vibe-app --template react-ts
cd my-vibe-app
npm installStep 2 — Install Tailwind CSS v4
npm add -D tailwindcss @tailwindcss/viteThen add the Tailwind plugin to your vite.config.ts:
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import tailwindcss from '@tailwindcss/vite'
export default defineConfig({
plugins: [react(), tailwindcss()],
})Step 3 — Add Vibe UI Components
Pick individual components:
# Add a single component
npx vibe-ui-kit add button
# Add another
npx vibe-ui-kit add switchOr use the interactive picker to select multiple:
npx vibe-ui-kit addThe CLI auto-creates src/components/ui/ and the shared utility helper at src/lib/utils.ts.
Step 4 — Install Peer Dependencies
The CLI will instruct you exactly what to install. Common dependencies:
# Core utilities (always needed)
npm add clsx tailwind-merge tailwind-variants @radix-ui/react-slot lucide-react
# Radix primitives (install what your selected components need)
npm add @radix-ui/react-accordion @radix-ui/react-alert-dialog \
@radix-ui/react-dialog @radix-ui/react-dropdown-menu \
@radix-ui/react-progress @radix-ui/react-radio-group \
@radix-ui/react-slider @radix-ui/react-toast \
@radix-ui/react-hover-card @radix-ui/react-popover \
@radix-ui/react-scroll-area @radix-ui/react-menubarStep 5 — Apply the Theme
Replace the contents of src/index.css with the Vibe UI theme variables:
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
@import 'tailwindcss';
@theme {
--color-background: #09090b;
--color-foreground: #fafafa;
--color-card: #09090b;
--color-card-foreground: #fafafa;
--color-popover: #09090b;
--color-popover-foreground: #fafafa;
--color-primary: #a855f7;
--color-primary-foreground: #ffffff;
--color-secondary: #27272a;
--color-secondary-foreground: #fafafa;
--color-muted: #18181b;
--color-muted-foreground: #a1a1aa;
--color-accent: #27272a;
--color-accent-foreground: #fafafa;
--color-destructive: #ef4444;
--color-destructive-foreground: #fafafa;
--color-border: #27272a;
--color-input: #27272a;
--color-ring: #a855f7;
--radius: 0.75rem;
}
body {
background-color: #09090b;
color: #fafafa;
font-family: 'Inter', sans-serif;
min-height: 100vh;
}📂 Project Structure
After adding components, your project layout will look like this:
my-vibe-app/
├── src/
│ ├── components/
│ │ └── ui/
│ │ ├── button.tsx ← Vibe UI components
│ │ ├── card.tsx
│ │ ├── dialog.tsx
│ │ ├── table.tsx
│ │ ├── breadcrumb.tsx
│ │ ├── pagination.tsx
│ │ ├── toast.tsx
│ │ ├── calendar.tsx
│ │ ├── carousel.tsx
│ │ ├── switch.tsx
│ │ └── ... (51 total)
│ ├── lib/
│ │ └── utils.ts ← Class-merging utility (auto-created)
│ ├── App.tsx
│ └── index.css ← Theme config styles
├── vite.config.ts
└── package.json🧩 Components, Shaders & Application Blocks (94+ Items)
🎛️ Inputs & Controls (13)
| Component | Description | Docs | | :--------------- | :------------------------------------------------------- | :-------------------------------------------------------------------: | | Button | 10+ style presets — Glow, Retro, Glass, Outline, etc. | View → | | Input | Text fields with validation states and icon support | View → | | Textarea | Multi-line text areas with validation states | View → | | Checkbox | Responsive toggle list items | View → | | Switch | Animated toggle switches with 4 visual presets | View → | | Slider | Smooth range inputs with tooltip preview | View → | | Radio Group | Single-choice selection with styled indicators | View → | | Select | Custom styled select dropdowns | View → | | Multi-Select | Multi-value select with tags and search | View → | | Input OTP | Access code inputs with focus loops and cursor lines | View → | | Toggle | Two-state toggle buttons with icon configurations | View → | | Uploader | Drag-and-drop dropzone uploader with file state previews | View → | | Command | Command palette / search interface | View → |
📐 Layout & Structure (10)
| Component | Description | Docs | | :--------------- | :--------------------------------------------------------------- | :-------------------------------------------------------------------: | | Card | Glass containers with backdrop filters and border effects | View → | | Accordion | Collapsible content sections with smooth animations | View → | | Tabs | Seamless sliding tab views with animated indicator | View → | | Table | Data tables with glass variants, sortable headers & striped rows | View → | | Separator | Visual content dividers (horizontal & vertical) | View → | | Label | Accessible form-control labels | View → | | Scroll Area | Custom scrollbars with smooth overflow scrolling | View → | | Aspect Ratio | Fixed size ratios for pictures and visual blocks | View → | | Collapsible | Accordion style expanders for hidden details | View → | | Layout Shell | Grid layouts with interactive sidebars and headers | View → |
🪟 Overlays & Dialogs (7)
| Component | Description | Docs | | :---------------- | :----------------------------------------- | :--------------------------------------------------------------------: | | Dialog | Modal overlay boxes with backdrop blur | View → | | Alert Dialog | Confirmation dialogs for critical actions | View → | | Drawer | Slide-in panel overlays from any edge | View → | | Dropdown Menu | Contextual menus with keyboard navigation | View → | | Popover | Floating panels anchored to triggers | View → | | Hover Card | Rich hover previews with metadata | View → | | Menubar | Top horizontal menus for layout navigation | View → |
🔔 Feedback & Status (11)
| Component | Description | Docs | | :----------- | :------------------------------------------------- | :---------------------------------------------------------------: | | Progress | Animated progress bars with gradient indicators | View → | | Skeleton | Content loading placeholders with shimmer effects | View → | | Badge | Status indicators with glow and preset variations | View → | | Alert | Callout messages with severity states | View → | | Tooltip | Hover informational overlays | View → | | Toast | Notification toasts with actions and swipe dismiss | View → | | Calendar | Date picker calendar with range and day states | View → | | Kbd | Inline keyboard shortcut indicators | View → | | Marker | Highlighting triggers for alerts and search scopes | View → | | Message | Chat notification bubbles and messages | View → | | Spinner | Shimmer loaders and spinner indicator icons | View → |
📊 Data Display & Navigation (10)
| Component | Description | Docs | | :------------------- | :--------------------------------------------------------- | :-----------------------------------------------------------------------: | | Avatar | User avatars with glow rings and initial fallbacks | View → | | Breadcrumb | Responsive navigation breadcrumbs with separators | View → | | Pagination | Page navigation with active states and ellipsis | View → | | Carousel | Slide carousels with autoplay and navigation | View → | | Infinite Scroll | Scroll loaders with pagination and dynamic checks | View → | | Item | Configurable catalog or items lists layouts | View → | | Marquee | Sliding logo walls and loop marquees | View → | | Message Scroller | Container streams with message history listings | View → | | Text Glitch | Animated title headers with cyber glitch effects | View → | | Theme Switcher | Toggles resolving dark/light settings across layout frames | View → |
🧩 Full Application Blocks (8)
| Block | Description | Docs | | :--------------------- | :--------------------------------------------------------------- | :--------------------------------------------------------------------: | | Pricing 01 | SaaS tiered pricing table with currency switcher & checkout | View → | | Kanban 01 | Agile sprint board with swimlanes, subtasks & sprint analytics | View → | | Dashboard 01 | Admin dashboard with lifecycle metrics & data table drawer | View → | | E-commerce 01 | Modern storefront with shopping bag sheet & responsive catalog | View → | | E-commerce 02 | Minimalist product grid with category filters & review modal | View → | | Chat 01 | AI chat workspace with prompt chips, streaming UI & composer | View → | | Auth 01 | Glassmorphism authentication with social logins & form validation| View → | | Crypto Glass 01 | Dark-mode DeFi portfolio tracker with live market charts | View → |
🌌 WebGL Background Shaders (5)
| Shader | Description | Docs | | :----------------- | :----------------------------------------------------------- | :--------------------------------------------------------------------: | | Light Tunnel | Hyperspace ray-marched warp tunnel shader | View → | | Lightfall | Ambient cyber digital rain with falling glowing particles | View → | | Scanner | Tron-style holographic glowing grid horizon | View → | | Sliced Waves | Smooth ribbon waves with custom gradient amplitudes | View → | | Web Threads | Intertwined neon laser lines with reactive mouse deflection | View → |
🎨 4 Visual Presets
Every component supports 4 built-in visual themes you can toggle with a single variant prop:
default— Clean, minimal typography layoutglass— Frosted glassmorphism saturation with high backdrop blurretro— Warm neobrutalism aesthetics with hard shadows and bordersglow— Neon-lit with color shadow glow aura animations
import { Button } from './components/ui/button'
import { Switch } from './components/ui/switch'
import { Card } from './components/ui/card'
export default function Example() {
return (
<>
<Button variant="glow">Neon Button</Button>
<Switch variant="glass" />
<Card variant="retro">Retro Card</Card>
</>
)
}🔧 CLI Reference
1. init — Project setup
Initialize the workspace theme configuration and utils helper.
npx vibe-ui-kit init [options]Options:
-y, --yes— Skip interactive prompts and write default config paths (./src/components/ui,./src/lib/utils.ts, and auto-detected CSS file).
2. add — Install components
Add one or more Vibe UI components to your project.
npx vibe-ui-kit add [components...] [options]Arguments:
components— Component name(s) to add (e.g.button,switch). Omit to open the interactive picker.
Options:
-y, --yes— Skip interactive installation prompts.
❓ Troubleshooting
npx vibe-ui-kit@latest add avatar// Before
let timer: NodeJS.Timeout
// After
let timer: ReturnType<typeof setTimeout>// Should match your actual file structure
import { cn } from '../../lib/utils'🤝 Contributing
Contributions are welcome! Check the GitHub Repository for issues and pull requests.
📄 License
MIT © Vibe UI
