Skip to content

Get started

Installation

Components install straight into your codebase. You need React 18 or newer; the Tailwind variants expect Tailwind CSS v4.

1. Start a project

Skip this if you already have one. Next.js, Vite, Remix and Astro all work.

terminal
npx create-next-app@latest my-app --ts --tailwind --app
cd my-app

2. Set up the shadcn CLI

Creates a components.json so the CLI knows where files go. Already using shadcn/ui? You're done.

terminal
npx shadcn@latest init

3. Add a component

Every component page has its own command. Files land in components/inreact/.

TS + Tailwind
npx shadcn@latest add https://inreact.vercel.app/r/<component>.json
TS + CSS
npx shadcn@latest add https://inreact.vercel.app/r/<component>-css.json

4. Use it

app/page.tsx
import { Component } from "@/components/inreact/component";

export default function Page() {
  return <Component />;
}

Without the CLI

Open any component's Code tab, copy the file (and the .css file for the CSS variant) into your project, and import it. There are no hidden helpers — each file stands alone.

Start with Liquid Obsidian.