Skip to content
  • Android
  • iOS
  • Web

Keyboard

Coordinate software keyboard behavior for a component surface.

Engine API NKeyboardnayan-ui/components

Live examples

Use NKeyboard around an engine form on devices with a software keyboard.

Example.tsx

Attributes

NKeyboard attributes
NameTypeDefaultDetails
childrenReactNodeRequired
doneLabelstringOptional
enabledbooleanOptional
keyboardVerticalOffsetnumberOptionalOverride the automatically measured screen/header offset, in points.
styleReact.CSSPropertiesOptional
toolbarbooleanOptionalPrevious, Next and Done controls for engine inputs. Default: true on native.

Static API

NKeyboard static API
NameTypeDetails
dismiss() => void
React Native API

React Native attributes

NKeyboard react native attributes
NameTypeDefaultDetails
childrenReactNodeRequired
doneLabelstringOptional
enabledbooleanOptional
keyboardVerticalOffsetnumberOptionalOverride the automatically measured screen/header offset, in points.
styleViewStyleOptional
toolbarbooleanOptionalPrevious, Next and Done controls for engine inputs. Default: true on native.

React Native static API

NKeyboard static API
NameTypeDetails
dismiss() => void

Tags