NOCTA UI

Wheel Picker

Accessible iOS-style wheel picker with smooth scroll-snapping, keyboard navigation, and composite grouping — inspired by react-wheel-picker.

Installation

Install the Wheel Picker via the nocta-ui CLI:

npx @nocta-ui/cli add wheel-picker

Import the components you need:

import {
  WheelPicker,
  WheelPickerGroup,
  WheelPickerItem,
} from '@/components/ui/wheel-picker';

Examples

Default Wheel Picker

Selected: June

Sizes

Small

Medium

Large

Infinite

  • 12
  • 01

Selected time: 08:00

Grouped

Selected date: November 17, 2024

API Reference

WheelPicker

Prop

Type

WheelPickerItem

Prop

Type

WheelPickerGroup

Prop

Type