> ## Documentation Index
> Fetch the complete documentation index at: https://docs.equa.cc/llms.txt
> Use this file to discover all available pages before exploring further.

# EquaRating

> Design system reference for EquaRating, including Storybook, Figma, screenshots, and usage guidance

# EquaRating

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

## Purpose

Rating display and input controls.

## Storybook

| Story          | Reference                                                                   |
| -------------- | --------------------------------------------------------------------------- |
| Default        | [Storybook](http://localhost:6006/?path=/story/equa-rating--default)        |
| Interactive    | [Storybook](http://localhost:6006/?path=/story/equa-rating--interactive)    |
| Sizes          | [Storybook](http://localhost:6006/?path=/story/equa-rating--sizes)          |
| Half Stars     | [Storybook](http://localhost:6006/?path=/story/equa-rating--half-stars)     |
| Heart Icon     | [Storybook](http://localhost:6006/?path=/story/equa-rating--heart-icon)     |
| Read Only      | [Storybook](http://localhost:6006/?path=/story/equa-rating--read-only)      |
| Disabled       | [Storybook](http://localhost:6006/?path=/story/equa-rating--disabled)       |
| Ten Stars      | [Storybook](http://localhost:6006/?path=/story/equa-rating--ten-stars)      |
| Custom Colors  | [Storybook](http://localhost:6006/?path=/story/equa-rating--custom-colors)  |
| Product Review | [Storybook](http://localhost:6006/?path=/story/equa-rating--product-review) |
| All Variants   | [Storybook](http://localhost:6006/?path=/story/equa-rating--all-variants)   |

## API And Props

| Prop or Control | Source            | Notes                                |
| --------------- | ----------------- | ------------------------------------ |
| `max`           | Storybook control | See source story for accepted values |
| `size`          | Storybook control | See source story for accepted values |
| `icon`          | Storybook control | See source story for accepted values |
| `readOnly`      | Storybook control | See source story for accepted values |
| `disabled`      | Storybook control | See source story for accepted values |
| `allowHalf`     | Storybook control | See source story for accepted values |
| `showValue`     | Storybook control | See 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

| State           | Asset                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| --------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Equa dark theme | <img src="https://mintcdn.com/equainc/WF4vvyO1PBrsp7n_/images/design-system/components/equa-rating/equa-rating--all-variants-equa.png?fit=max&auto=format&n=WF4vvyO1PBrsp7n_&q=85&s=7c3b14bfa85dfe4c2fdafd1ca90d68e9" alt="EquaRating dark theme" width="1366" height="900" data-path="images/design-system/components/equa-rating/equa-rating--all-variants-equa.png" />          |
| Light theme     | <img src="https://mintcdn.com/equainc/WF4vvyO1PBrsp7n_/images/design-system/components/equa-rating/equa-rating--all-variants-light.png?fit=max&auto=format&n=WF4vvyO1PBrsp7n_&q=85&s=85ff82d9ddf87aae175737a0d0a1c76a" alt="EquaRating light theme" width="1366" height="900" data-path="images/design-system/components/equa-rating/equa-rating--all-variants-light.png" /> |

## 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](/architecture/design-system/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.
