# Rating

> Interactive 0..N star rating with half-step support and full keyboard control.
> Source: https://otf-kit.dev/components/rating

## At a glance

- **Platform:** Web (React)
- **Category:** Input
- **Package:** `@otfdashkit/ui` (free, MIT)
- **Tags:** rating, stars, review

## Install

```bash
bun add @otfdashkit/ui
```

## Usage

```tsx
import { Rating } from '@otfdashkit/ui'
```

The `<Rating>` component name is shared by web (`@otfdashkit/ui`) and native (`@otfdashkit/ui-native`) where a matching component exists; props differ per platform, so use this page's props.

## Links

- Live preview + code: https://otf-kit.dev/components/rating
- Storybook: https://ui.otf-kit.dev
- All components: https://otf-kit.dev/components
