Animated Textarea

Buttons

A floating-label textarea with animated border, focus ring, character counter, auto-resize support, and error state.

Loading preview...
Customize
Label
Placeholder
Max Length
200
Auto Resize
Disabled
Rows
4
Error

Props

PropTypeDefaultDescription
labelstringundefinedFloating label text displayed above the textarea.
placeholderstringundefinedPlaceholder text shown when the label is floating.
valuestring''Controlled textarea value.
onChange(e: React.ChangeEvent<HTMLTextAreaElement>) => voidundefinedChange handler for the textarea.
errorstringundefinedError message displayed below the textarea.
disabledbooleanfalseDisables the textarea.
maxLengthnumberundefinedMaximum character count. Shows a counter when set.
autoResizebooleanfalseAuto-resize the textarea to fit content.
classNamestring''Additional CSS classes.
rowsnumber4Number of visible rows (ignored when autoResize is true).