Textarea
Multi-line inputs used by users to enter longer text portions.
Validation states provides the user feedback based on their interaction (or lack of interaction) with a textarea. These styles are applied by applying the appropriate class to the wrapping parent container.
Class | Applies | Definition |
---|---|---|
.has-warning |
Parent wrapper for textarea | Used to warn users that the value they've entered has a potential problem, but it doesn't block them from proceeding. |
.has-error |
Parent wrapper for textarea | Used to alert users that the value they've entered is incorrect, not filled in, or has a problem which will block them from proceeding. |
.has-success |
Parent wrapper for textarea | Used to notify users that the value they've entered is fine or has been submitted successfully. |
Name | Size | Class | Example |
---|---|---|---|
Small | 12px | .s-textarea__sm |
|
Default | 13px | N/A | |
Medium | 17px | .s-textarea__md |
|
Large | 21px | .s-textarea__lg |
|
Extra Large | 27px | .s-textarea__xl |