Components
For the complete documentation index, see llms.txt. Markdown variants are available by appending .md to any URL or sending an Accept: text/markdown header. An agent skill is available at /.well-known/agent-skills/site-skill.md.
How to install and use Monolith UI components in your project.
Monolith UI is distributed as a shadcn registry. You do not install it as an npm package. Instead, you use the shadcn CLI to pull the component code directly into your project, giving you full ownership of the implementation.
First, ensure you have a modern React project (e.g., Next.js App Router) with Tailwind CSS v4 and the shadcn CLI initialized.
Before adding individual components, you must configure your project with the Monolith Design System rules. This involves setting up the strict monochromatic palette, typography scale, and motion constraints.
Follow the guides in the Foundations section (e.g., Colors, Typography, Motion) to update your globals.css and tailwind.config.ts.
Once your foundations are set, you can install any component from this registry using the CLI.
The CLI will automatically:
scroll-area.tsx) into your components/ui directory.radix-ui primitives).Import and use the component as normal: