Getting Started
Foundations
Components
Search for a command to run...
Textareas are used when users need to input text that spans multiple lines, such as comments, descriptions, messages, or other long-form content. Unlike single-line inputs, textareas automatically wrap text and can be resized by users. They're essential for forms that collect detailed information or user-generated content.
The component automatically handles focus states, hover effects, and disabled states with appropriate visual feedback. It supports all standard HTML textarea attributes including rows, cols, maxLength, and placeholder.
import { Textarea } from "@strongtie/design-system/textarea"All components accept standard HTML attributes and React props.
Components can be styled using the className prop. The design system uses Tailwind CSS for styling.
Other CSS classes used by this component:
textareaEnsure proper accessibility attributes are added when implementing this component.