Button
shadcn/uiDisplays a button or a component that looks like a button.
Installation
Props
<Button />
Name
Type
className
string
variant
"default" | "outline" | "ghost" | "destructive" | "secondary" | "info" | "success" | "warning" | "muted" | "raised" | "link"
size
"default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg"
animation
"colors" | "all" | "none" | "only-scale"
asChild
boolean