eds-rating

Explore the Interactive Component

Use the playground below to experiment with the component. Click the button to view the full Storybook deployment for additional examples and configurations.

See It in Use with Code

Check out this practical implementation of component.

Plain HTML

In React

In Vue

Properties

PropertyAttributeDescriptionTypeDefault
ratingCountrating-countNumber of stars in the rating system.number5
ratingTyperating-typeThe type of icon to display. Can be “stars” or “thumbs”."star" | "thumbs-down" | "thumbs-up"'star'

Events

EventDescriptionType
ratingEvent emitted when the rating is changed.CustomEvent<number>

Dependencies

Used by

Depends on

Graph

eds-rating
eds-button
eds-icon-wrapper
eds-feedback

Built with StencilJS

Last updated on