Add a Rate component similar to Ant Design's Rate
#5960
kwooshung
started this conversation in
Feature requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I’d like to request a new
Ratecomponent for HeroUI, similar to the Rate component in Ant Design.Why this is useful
Star (or icon-based) rating is a very common UI pattern for:
Right now, HeroUI doesn’t seem to provide a dedicated rating component, so each project has to build its own custom implementation (icons, hover states, keyboard handling, accessibility, etc.). Having an official
Ratecomponent would improve consistency and reduce duplicate work across projects.Desired features
Roughly inspired by Ant Design’s
Rate, it would be great if the component supported:API sketch (example)
For example, something like:
I don’t have a strong opinion on the exact API naming as long as it’s consistent with other HeroUI components, but having a first-class
Ratecomponent would be very helpful.Thanks for considering this feature!
Beta Was this translation helpful? Give feedback.
All reactions