Overview
Forms & inputs
Search for a command to run or a page to navigate to.
Button is a clickable interactive element that triggers actions or navigates within an application.
import { Button } from "@strongtie/design-system/button"Not installed yet? Add the package to your app:
<Button>| Prop | Type | Default | Description |
|---|---|---|---|
size | "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | - | |
variant | "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | - |
Don't use a button for navigation between pages — use a link styled as a button instead, so it stays keyboard- and assistive-technology-accessible and supports open-in-new-tab. Avoid stacking many high-emphasis buttons in one view; reserve the default variant for the single primary action and demote the rest to secondary, outline, or ghost.