v0.1 public beta early access on GitHub
Home / Components / keyboard-toolbar

Keyboard ToolbariOS

Input accessory bar riding the keyboard's top edge — previous/next field arrows, a custom middle slot, and a Done button that dismisses

$ npx lumioui add keyboard-toolbar
import { KeyboardToolbar } from "@/components/ui/keyboard-toolbar/keyboard-toolbar";
Props9
onPrevious? () => void Show the previous/next chevrons and wire Previous.
onNext? () => void Wire Next. Shown whenever `onPrevious`/`onNext` is provided.
previousDisabled? boolean Disable the Previous arrow (e.g. first field).
nextDisabled? boolean Disable the Next arrow (e.g. last field).
onDone? () => void Done handler. Default: Keyboard.dismiss().
doneLabel? string Done button label. Default "Done".
offset? number Extra lift above the keyboard in px. Default 0 — flush with it.
children? React.ReactNode Optional custom content between the arrows and Done.
className? string
Keyboard Toolbarwith-field.tsx
keyboard-toolbar/variants/with-field.tsx open

Input accessory bar riding the keyboard's top edge — previous/next field arrows, a custom middle slot, and a Done button that dismisses