Components
Button
Navy actions, pill silhouettes, and compact utility variants.
Interactive local example · fictional data
The Code tab contains this preview’s complete source, including sample data and interaction state. Load the package stylesheet and Switzer font as described in the installation guide. Additional layout utilities require Tailwind CSS in your application.
API reference
| Prop | Type | Default |
|---|---|---|
| variant | "default" | "secondary" | "outline" | "ghost" | "destructive" | "link" | "default" |
| size | "sm" | "default" | "lg" | "icon" | "default" |
| shape | "pill" | "rounded" | "pill" |
| loading | boolean | false |
| asChild | boolean | false |
Primitives also accept their underlying HTML or Radix props. Full types are included with the package.
Behavior & accessibility
- Use an aria-label for icon-only actions.
- Loading and disabled controls cannot be activated. The destructive and loading demos extend observed styles.
Reference
Sign-in, dashboard, referrals, connected apps