Textarea

Textarea

Textarea inputs are used for freeform data entry

Base

Preview

No content has been added for this component.

No content has been added for this component.

<div class="slds-form-element">
  <label class="slds-form-element__label" for="textarea-id-01">Textarea Label</label>
  <div class="slds-form-element__control">
    <textarea id="textarea-id-01" class="slds-textarea" placeholder="Placeholder Text"></textarea>
  </div>
</div>

About Textarea

You can style the HTML <textarea> element to align with the Salesforce brand by using the class .slds-textarea on the <textarea> element.


Overview of CSS Classes

Selector.slds-textarea
Summary

Initialize textarea

Restricttextarea
VariantTrue