Installation
Usage
Examples
Size
Radius
Reduce Motion
Minimum Rows
Maximum Rows
Resize
Validation
There’s an additional TextareaField
component built specifically for easy and clean isomorphic form validation. It leverages Conform and Zod, providing a single source of truth for both frontend and backend while preserving native browser validation APIs. It also seamlessly integrates with the latest React 19 features, such as useServerAction
:
API Reference
Prop | Type | Default |
---|---|---|
size | enum | "default" |
radius | enum | ― |
invalid | boolean | ― |
reduceMotion | boolean | false |
minRows | number | 2 |
maxRows | number | ― |
resize | enum | ― |
Textarea
component is a wrapper around native HTML <textarea>
, it supports all HTMLTextareaElement
properties, methods and events.
Useful links: