ttolbel UI

Component

Text area

A multi-line text field with a focus halo matching the rest of the input family, an optional character counter, and a configurable min/max row range.

The primitive

96
text area.tsx
<NativeTextArea
  label="Note"
  value={value}
  onValueChange={setValue}
  placeholder="Add a note for this payment..."
  maxLength={140}
/>

Example

The reason field at the bottom of a payment-dispute form, the one place in that form that needs more than a single line.

text-area-example.tsx
<NativeTextArea
  label="Reason for dispute"
  value={value}
  onValueChange={setValue}
  placeholder="Describe what happened..."
  minRows={4}
/>

Capabilities

PropTypeDescription
valuerequiredstring
onValueChangerequired(value: string) => void
placeholderstring
labelstring
hintstring
maxLengthnumber
minRowsnumberMinimum visible rows
maxRowsnumberMaximum rows before scrolling kicks in
disabledboolean
readOnlyboolean
classNamestring
surfaceNativeInputSurfacePlain = white fill (matches NativeInput). Grouped = iOS tinted fill.