Button
Actions · upstream shadcn/ui, Figma theme
Displays a button or a component that looks like a button.
import { Button } from "@/components/ui/button"
<Button>…</Button>Tokens it uses
--backgroundfill#FFFFFF--foregroundtext#000000--primaryfill#000000--primary-foregroundtext#FFFFFF--secondaryfill#F5F5F5--secondary-foregroundtext#000000--mutedfill#F5F5F5--destructivefill#972121--borderborder#D6D6D6--ringfocus ring#000000Shape and type: --ds-radius-button --ds-button-weight --ds-button-size --ds-press-scale --ds-focus-width --ds-focus-style --ds-focus-offset --ds-disabled-opacity --ds-shadow-button --ds-shadow-button-hover --ds-button-height --ds-button-px --ds-button-height-sm --ds-button-height-lg --ds-button-size-lg