Get started
Installation
Add the registry to a project and install components.
1. Add the registry
In a project that already uses shadcn (Tailwind v4, a components.json), add the @opendraft registry:
components.jsonjsonReady
2. Install the theme, then components
terminalbashReady
Dependencies come along automatically: installing chat-app also brings the sidebar, messages and the motion tokens it needs.
3. Wrap your app once
providers.tsxtsxReady
4. Fonts
The theme expects three font variables: --font-geist (interface), --font-newsreader (display) and --font-geist-mono (labels). In Next.js, load them with next/font/google and put their variables on <html>.