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.

Standalone

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

Example

The multi-line field at the bottom of a feedback 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. Grouped = tinted fill for grouped layouts.