40+ landing page components for ReactBrowse now

Primitives

Button

Versatile button component with multiple variants, sizes, loading state, and icon slots.

Variants

Sizes

Props

PropTypeDefaultDescription
variant
"primary" | "secondary" | "outline" | "ghost" | "destructive""primary"Visual style variant of the button
size
"sm" | "md" | "lg" | "xl""md"Size of the button
fullWidth
booleanfalseStretch button to fill its container width
loading
booleanfalseShow a loading spinner and disable interaction
leftIcon
ReactNodeIcon element rendered before the button label
rightIcon
ReactNodeIcon element rendered after the button label
disabled
booleanfalseDisable the button
className
stringAdditional CSS classes