Retents UI

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, iconsThis site
Logo files and logo usageBrand → Logo and Assets
When to use each color, dark vs light by channelBrand → Cores and Temas
Copy, tone of voiceBrand → Voz e Tom

Quick Start

pnpm add @retents/ui
app/globals.css
@import "tailwindcss";
@import "tw-animate-css";
@import "@retents/ui/tokens.css";
@import "@retents/ui/theme.css";
app/page.tsx
import { Button } from "@retents/ui/button"

export default function Page() {
  return <Button>Click me</Button>
}

On this page