Form fields·loomora/TextareaField

TextareaField

A textarea counterpart to TextField with the same label, helper, error, and wrapper composition patterns.

Interactive live playground

Tweak props, change states, and see the live component respond in real time.

Live

How to call

Import directly from the Loomora package root. For projects without Tailwind CSS, ensure loomora/dist/index.css is imported once in your root layout.

import { TextareaField } from 'loomora'

<TextareaField label="Description" properties={{
  value, onChange: (event) => setValue(event.target.value), rows: 4,
}} />

API reference

Important public props and how they affect rendering.

5 props
PropTypeDefaultDescription
labelReactNode | LabelProps''Field label.
properties.value / onChangetextarea value and change event'' / —Controlled text state.
properties.rowsnumberconfig defaultVisible line count.
inputHelperReactNode—Supporting field description.
errors{ condition: boolean; helper: ReactNode }[]—Error state is true when any condition is true; shows the helper of the first true entry.