DOCS

Quick setup

The same starting point for my projects.

1. Initialize

Terminal
npx shadcn@latest init --preset b7PcNrWanY --template next --pointer

React, Base UI, Tailwind 4 and TypeScript.

2. Add a component

Install
npx shadcn@latest add http://localhost:3000/r/button.json

3. Use it

example.tsx
import { Button } from "@/components/ui/button"

export function Example() {
  return <Button variant="outline">Save draft</Button>
}

Customize

Edit the installed source. Set colors and radius through the semantic tokens in your global CSS.

globals.css
:root {
  --primary: #e15829;
  --primary-foreground: #171717;
  --radius: 0.625rem;
}