Skip to content

Installation

Set up the component registry for your local monorepo.

Package Manager Setup

First, add the required dependencies to your package.json:

bash
npm install @radix-ui/react-slot lucide-react clsx tailwind-merge

Initializing CLI

Initialize the component library configurations using npx:

bash
npx shadcn-ui@latest init

This will create a components.json in your project root to map imports.