Getting Started
Introduction to the Retents Design System.
Overview
The Retents Design System is a collection of reusable React components built on top of Base UI primitives and styled with Tailwind CSS. It provides a consistent, accessible, and themeable foundation for building Retents applications.
Features
- 50+ components — From buttons and inputs to complex data tables and sidebars
- Tailwind CSS v4 — CSS-first theming with design tokens
- Dark mode — Built-in light/dark theme support via CSS variables
- Accessible — Built on Base UI primitives with WAI-ARIA compliance
- TypeScript — Full type safety with React 19
- Tree-shakeable — Import only what you need via subpath exports
Scope
This site documents the code and is the source of truth for every visual value: colors, type scale, spacing, radius, components and setup. Brand identity — logo, when to use each color, voice and usage rules for any channel — lives in the Retents Brand Guidelines. Claims, numbers and banned words live in the ssot-retents repository.
| You need… | Go to |
|---|---|
| Color values, type scale, spacing, radius, components, icons | This site |
| Logo files and logo usage | Brand → Logo and Assets |
| When to use each color, dark vs light by channel | Brand → Cores and Temas |
| Copy, tone of voice | Brand → Voz e Tom |
Quick Start
pnpm add @retents/ui@import "tailwindcss";
@import "tw-animate-css";
@import "@retents/ui/tokens.css";
@import "@retents/ui/theme.css";import { Button } from "@retents/ui/button"
export default function Page() {
return <Button>Click me</Button>
}