The Textarea component provides a multi-line text input field with automatic height adjustment and consistent styling.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/aeonzz/eo-n/llms.txt
Use this file to discover all available pages before exploring further.
Installation
- CLI
- Manual
Usage
Examples
Default
With Label
Disabled
With Validation Error
With Custom Rows
With Character Count
API Reference
Textarea
Extends all props from the native HTML textarea element.Placeholder text displayed when the textarea is empty.
Whether the textarea is disabled.
Indicates the textarea has a validation error. Applies error styling.
Initial number of visible text rows. The textarea will auto-grow with content.
Additional CSS classes to apply to the textarea.
Controlled value of the textarea.
Default uncontrolled value of the textarea.
Callback fired when the textarea value changes.
Maximum number of characters allowed.
TypeScript
Styling Features
- Auto-growing height with
field-sizing-content(adjusts to content) - Minimum height of 4rem (min-h-16)
- Focus ring with customizable ring color
- Error state styling via
aria-invalid - Disabled state with reduced opacity
- Selection styling with primary color
- Dark mode support
- Smooth transitions for focus states
