System Keyboard

The phone's keyboard drawn on the web: iOS 26's or Gboard's, for the field that has focus, with its height as the keyboard inset.

import { SystemKeyboard } from "@plexui/react-native"

On a phone the system brings up its own keyboard; a web preview of the app on a computer has none, so a form there shows the screen as it never stands on the phone. SystemKeyboard draws the keyboard the phone would show, at the bottom of the window and as wide as it, while a field has focus. Its keys do not type: the reader types with their own keyboard.

Examples

Overview

Follows focus

Platforms

iOS 26Android
NativeThe system keyboardGboard
MotionA critically damped spring, 383ms both waysGboard's curve, (0.2, 0, 0, 1) over 285ms both ways
Drawn335pt with its suggestion bar (308 for a phone pad), keys of 43 every 54, 6.5 from the sides and 6 apart336dp with its row of tools and the 24dp navigation bar (292 for a number pad), keys of 47 every 59, 4.57 from the sides and 5.33 apart
On the deviceDraws nothing: the system's keyboard comes upDraws nothing: the system's keyboard comes up

Every key stands within 1pt of the native keyboard's, measured on the iOS 26.2 simulator (iPhone 17 Pro) and a Pixel 9 emulator with Gboard; the keys widen with the screen and the margins stay. The motion was measured frame by frame on the same simulator and emulator. The glyphs are the kit's own simple outlines in each keyboard's proportions: each one's box within about half a point of the native glyph and its ink within a few percent, Gboard's at its 2dp stroke; iOS letters set capitals smaller than small letters, as the system does, and at night the emoji face is filled. The letters are Inter.

API

PropTypeDefaultDescription
mode"auto" | "hidden""auto"auto: drawn while a field has focus. hidden: never drawn, nor any other on the page (a still of a form as it stands)
languagestringthe page's lang, else "en"The phone's language, a BCP 47 tag: the letters its keyboard lays out (fr AZERTY, fr-CA, fr-CH, de QWERTZ, es with Ñ, pt and en QWERTY; any other draws English's) and on iOS its code on the space bar
field{ kind?: KeyboardKind; returnKey?: KeyboardReturnKey; caps?: boolean | "lock"; autocorrect?: boolean }—Draws the keyboard for this field with no field focused, still, at the foot of its own box: it takes neither the page's keyboard nor its inset. kind: text, email, url, search, password, number, decimal, phone. returnKey: default, go, search, send, next, done, join, route, previous. caps: capitals for the next letter (a filled shift), or "lock" for Caps Lock (the shift filled over a bar)

Nothing is drawn on a touch screen, whose browser brings up its own keyboard, nor on iOS and Android themselves. One keyboard draws on a page however many are mounted, on the page's body over the app and its sheets; a hidden one keeps the others from drawing. keyboardLayout() gives the keys' frames for a platform, a field and a width, and KeyboardKeys draws them where a picture of the keyboard is wanted.