The keyboard type to display. Options:
"default"— standard keyboard"asciiCapable"— ASCII-only keyboard"numbersAndPunctuation"— numbers and punctuation"URL"— optimized for URL entry"numberPad"— numeric keypad (0-9)"phonePad"— phone number pad"namePhonePad"— name and phone number"emailAddress"— optimized for email entry"decimalPad"— numbers with decimal point"twitter"— optimized for Twitter/social (includes @ and #)"webSearch"— optimized for web search"asciiCapableNumberPad"— ASCII-capable numeric keypad
Support
Usage
Email input
Numeric input
URL input
Notes
- This modifier only affects
TextFieldandTextEditorcomponents. It has no effect on non-input components. - The keyboard type is a hint to the system. The actual keyboard displayed may vary by platform and locale.
See Also
- submitLabel — sets the return key label
- autocorrectionDisabled — disables autocorrection
- TextField — text input component