Hygge-UI

Rating

Used to show reviews and ratings in a visual format.

Source

Examples

Basic

Sizes

Use the size prop to change the size of the rating component.

ReadOnly

Use the readOnly prop to make the rating component read-only.

Label

Use the label prop to add a label to the rating component.

Label Position

Here's an example of how to change the label position to the right.

Half Start

Use the allowHalf prop to allow half-star ratings.

Color

Use the colorPalette prop to change the color of the rating.

gray

orange

teal

green

red

Testimonial

Use the rating component to show testimonials.

Amer is a great software engineer. He is very professional and knowledgeable.

Matthew Jones

CTO, Company