Search sites, categories, sections, or styles.
| Prop | Type | Description |
|---|---|---|
children | React.ReactNode | Button label. |
animated | boolean | Enables the dot pulse. |
dotColor | string | Dot color; defaults to currentColor. |
variant | "default" | "primary" | "secondary" | Preset palette. |
colors | ConfirmButtonColors | Overrides the preset palette. |
className | string | Extra button classes. |
style | React.CSSProperties | Inline button styles. |
| Prop | Type | Description |
|---|---|---|
showShortcut | boolean | Shows the shortcut badge. |
shortcut | string | Key that activates the button. |
shortcutIcon | React.ReactNode | Badge icon when no key is set. |
shortcutLabel | string | Accessible badge label. |
| Prop | Type | Description |
|---|---|---|
from | string | Gradient start color. |
to | string | Gradient end color. |
foreground | string | Button text color. |
border | string (optional) | Custom border color. |
| Prop | Type | Description |
|---|---|---|
type | "button" | "submit" | "reset" | Native button type. |
disabled | boolean | Disables input and animation. |
onClick | React.MouseEventHandler<HTMLButtonElement> | Runs on activation. |
ref | React.Ref<HTMLButtonElement> | Ref to the button element. |