Skip to content

Public useButton hook #1674

Open
Open
@michael-land

Description

@michael-land

Feature request

Summary

Expose the useButton hook allows developers to build additional widget with consistent behavior.

Examples in other libraries

N/A

Motivation

As building custom UI components, I want to leverage the same underlying logic used by the library’s useButton hook - such as keyboard interactions, ARIA attributes, and event normalization—without having to reimplement accessibility features from scratch or copy paste to main own version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions