Booting Environment...

Wheel Picker

A high-performance, iOS-style 3D physics-based wheel picker. Perfect for touch-friendly date, time, and custom value selections.

Installation

npx raya-ui@latest add wheel-picker

File Structure

your-project
components
ui
wheel-picker
WheelPicker.vue
WheelPickerWrapper.vue

API Reference

WheelPicker Props

modelValue
string | number

The selected value of the wheel. Bind using v-model.

options
Array<{ value: any, label: string }>

Array of objects detailing the available options in the picker.

infinite
boolean
false

If true, the wheel loops seamlessly back to the beginning when scrolling past the end.

itemHeight
number
36

The exact height of each row in pixels. Required for calculating the physics translation.

classNames
Object

Provides keys to inject custom Tailwind classes into container, highlightWrapper, and highlightItem.

Active State09:41 AM
Settings
Wheel wraps around limits seamlessly.