Hooks & Utilities
v1.0.0Added in 1.0.0
How much of the screen the phone's on-screen keyboard covers, as a motion value, so bars pinned to the bottom can ride above it.
Open the demo on a phone and tap the message field: as the keyboard slides up, the composer rides on top of it instead of hiding behind it, and the readout shows the covered height with the open flag lit. Close the keyboard and it settles back to the bottom. On a desktop there is no on-screen keyboard, so the inset stays 0px.
npx wingo-ui@latest add use-keyboard-insetPro item: the CLI needs a Pro account. See plans