Create, manage, and export professional UI design systems with one click.
UI Vault is a web application for building reusable design system foundations. Create your style tokens once, export them as Tailwind configs, CSS variables, or JSON tokens—ready to use in any project.
- Style Collections — Complete UI foundation packages with colors, typography, spacing, shadows, and animations
- Live Preview — See your design system in action with real-time component previews
- Dark/Light Mode — Full support for dual-theme design systems out of the box
- One-Click Export — Generate Tailwind configs, CSS variables, or JSON design tokens instantly
- Keyboard-First — Command palette (
⌘K) and shortcuts for power users
| Layer | Technology |
|---|---|
| Framework | Next.js 15 (App Router) |
| Language | TypeScript 5.7 |
| Database | PostgreSQL via Neon |
| ORM | Prisma 6 |
| Styling | Tailwind CSS 4 |
| State | Zustand |
| Validation | Zod |
| Components | Radix UI + Framer Motion |
ui-vault/
├── packages/
│ ├── core/ # Reusable UI component library (46+ components)
│ │ ├── components/ # Button, Input, Dialog, Animations, Effects...
│ │ ├── hooks/ # useReducedMotion, useScrollLock...
│ │ └── lib/ # Animation presets, utilities
│ │
│ └── web/ # Next.js application
│ ├── app/ # Pages and API routes
│ │ ├── api/ # REST API endpoints
│ │ └── dashboard/ # App pages
│ ├── components/ # App-specific components
│ ├── lib/ # Schemas, exporters, utilities
│ ├── stores/ # Zustand state management
│ └── prisma/ # Database schema
│
└── docs/ # Architecture & design documentation
├── architecture/ # System design, data models
└── design-system/ # Design tokens & principles
# Clone the repository
git clone https://github.com/YOUR_USERNAME/ui-vault.git
cd ui-vault
# Install dependencies
pnpm install
# Set up environment variables
cp packages/web/.env.example packages/web/.env
# Edit packages/web/.env with your DATABASE_URL
# Initialize the database
pnpm --filter @ui-vault/web db:generate
pnpm --filter @ui-vault/web db:push
# Start development server
pnpm devOpen http://localhost:3000 to view the app.
Create packages/web/.env:
# PostgreSQL connection string
DATABASE_URL="postgresql://user:password@host:5432/database?sslmode=require"| Command | Description |
|---|---|
pnpm dev |
Start development server |
pnpm build |
Build for production |
pnpm lint |
Run ESLint |
pnpm typecheck |
Run TypeScript checks |
pnpm --filter @ui-vault/web db:studio |
Open Prisma Studio |
pnpm --filter @ui-vault/web db:push |
Push schema to database |
UI Vault exports your design system in three formats:
Tailwind Config — Drop-in configuration for Tailwind CSS projects
export default {
theme: {
extend: {
colors: { gray: {...}, accent: {...} },
fontFamily: { sans: [...], mono: [...] },
spacing: { 0: "0px", 1: "4px", ... }
}
}
}CSS Variables — Framework-agnostic custom properties
:root {
--color-gray-50: #FAFBFC;
--color-accent-default: #3B82F6;
--font-family-sans: Inter, system-ui;
--space-4: 16px;
}JSON Tokens — Standard design tokens format
{
"$schema": "https://design-tokens.github.io/...",
"tokens": { "colors": {...}, "typography": {...} }
}The @ui-vault/core package includes 46+ production-ready components:
| Category | Components |
|---|---|
| Primitives | Button, Input, Badge, Avatar, Switch, Checkbox, Label |
| Layout | Card, Separator, ScrollArea, Tabs |
| Feedback | Alert, Dialog, Popover, Toast, Tooltip |
| Animations | BlurFade, TextAnimate, Marquee, NumberTicker, WordRotate |
| Effects | AnimatedBorder, Confetti, Meteors, RainbowButton, ShimmerButton |
| Backgrounds | DotPattern, GridPattern, Particles, Spotlight, AnimatedBeam |
- Push your code to GitHub
- Import the project in Vercel
- Set the root directory to
packages/web - Add your
DATABASE_URLenvironment variable - Deploy
| Document | Description |
|---|---|
| Architecture Overview | System design and data flow |
| Data Model | Schemas and database structure |
| Design Principles | Core design philosophy |
| Color System | Color tokens and usage |
| Typography | Type scale and fonts |
| Quality Checklist | Pre-ship verification |
MIT License — see LICENSE for details.