GitHub

PickerInput

PreviousNext

Touch-friendly wheel picker bound to a kit-styled trigger input.

Default

Tap the input to open the wheel picker. Reads useUIKitTranslation() for the "Done" / "Close" labels.

Error state

hasError mirrors Input — surfaces validation on the trigger.

Installation

pnpm add @appboxo/ui-kit

Requires UIKitProvider

PickerInput reads translations from useUIKitTranslation(). Wrap in <NextUIKitProvider> (Next) or <UIKitProvider translation={useTranslation}> (Vite / CRA).

See DatePicker and TimePicker for date-aware specializations built on the same primitive.