Landing Page Rating Component
- Updated on
Use this component to show a rating with stars.
Usage
import { LandingRating } from '@/components/landing/rating/LandingRating';
<LandingRating />
Examples
With Custom Rating
With Partial Rating
With Custom Size
With Custom Max Rating
API Reference
Prop Name | Prop Type | Required | Default |
---|---|---|---|
rating | number | No | 5 |
maxRating | number | No | 5 |
size | 'small' ǀ 'medium' ǀ 'large' | No | 'medium' |
More Examples
For more even more examples, see our Landing Page Component Examples page or see complete landing page examples by Exploring Our Landing Page Templates.