id
string
onClick
MouseEventHandler<HTMLButtonElement>
type
"reset" | "button" | "submit"
icon
UseIcon
iconPosition
"leading" | "trailing"
children
ReactNode
onKeyUp
KeyboardEventHandler<HTMLButtonElement>
onKeyDown
KeyboardEventHandler<HTMLButtonElement>
aria-haspopup
false | true | "grid" | "listbox" | "menu" | "false" | "true" | "dialog" | "tree"
aria-controls
string
aria-expanded
false | true | "false" | "true"
aria-describedby
string
aria-label
string
tabIndex
number
data
DataAttributeMap
size
"small" | "standard"
tone
"brandAccent" | "critical" | "formAccent" | "neutral"
variant
"transparent" | "solid" | "ghost" | "soft"
bleed
boolean
loading
boolean
ref
(instance: HTMLButtonElement | null) => void | RefObject<HTMLButtonElement>
bleedY
Deprecated
boolean