Button
Actions · upstream shadcn/ui, Linear theme
Displays a button or a component that looks like a button.
import { Button } from "@/components/ui/button"
<Button>…</Button>Tokens it uses
--backgroundfill#08090A--foregroundtext#F7F8F8--primaryfill#E5E5E6--primary-foregroundtext#08090A--secondaryfill#141516--secondary-foregroundtext#F7F8F8--mutedfill#0F1011--destructivefill#EB5757--borderborder#23252A--ringfocus ring#5E69D1Shape 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