Installation
MiniDev UI works anywhere React 18+ and Tailwind CSS v4 run. Pick your framework for exact steps. Already set up? One of these lines is all you need.
Own the source: the shadcn CLI copies one file into your repo
bash
npx shadcn@latest add @minidev/button
Keep it in a dependency: the npm package
bash
npm i minidev-ui-kit @base-ui/react class-variance-authority clsx tailwind-merge lucide-react
Want the shortest path from an empty folder? The quick start gets a component on screen in five steps. Using an AI agent? Point it at the agent guide.
Next.jsAdd MiniDev UI to a Next.js App Router project: Tailwind CSS v4, shadcn init, the tokens stylesheet, registry components, the npm package and dark mode.Read the steps ViteSet up MiniDev UI in a React + Vite app: the Tailwind v4 Vite plugin, the @ path alias, shadcn init, the tokens stylesheet, registry components and dark mode.Read the steps React RouterInstall MiniDev UI in a React Router v7 framework mode app: Tailwind v4, the ~ alias, shadcn init, the tokens stylesheet, SSR safe dark mode and npm.Read the steps AstroUse MiniDev UI in Astro as React islands: the React integration, Tailwind v4, shadcn init, the tokens stylesheet, client directives and dark mode with no flash.Read the steps TanStack StartInstall MiniDev UI in TanStack Start: Tailwind v4 via the Vite plugin, shadcn init, the tokens stylesheet linked from the root route, components and dark mode.Read the steps