Component

Rating

Star rating input and display component.

tsx
import { Rating, RatingDisplay } from 'wss3-forge'

Usage

Use for user ratings/reviews

RatingDisplay for read-only display

Supports half stars

Customizable max value


4.5
3.0

Examples

Interactive Rating

tsx
1<Rating value={3} onChange={setRating} max={5} />

Rating Display

4.5
3.0
tsx
1<RatingDisplay value={4.5} />
2<RatingDisplay value={3} size="sm" />

Previous

Divider

Next

ScrollIndicator

Last updated: December 2025

Cookies

We use cookies to improve your experience and save your preferences.