Rating
Stars Aligned: Experience Excellence with Our Rating Component
Last updated
Stars Aligned: Experience Excellence with Our Rating Component
Last updated
Elevate user feedback and engagement with our Rating Component, a dynamic and visually appealing way for users to express their sentiments. Whether it's reviewing products, services, or content, this feature-rich element transforms the user experience by providing an intuitive and interactive platform for expressing opinions and gauging quality.
The Rating Component boasts a constellation of stars, allowing users to assign ratings easily. Its design is clean and user-friendly, ensuring a seamless interaction that enhances the visual appeal of your application. Each star represents a degree of excellence, creating a universal language for users to communicate their feedback.
Customize the Rating Component to align with your brand and design aesthetic. Adjust properties such as star color, size, and animation to seamlessly integrate the rating system into your application. With customizable parameters, you have the flexibility to create a visually cohesive and engaging rating experience.
Size | Rate |
---|---|
Small | None |
Medium | Half star |
Large | 1 star |
Custom | 1 star and half star |
2 star | |
2 star and half star | |
3 star | |
3 star and half star | |
4 star | |
4 star and half star | |
5 star |
Null rating state represents a condition where no rating is explicitly assigned. In this state, the rating component may display as empty or unmarked, indicating that the user has not yet provided a rating for the associated content.
Half rating state occurs when a rating component allows for partial ratings, typically represented by a visual cue like half-filled icons. This state acknowledges that the user has assigned a rating that falls between two whole numbers.
Full rating state is the standard condition where a complete and whole number rating has been assigned by the user. Visually, it often involves filled icons.
Our rating component supports different sizes such as small, medium, large and custom to fit various design requirements.
Achieve precision in design with our Rating Component's flexible layout and spacing options. Define the arrangement and spacing between stars to ensure a visually balanced and appealing presentation. Whether integrated into product listings or review sections, the layout adapts seamlessly to diverse content structures.
Adapt to user preferences effortlessly with our Rating Component's built-in support for both light and dark modes. Enhance visibility and aesthetics by seamlessly transitioning between these modes, ensuring a consistent and visually pleasing experience across various contexts and environments.
Champion inclusivity with our Rating Component's commitment to accessibility. Engineered with industry-leading standards, it ensures a user-friendly experience for everyone, including those with disabilities. Screen reader compatibility, keyboard navigation, and high contrast options make our Rating Component accessible and intuitive for a diverse user base.
Property | Description | Type | Accepted Values | Default |
---|---|---|---|---|
size | Sets the size of the rating component | String |
|
|
value | Current rating value | Number | 0 - |
|
defaultValue | Default rating value | Number | 0 - |
|
icon | Icon for the filled stars | String | Any valid icon class |
|
emptyIcon | Icon for the empty stars | String | Any valid icon class |
|
max | Maximum value for the rating component | Number | Any positive number |
|