Mobile › Inputs
TextArea
Several lines of text, for feedback, notes and messages, with an optional character count.
Installation
npx expo install plankui-mobile react-native-safe-area-context expo-hapticsUsage
import { TextArea } from "plankui-mobile";
<TextArea label="Feedback" value={text} onChangeText={setText} maxLength={200} counter />API reference
| Prop | Type | Default | Description |
|---|---|---|---|
| label | string | Always visible above the field. | |
| rows | number | 4 | Visible lines before it scrolls; it grows to twice that. |
| counter | boolean | false | Shows a count under the field. Needs maxLength; turns red near the limit. |
| hint | string | – | Help text under the field. |
| error | string | – | Shown instead of the hint and read out by screen readers. |
| ...TextInputProps | TextInputProps | – | Any React Native TextInput prop. |