Back

Textarea

Variants

States

The content is too short.

Auto-resize

The textarea grows as you type — no scrollbar.

Character Counter

0 /200

0 /500

Usage

A multi-line text input with clay styling. Set AutoResize: true to grow with content. Set ShowCount: true with MaxLength for a live character counter.

@forms.Textarea(forms.TextareaProps{
    Label:      "Bio",
    Name:       "bio",
    AutoResize: true,  // grows with content
    ShowCount:  true,  // shows current / max
    MaxLength:  500,   // enforces max + shown in counter
})