Native only
Numeric keypad
3×4 in-app keypad, keys on bg-muted
function NumericKeypadDemo() { const [v, setV] = React.useState(''); return ( <View className="w-full gap-4"> <AmountInput value={v} onChangeText={setV} symbol="min" symbolPosition="trailing" editable={false} placeholder="0" helper="How long did it take?" className="w-full" /> <NumericKeypad value={v} onChange={setV} /> </View> );}Usage
Replaces the system keyboard on full-screen amount entry. Long-press ⌫ clears.
API
<NumericKeypad value onChange maxLength? allowDecimal? />Get it
Already in every copy of the native kit:
import { NumericKeypad } from '@/components/kit/numeric-keypad';Details
- Exports
NumericKeypad- Packages
- lucide-react-native@^1.21.0
- Installs with
- @halftone-native/icon, @halftone-native/lib-haptics, @halftone-native/lib-utils, @halftone-native/text
- Also searched as
- keypad, pin pad, digits
- Registry JSON
- /r/native/numeric-keypad.json
Agents: the whole registry is at /llms.txt.