idRequired
string
iconRequired
UseIcon
labelRequired
string
size
"small" | "large" | "standard"
tone
"formAccent" | "neutral"
type
"reset" | "button" | "submit"
variant
"transparent" | "soft"
onClick
MouseEventHandler<HTMLButtonElement>
onMouseDown
MouseEventHandler<HTMLButtonElement>
onKeyUp
KeyboardEventHandler<HTMLButtonElement>
onKeyDown
KeyboardEventHandler<HTMLButtonElement>
aria-haspopup
false | true | "grid" | "listbox" | "menu" | "false" | "true" | "dialog" | "tree"
aria-expanded
false | true | "false" | "true"
tabIndex
number
data
DataAttributeMap
bleed
boolean
tooltipPlacement
"bottom" | "top"
ref
Allows getting a ref to the component instance. Once the component unmounts, React will set `ref.current` to `null` (or call the ref with `null` if you passed a callback ref).
string | (instance: HTMLButtonElement | null) => void | RefObject<HTMLButtonElement>