You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
@michael-land We don't have any plans to do this, and the API is not refined for public use.
I'll label this waiting for upvotes for now, but can't promise anything at the moment 🙏
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.
The text was updated successfully, but these errors were encountered: