Textarea

Multi-line text input with optional label, helper text, and error state.

Live Demo

Up to 500 characters.
Message is required.

Props

PropTypeDefaultDescription
labelstringcomponentPages.textarea_prop_label
helperTextstringcomponentPages.textarea_prop_helperText
errorstringcomponentPages.textarea_prop_error
rowsnumber4componentPages.textarea_prop_rows
resize'none' | 'vertical' | 'horizontal' | 'both''vertical'componentPages.textarea_prop_resize
disabledbooleanfalsecomponentPages.textarea_prop_disabled
placeholderstringcomponentPages.textarea_prop_placeholder
idstringcomponentPages.textarea_prop_id

Usage

import { Textarea } from '@ghiberti85/ui'

// Basic
<Textarea id="bio" label="Bio" placeholder="Tell us about yourself" />

// With helper text
<Textarea id="notes" label="Notes" helperText="Max 500 characters" />

// With error
<Textarea id="msg" label="Message" error="Message is required" />

// Disabled
<Textarea id="msg" label="Message" disabled />

// Custom rows and resize
<Textarea id="desc" label="Description" rows={6} resize="none" />

View in Storybook

Open in Storybook
Ghiberti UI — Design System