Foundation UI
Textarea
Multi-line text for messages, descriptions and notes.
Examples
Default
With character counter
0 / 300
Add data-counter="#id" and maxlength. assets/js/site.min.js keeps the counter updated.
Validation and disabled
Please write a short message.
Resize options
Classes
| Class | Purpose |
|---|---|
textarea.form-control | Multi-line field. Minimum height 120 px, resizes vertically. |
.resize-none | Turns the resize handle off. |
data-counter="#id" | Live character counter, used with maxlength. |