<label for="textarea">Text area</label>
<textarea id="textarea" name="textarea" cols="30" rows="10"></textarea>
{{ render '@label' label }}
<textarea 
  id="{{ id }}" 
  name="{{ name }}" 
  cols="{{#if cols}}{{ cols }}{{else}}30{{/if}}" 
  rows="{{#if rows}}{{ rows }}{{else}}10{{/if}}"></textarea>
{
  "id": "textarea",
  "name": "textarea",
  "label": {
    "for": "textarea",
    "text": "Text area"
  }
}
  • Content:
    textarea {
      @extend %input;
    }
    
    textarea:focus {
      @extend %inputfocus;
    }
  • URL: /components/raw/textarea/_sass.scss
  • Filesystem Path: components/01-elements/03-form-controls/textarea/_sass.scss
  • Size: 74 Bytes

There are no notes for this item.