Textarea
Multi-line text input styled to match Input.
npx @slipstream-ui/cli@latest add textareaUsage
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| value | string | — | Controlled value; omit for uncontrolled usage. |
| placeholder | string | — | Placeholder text shown when empty. |
| disabled | boolean | false | Disables the textarea. |
Accessibility
- Native textarea semantics: multiline text entry and form validation work natively.
- Provide an accessible name via Label or aria-label.
Browser support
| Browser | Tested versions |
|---|---|
| Chrome | 111+ (Mar 2023) |
| Edge | 111+ (Mar 2023) |
| Firefox | 121+ (Dec 2023) |
| Safari | 17.2+ — macOS & iOS (Dec 2023) |
Slipstream components rely only on CSS custom properties, Flexbox/Grid, and ARIA — the everyday baseline of the last two years of evergreen releases. Anything newer is progressive enhancement: unsupported browsers keep full functionality with static behavior instead of animations.