React Hookers - v6.3.0
    Preparing search index...

    Interface HeadlessButtonValue

    A value returned from the useButton hook.

    interface HeadlessButtonValue {
        buttonProps: ButtonHTMLAttributes<HTMLButtonElement>;
        isFocused: boolean;
        isFocusVisible: boolean;
        isHovered: boolean;
        isPressed: boolean;
    }
    Index

    Properties

    buttonProps: ButtonHTMLAttributes<HTMLButtonElement>

    Props for the element that implements button behavior.

    The object identity never changes between renders.

    isFocused: boolean

    true if the element is currently focused.

    isFocusVisible: boolean

    true if the element is currently focused and focus should be visible.

    isHovered: boolean

    true if the element is currently hovered.

    isPressed: boolean

    true if the element is currently pressed.