Skip to content
nexubDesign System
v2.4.0

Components · Mobile only · Inputs

Numeric Keypad

AlphaiOS & Android

An on-screen keypad for amounts and PINs, with the locale’s decimal key.

Usage

@nexub/react-native
import { NumericKeypad } from '@nexub/react-native';

<NumericKeypad decimal onKey={press} />

Interactive preview of @nexub/react-native rendered for the web. Native chrome (switches, pickers, Liquid Glass) looks like the platform on a device.

On device

Numeric Keypad on iPhone (iOS simulator)

iPhone (iOS simulator)

Numeric Keypad on Pixel (Android emulator)

Pixel (Android emulator)

Screenshots from the latest CI run of the showcase app; the live frame renders the same code for the web.

NumericKeypad props

NumericKeypad props (React Native)
PropTypeDefaultDescription
onKeyrequired(key: string) => void—Called with '0'–'9', the decimal key or 'delete'.
decimalboolean—Show the decimal key (money).
localestring——
styleStyleProp<ViewStyle>——