TextInput
Atom
Single-line (or multiline) text entry. Control it with value + onChangeText, and style the box with the usual View style props. Common props: placeholder, secureTextEntry (passwords), keyboardType, and multiline.
Playground
Every control sets a real prop of TextInputProps. The JSX below updates as you go.
Web
iOS
Android
JSX · TextInputProps
Variants
3 examples from src/atoms/text-input/text-input.md, each rendered live from its own JSX.
States
Hover, focus and press are pinned so they can be compared side by side; the rest are real props.
Anatomy
1
Native input
2
Placeholder
Dimmed parts appear only in some states or variants.
Props
A React Native primitive, re-exported as is.
Accepts every React Native TextInput prop unchanged. Canvas re-exports it so every component is built from the same primitive.
Accessibility and keyboard
Keyboard
Type
Edits the value
Tab
Next field
Escape
Clears when clearable
Semantics
No role of its own in source; it reads as the content it renders.
From the docs
Single-line (or multiline) text entry. Control it with value + onChangeText, and style the box with the usual View style props. Common props: placeholder, secureTextEntry (passwords), keyboardType, and multiline.
Platform skins
The playground's props on each platform: same tree, native shapes, type and touch sizes.
Usage
Tokens
Read from the playground render. Values follow the scheme and the ion hue.
--fd
--ft
--ln2
--tx3