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-pickerImport the components you need:
import {
WheelPicker,
WheelPickerGroup,
WheelPickerItem,
} from '@/components/ui/wheel-picker';Examples
Default Wheel Picker
Selected: June
Sizes
Small
Medium
Large
Infinite
Selected time: 08:00
Grouped
Selected date: November 10, 2024
API Reference
WheelPicker
Prop
Type
WheelPickerItem
Prop
Type
WheelPickerGroup
Prop
Type