Lab's UI
Use the production ready React components with modern animations. Buttons, inputs, modals, cards, and more. Built with TypeScript, Framer Motion, Gsap and Tailwind CSS. Fully accessible and customizable.
Last updated: February 7, 2026
Installation
Get started with Lab's in seconds. Use the shadcn CLI or install manually.
Requirements
Before installing Labs, make sure your project meets these requirements:
- Node.js 18 or later
- React 18+ or Next.js 13+ (App Router recommended)
- Tailwind CSS configured
- TypeScript (recommended)
Method 1: Install with shadcn CLI (Recommended)
Labs is fully compatible with the shadcn registry system.
1. Initialize shadcn
npx shadcn@latest init2. Install shadcn components
npx shadcn@latest --all3. Add Labs registry
npx shadcn@latest registry add https://vaibhavkesarwani.vercel.app/registry.json4. Install a component
npx shadcn@latest add http://vaibhavkesarwani.vercel.app/r/hello-world.jsonMethod 2: Manual Installation
If you don't want to use the CLI, you can copy components manually.
1. Install dependencies
npm install clsx tailwind-merge lucide-react2. Add utility
import { clsx } from "clsx";
import { twMerge } from "tailwind-merge";
export function cn(...inputs: any[]) {
return twMerge(clsx(inputs));
}3. Copy the component
import { Button } from "@/components/ui/button";
export function HelloWorld() {
return <Button>Hello World</Button>;
}Use Components
Import and use the installed components in your React applications
import { HelloWorld } from "@/components/labs/hello-world";
export default function Page() {
return <HelloWorld />;
}Customization
All components are customizable via:
- Tailwind CSS utility classes
- CSS variables for theming
- Component props for behavior and styling
Components are tree-shakeable, TypeScript-first, and accessible by default.
