Components
Multiline inputs for text.
Version: | 4.0.3 •View source•Changelog•Report issue | |
---|---|---|
Install: | yarn add @thumbtack/thumbprint-scss |
<label class="tp-label" for="example-basic-text-area">Business description</label><textareaclass="tp-textarea"id="example-basic-text-area"placeholder="Tell us about your business"/>
The tp-textarea--bad-news
class only changes the textarea’s color. It should be used alongside an error message that helps users advance through the form.
<textareaclass="tp-textarea tp-textarea--bad-news"placeholder="Tell us about your business"></textarea>