UI
A themed component library built on Base UI (the shadcn default), shared across the monorepo.
What you get
- Accessible components (buttons, cards, dialogs, forms, tabs, and more) in
packages/ui/src/components/ui - A Tailwind v4 theme with light and dark modes, defined as CSS variables in
globals.css - The
cnclass-merging helper and yourConfig.brandobject
Using components
Import components by subpath from the UI package:
tsx
Note
These are Base UI components, not Radix. Where shadcn used
asChild, Base UI uses a render prop:tsx
Theming
Colors, radii, and fonts are CSS variables in packages/ui/src/styles/globals.css. Edit the :root and .dark blocks to restyle the whole app, every component reads from these tokens.
Adding more components
The library follows shadcn's canonical structure, so you can pull in any additional component with the shadcn CLI and it will match the existing style.
bash
The marketing pages module builds directly on these components.