Installation
Set up Clinia UI in a new or existing Next.js project.
Prerequisites
Before you begin, make sure your project meets the following requirements:
- Node.js 20.9 or later
- Next.js 15+ with the App Router (pages router is not supported)
- pnpm is recommended, though npm and yarn also work
- Tailwind CSS v4. Clinia UI does not support Tailwind v3
Pick your path
Clinia ships one shadcn style per surface (App or Marketing), each with its own base registry item. Select the one that best suits your application.
A new product app
For the console, a studio or any other product surface. This installs the base item and shadcn's Luma style.
bash
pnpm dlx shadcn@latest init https://ui.clinia.dev/r/base.json
pnpm dlx shadcn@latest add @clinia/theme
pnpm dlx shadcn@latest add @clinia/buttonApp getting started explains each step.
A new marketing site
For clinia.com or any other marketing site. This installs the marketing item and shadcn's Sera style, with the rounded --radius override.
bash
pnpm dlx shadcn@latest init https://ui.clinia.dev/r/marketing.json
pnpm dlx shadcn@latest add @clinia/theme-marketing
pnpm dlx shadcn@latest add @clinia/brand-logo @clinia/infinity-bandMarketing getting started explains each step.
An existing app that already runs shadcn
Follow the migration guide.
An existing app without shadcn
Write a components.json by hand, as the migration guide shows, then follow the rest of the guide.