Inputs
Textarea
A multi-line text input. Supports auto-resize to fit content and integrates with Signal Forms.
LlmTextareaDemo
<LlmTextarea placeholder="Tell us about yourself" rows={4} />
<LlmTextarea autoResize={true} placeholder="Auto-resizes as you type..." />
<LlmTextarea disabled={true} placeholder="Disabled" />API
| Prop | Type | Default | Description |
|---|---|---|---|
value | string | '' | Controlled value |
rows | number | 3 | Initial number of visible rows |
placeholder | string | '' | Placeholder text |
disabled | boolean | false | Disables the textarea |
readonly | boolean | false | Makes the textarea read-only |
invalid | boolean | false | Applies invalid/error styling |
required | boolean | false | Marks field as required |
name | string | '' | HTML name attribute for form submission |
autoResize | boolean | false | Grows height automatically as content grows |
Import
import { LlmTextarea } from '@atelier-ui/react';