Skip to main content

EquaRating

Last Verified: 2026-05-20 | Storybook source: equa-patternlib-nextjs/stories/EquaRating.stories.tsx, Line: 6

Purpose

Rating display and input controls.

Storybook

StoryReference
DefaultStorybook
InteractiveStorybook
SizesStorybook
Half StarsStorybook
Heart IconStorybook
Read OnlyStorybook
DisabledStorybook
Ten StarsStorybook
Custom ColorsStorybook
Product ReviewStorybook
All VariantsStorybook

API And Props

Prop or ControlSourceNotes
maxStorybook controlSee source story for accepted values
sizeStorybook controlSee source story for accepted values
iconStorybook controlSee source story for accepted values
readOnlyStorybook controlSee source story for accepted values
disabledStorybook controlSee source story for accepted values
allowHalfStorybook controlSee source story for accepted values
showValueStorybook controlSee source story for accepted values
Sources:
  • equa-patternlib-nextjs/src/components/rating/rating.tsx, Line: 5
  • equa-patternlib-nextjs/src/components/rating/index.ts
  • equa-patternlib-nextjs/stories/EquaRating.stories.tsx, Line: 6

Figma

UNVERIFIED — requires Figma node assignment

Screenshots

StateAsset
Equa dark themeEquaRating dark theme
Light themeEquaRating light theme

Usage Notes

  • Prefer this component over local one-off UI for matching product states.
  • Keep new variants represented in Storybook before adding docs references here.
  • Use token-backed colors, spacing, radius, and shadows from Foundations.

Accessibility Notes

  • Preserve keyboard and focus behavior from the source component.
  • Any icon-only controls must provide an accessible label in consuming product code.
  • Validate color contrast in both Equa dark and light theme screenshots before release.