Keyboard Avoiding

Container that lifts your content above the on-screen keyboard on iOS, so fields and message bars never end up hidden behind it. On Android it leaves this to the system’s own resizing.

Preview

Installation

npx @lumioui/cli add keyboard-avoiding

Usage

import { KeyboardAvoiding } from "@/components/ui/keyboard-avoiding/keyboard-avoiding";
<KeyboardAvoiding />

API reference

Prop Type Default
offset number

Extra offset (e.g. header height). Default 0.

0
className string —