OptionalattrsHTML attributes.
OptionalautorepeatEnable auto-repeat behavior when button is held down.
true uses default 200ms repeat intervalnumber specifies custom repeat interval in millisecondsFirst click triggers after 500ms, then repeats at specified interval.
OptionalclickCallback function invoked when button is clicked cf. ButtonEvents
OptionalclsAdditional CSS classes.
OptionalcontentChild content (components, strings, or HTML).
OptionaldisabledComponent is initialy disabled.
Optionaldom_DOM event listeners.
OptionalexistingExisting DOM element to wrap.
OptionalflexEnables flex layout (boolean) or sets flex-grow (number).
OptionalheightHeight (px or string like "50%").
OptionalhiddenComponent is initialy hidden.
OptionaliconIcon identifier to display
OptionalidElement ID.
OptionallabelText or HTML content of the button
OptionalmenuOptionalnsNamespace for SVG/MathML elements.
OptionalrefReference to the component instance.
OptionalstyleInline CSS styles.
OptionaltabindexTab index for keyboard navigation.
false to exclude from tab ordernumber to set specific tab indexOptionaltagHTML tag name (default: "div").
OptionaltooltipTooltip text.
OptionalwidthWidth (px or string like "50%" or "3em").
Button properties.