Button
Actions · upstream shadcn/ui, Apple 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#1D1D1F--primaryfill#0071E3--primary-foregroundtext#FFFFFF--secondaryfill#F5F5F7--secondary-foregroundtext#1D1D1F--mutedfill#F5F5F7--destructivefill#E30000--borderborder#E8E8ED--ringfocus ring#0071E3Shape 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