Button

The Button component provides a flexible way to create interactive buttons with various styles, sizes, and intents.

Example

Link Button

Properties

Basic

intent
'none' | 'primary' | 'success' | 'warning' | 'danger'Defaults to 'none'

The visual intent of the button

disabled
booleanDefaults to false

Whether the button is disabled

small
booleanDefaults to false

Whether to use small size

large
booleanDefaults to false

Whether to use large size

icon
string | ReactNode

Icon to display on the left side

href
string

URL to navigate to (renders as link button)

Advanced

minimal
booleanDefaults to false

Whether to use minimal styling

outlined
booleanDefaults to false

Whether to use outlined styling

full
booleanDefaults to false

Whether the button should take full width

rounded
booleanDefaults to false

Whether to use rounded corners

active
booleanDefaults to false

Whether the button is in active state

mono
booleanDefaults to false

Whether to use monospace font

rightIcon
string | ReactNode

Icon to display on the right side

text
ReactNode

The button text content

className
string

Additional CSS classes