Textarea preview
Multiline input with auto sizing and a character count.
free · Forms · primitive
When to use
- Use it when a product interface needs multiline input with auto sizing and a character count.
- Choose it when the host application can supply the required state and keep business logic outside the presentation component.
Alternatives
- Choose form-field instead when a labeled email field with validation and help text is the actual interface need, rather than textarea.
Configure components.json and the @tidal-pro namespace before installing Pro components.
Installation
npx shadcn@latest add https://tidalui.com/r/textarea.jsonImport components/ui/tidal.css, components/ui/textarea.css. Wrap installed components in tidal-scope.
Preview

Minimal example
import"./components/ui/tidal.css";
import"./components/ui/textarea.css";
import{TidalTextarea}from"./components/ui/textarea";
export default()=><div className="tidal-scope"><TidalTextarea label={"Demo"}/></div>;API and props
TidalTextarea.label (required)stringRequired label value accepted by this exported component.
TidalTextarea.autoGrowboolean | undefinedNative rows and vertical resizing remain available when false.
TidalTextarea.descriptionstring | undefinedOptional description value accepted by this exported component.
TidalTextarea.errorstring | undefinedOptional error value accepted by this exported component.
TidalTextarea.formatCount((count: number, limit: number | undefined) => string) | undefinedOptional format count value accepted by this exported component.
TidalTextarea.maxRowsnumber | undefinedOptional max rows value accepted by this exported component.
TidalTextarea.minRowsnumber | undefinedOptional min rows value accepted by this exported component.
TidalTextarea.rootClassNamestring | undefinedOptional root class name value accepted by this exported component.
TidalTextarea.showCountboolean | undefinedDefaults to true when maxLength is present. Counts native UTF-16 units.
Complete usage
Full example, stylesheet imports, API and accessibility documentation
Gotchas
- Keep field state, validation results, submission, and persistence in the host form workflow.