Rate
Star-rating control - single rate item + stars group.
Live preview
Interactive — half-step
Hover left/right half of an icon. ArrowLeft/Right ±0.5 · Home / End jumps to bounds.
3.5/5
Current value: 3.5/5 · half-step enabled
5 sizes — xs / sm / md / lg / xl
Star size scales 12-24px. Auto-fit grid: cellMinWidth=180px.
size="xs"
size="sm"
size="md"
size="lg"
size="xl"
Heart shape — brand tint
2/5
shape="heart" · interactive · current value: 2/5
States
3 states — read-only · disabled · whole-step-only. Auto-fit grid: cellMinWidth=220px.
readOnly
disabled
allowHalf={false}
Import & files
Import
import { Rate } from "@dol/ui/rate";- Source file
packages/@dol/ui/src/rate/Rate.tsx
Figma source
Figma source 2 sets
- Page
- Rate
- Sets
- 2
- Primary set
-
Rate/Rate item· 48 variants Open in Figma →
Showing:
Rate/Rate item 1 other set
-
Rate/Stars group22 variants Figma →
AI context
AI context
Markdown summary safe to paste into Claude / ChatGPT / Cursor — includes name, status, import, props, axes, examples, figma source.
# RateSlug: `rate`Domain: general · Category: inputDesign: stable · Code: coded
## DescriptionStar-rating control - single rate item + stars group.
## Import```tsimport { Rate } from "@dol/ui/rate";```Source: `packages/@dol/ui/src/rate/Rate.tsx`
## Figma sourcePage: RateSets: 2Primary: Rate/Rate itemOpen: https://www.figma.com/design/DqRd7UQkNGcdvYL5fwZxlf/?node-id=2991-16663Related
Status legend
Status legend
- Stable
- Design + code shipped, full DS parity.
- Partial
- Design ready, some variants/states missing in code.
- Coded
- Implemented in code; design canon may not yet exist.
- Design only / Code only
- One side present; awaiting the other.
Phase 1.X-5.2 detail view — read-only metadata. Code preview + recipe + live demo deferred (need @dol/ui registry integration).