Skip to main content

AggregateRating

The AggregateRating component displays the average rating of a product based on other shoppers' feedback and reviews. AggregateRating supports both Unicode symbols and glyph icons from popular toolkits, such as Font Awesome.

Importโ€‹

import { AggregateRating } from '@faststore/ui'

Usageโ€‹

Loading...

Customizationโ€‹

Loading...

Rating precisionโ€‹

AggregateRating uses a precision of 0.5 and rounds down any float number given by the value prop.

Loading...

Propsโ€‹

Customizationโ€‹

data-store-aggregate-rating

data-aggregate-rating-item=(full|partial|empty)

Didn't find your answers? Ask the Community. For documentation suggestions, submit your feedback.

JOIN THE COMMUNITY