Retents UI

Icons

Icon library and sizing conventions. Logos live in the brand guidelines.

Library

The design system uses Lucide (lucide-react). 19 components import Lucide icons internally (chevrons, checks, close buttons). lucide-react is an optional peer dependency, so install it in your app:

pnpm add lucide-react

There is no Retents-specific icon package. Do not mix Lucide with other icon sets in the same interface.

import { ArrowRight } from "lucide-react"
import { Button } from "@retents/ui/button"

<Button>
  Agendar demonstração
  <ArrowRight />
</Button>

Sizing

Components size child icons automatically, so pass icons without size classes unless you need a different size:

ContextDefault icon size
Button (default, sm, lg), DropdownMenu, ContextMenu, Menubar, Select, Command, Tabs, Toggle, InputGroup, Pagination, NavigationMenu, Toast16px (size-4)
Button sizes xs and icon-xs, Badge12px (size-3)
Icon-only Button (size="icon")36px button, 16px icon

The rule is [&_svg:not([class*='size-'])]:size-4: any icon without its own size-* class gets the default.

Icons inherit currentColor; color them through the parent's text color, never with hardcoded hex values.

Logos

Logos are brand assets, not components. Download files and follow usage rules in the brand guidelines:

On this page