OptionalisIf true, the element is auto-focusable within a focus scope.
OptionalisIf true, hover interactions are disabled.
OptionalonA handler that is called when the element loses focus.
OptionalonA handler that is called when the element receives focus.
OptionalonA handler that is called when the element's focus state changes.
true if the element is focused.
OptionalonA handler that is called when the element receives focus and focus should be visible.
OptionalonA handler that is called when the hover state changes.
true if the element is hovered.
OptionalonA handler that is called when a hover interaction ends.
OptionalonA handler that is called when a hover interaction starts.
OptionalonA handler that is called when the press is released over the target.
OptionalonA handler that is called when the pressed state changes.
true if the element is pressed.
OptionalonA handler that is called when a press interaction ends, either over the target or when the pointer leaves the target.
OptionalonA handler that is called when a press interaction starts.
Props for the useButton hook.