# Wheel List — React Native component for Expo

> An iOS alarm-style picker whose rows curve away on a 3D cylinder.

A 3D wheel picker — rows sit on a cylinder and curve away above and below the selection band, like the iOS alarm wheel. Snaps to a row, takes plain strings or custom rows, and works controlled or uncontrolled.

- Docs: https://expokit.in/docs/components/wheel-list
- Tier: Pro (ExpoKit Pro plan)
- Also called: wheel picker, 3D wheel list, iOS picker wheel
- Category: 3D
- Platforms: iOS, Android, web
- Expo Go: yes, no development build needed
- npm dependencies: react-native-svg
- Uses ExpoKit items: kit
- Variants: Alarm, Countries, Tip

## Installation

This component is part of ExpoKit Pro. With a Pro plan, log the CLI in once and add it like any other item:

```bash
npx @expokit/cli@latest login
```

Plans: https://expokit.in/pricing

## Props

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `data` | `T[]` | — | Rows. |
| `getLabel` | `(item: T) => string` | `String(item)` | Text for default rows. |
| `renderItem` | `({ item, index, active }) => ReactNode` | — | Custom row; `active` is the row in the band. |
| `value` | `number` | — | Controlled selected index. |
| `defaultValue` | `number` | `0` | Uncontrolled initial index. |
| `onValueChange` | `(index: number, item: T) => void` | — | Fires as the selection changes. |
| `itemHeight` | `number` | `44` | Row height. |
| `visible` | `number` | `5` | Rows visible at once (odd numbers centre the band). |
| `curve` | `number` | `22` | Degrees each row curves away from the band. |
| `bandColor` | `string` | `faint foreground` | Selection band colour. |
| `textColor` | `string` | `theme foreground` | Text colour of default rows — white on a photo or dark panel. |
| `fadeColor` | `string` | — | Colour of the surface behind the wheel; rows fade into it top and bottom. |
| `align` | `"left" \| "center" \| "right"` | `"center"` | Text alignment for default rows. |
| `accessibilityLabel` | `string` | — | What the wheel picks, for screen readers. |
| `style` | `StyleProp<ViewStyle>` | — | Style for the root (width). |
| `className` | `string` | — | Tailwind classes on the root when using NativeWind or Uniwind. Prefer style for StyleSheet overrides. |

## Behaviour & accessibility

- **Touch**: Flick to spin and it snaps to a row; tap a row to scroll it into the band.
- **Motion**: Each row rotates, scales and fades by its distance from the band, interpolated from the scroll position on the native driver.
- **Screen readers**: One adjustable element with increment / decrement actions; its value is the selected label, or "3 / 12" for custom rows.
- **Web**: Browsers lack snap momentum, so it settles on the nearest row shortly after scrolling stops.

## FAQ

### How do I make a wheel picker in React Native?

Use ExpoKit's Wheel List, a Pro component: with ExpoKit Pro, the ExpoKit CLI copies a ready-made wheel picker into your Expo or React Native app as plain TypeScript you can edit. It works on iOS, Android and web, and in Expo Go.

### Does Wheel List work in Expo Go?

Yes. Wheel List runs in Expo Go on iOS and Android with no development build — its packages (react-native-svg) are all included in Expo Go.

### How do I add Wheel List to my Expo app?

With ExpoKit Pro, add it with the ExpoKit CLI: it copies the component's source into your app and installs react-native-svg, so the code is yours to change. The install command is on this page for Pro members.

### Is Wheel List free?

Wheel List is part of ExpoKit Pro. With a Pro plan, log the CLI in once and it installs the full source into your app.

## More

- Live preview, variants and code: https://expokit.in/docs/components/wheel-list
- Every ExpoKit component, screen, template and chart: https://expokit.in/llms.txt
- Install commands and props for every free component: https://expokit.in/llms-full.txt
- Pricing: https://expokit.in/pricing
