A production-ready design system built with shadcn/ui components, Radix UI primitives, and Tailwind CSS v4. This library provides a complete set of accessible, customizable React components for building modern web applications.
Version 1.0 - Stable API, production-ready, comprehensive documentation.
- 🎨 50+ Components - Buttons, forms, dialogs, navigation, data display, and more
- ♿ Accessible - Built on Radix UI primitives with ARIA support
- 🎭 Customizable - Full theme customization with CSS variables
- 🌗 Dark Mode - Built-in dark mode support
- 📦 Tree Shakeable - Only import what you need
- 🔷 TypeScript - Full type safety out of the box
- 📚 Storybook - Interactive component documentation
- ⚡ Modern Stack - Tailwind CSS v4, React 18+, shadcn/ui architecture
- React 18+ or 19+
- Tailwind CSS v4
- PostCSS
Official published package is COMING SOON to NPM. For now, you can install it from the GitHub repository:
have the following in your package.json:
{
"dependencies": {
"movement-design-system": "github:movementlabsxyz/movement-design-system"
}
}then run:
pnpm installEnsure you have a standard Tailwind CSS setup with PostCSS. If you haven't set this up yet, follow the Tailwind CSS v4 installation guide.
Add the following imports to your global.css file in this exact order (the order is important!):
@import "movement-design-system/component-styles";
@import "movement-design-system/theme";
@import "tailwindcss";
⚠️ Important: The order of these imports matters! Make sure to import the component styles and theme before Tailwind CSS.
import { Button, Card, Input } from '@movementlabsxyz/movement-design-system';
function App() {
return (
<Card>
<Input placeholder="Enter text..." />
<Button>Submit</Button>
</Card>
);
}- Layout - Card, Separator, AspectRatio, Resizable, ScrollArea, Sidebar
- Forms & Inputs - Input, Textarea, Button, Checkbox, RadioGroup, Select, Switch, Slider, Label, Form, Calendar
- Navigation - NavigationMenu, Menubar, DropdownMenu, ContextMenu, Breadcrumb, Tabs, Pagination
- Feedback - Alert, AlertDialog, Dialog, Toast, Progress, Spinner, Skeleton
- Data Display - Table, Badge, Avatar, Tooltip, HoverCard, Accordion, Collapsible, Chart, Command, Empty
- Overlays - Sheet, Drawer, Popover
- Utilities -
cn()function,useMobilehook
Copy-paste ready patterns built with design system components:
- StakingBalance - Glass-morphism card with staking stats and rewards
- StakeForm - Complete staking form with validator selection
- ValidatorsTable - Comprehensive table with sorting and metrics
- MobileValidatorsTable - Responsive table with card layouts
- PaginatedTable - Full-featured table with sorting and pagination
Browse the Blocks section in Storybook for live examples with full source code.
Explore live examples, API documentation, and copy-paste ready code snippets for all components and blocks.
Full TypeScript support with IntelliSense and type safety:
import { Button, type VariantProps, buttonVariants } from '@movementlabsxyz/movement-design-system';
type ButtonVariants = VariantProps<typeof buttonVariants>;# Clone and install
git clone https://github.com/movementlabsxyz/movement-design-system.git
cd movement-design-system
pnpm install
# Start Storybook
pnpm storybook
# Build library
pnpm build:lib
# Run tests
pnpm testContributions are welcome! Please open an issue first to discuss major changes.
- shadcn/ui - Component architecture
- Radix UI - Accessible primitives
- Tailwind CSS v4 - Styling
- TypeScript - Type safety
- Storybook - Documentation