Button
Actions · upstream shadcn/ui, Vercel theme
Displays a button or a component that looks like a button.
import { Button } from "@/components/ui/button"
<Button>…</Button>Tokens it uses
--backgroundfill#FAFAFA--foregroundtext#171717--primaryfill#171717--primary-foregroundtext#FFFFFF--secondaryfill#F2F2F2--secondary-foregroundtext#171717--mutedfill#F2F2F2--destructivefill#EA001D--borderborder#EBEBEB--ringfocus ring#47A8FFShape 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