You are viewing the deprecated 0.5.0 version of the website. Click here to view the latest version

Documentation

Everything you need to create a website with Bulma

Textarea

The multiline textarea and its variations

Colors Yes
Sizes Yes
Variables No

The following modifiers are supported:

<textarea class="textarea" placeholder="e.g. Hello world"></textarea>

New! 0.4.4

You can set the height of the textarea using the `rows` HTML attribute.

<textarea class="textarea" placeholder="10 lines of textarea" rows="10"></textarea>

Colors #

<div class="field">
  <div class="control">
    <textarea class="textarea is-primary" type="text" placeholder="Primary textarea"></textarea>
  </div>
</div>
<div class="field">
  <div class="control">
    <textarea class="textarea is-info" type="text" placeholder="Info textarea"></textarea>
  </div>
</div>
<div class="field">
  <div class="control">
    <textarea class="textarea is-success" type="text" placeholder="Success textarea"></textarea>
  </div>
</div>
<div class="field">
  <div class="control">
    <textarea class="textarea is-warning" type="text" placeholder="Warning textarea"></textarea>
  </div>
</div>
<div class="field">
  <div class="control">
    <textarea class="textarea is-danger" type="text" placeholder="Danger textarea"></textarea>
  </div>
</div>

Sizes #

<div class="field">
  <div class="control">
    <textarea class="textarea is-small" type="text" placeholder="Small textarea"></textarea>
  </div>
</div>
<div class="field">
  <div class="control">
    <textarea class="textarea" type="text" placeholder="Normal textarea"></textarea>
  </div>
</div>
<div class="field">
  <div class="control">
    <textarea class="textarea is-medium" type="text" placeholder="Medium textarea"></textarea>
  </div>
</div>
<div class="field">
  <div class="control">
    <textarea class="textarea is-large" type="text" placeholder="Large textarea"></textarea>
  </div>
</div>

States

Normal

<div class="control">
  <textarea class="textarea" type="text" placeholder="Normal textarea"></textarea>
</div>

Hover

<div class="control">
  <textarea class="textarea is-hovered" type="text" placeholder="Hovered textarea"></textarea>
</div>

Focus

<div class="control">
  <textarea class="textarea is-focused" type="text" placeholder="Focused textarea"></textarea>
</div>

Loading

<div class="control is-loading">
  <textarea class="textarea" type="text" placeholder="Loading textarea"></textarea>
</div>

New! 0.4.3

You can resize the loading spinner by appending is-small, is-medium or is-large to the control container.

<div class="field">
  <div class="control is-small is-loading">
    <textarea class="textarea is-small" type="text" placeholder="Small loading textarea"></textarea>
  </div>
</div>
<div class="field">
  <div class="control is-loading">
    <textarea class="textarea" type="text" placeholder="Normal loading textarea"></textarea>
  </div>
</div>
<div class="field">
  <div class="control is-medium is-loading">
    <textarea class="textarea is-medium" type="text" placeholder="Medium loading textarea"></textarea>
  </div>
</div>
<div class="field">
  <div class="control is-large is-loading">
    <textarea class="textarea is-large" type="text" placeholder="Large loading textarea"></textarea>
  </div>
</div>

Disabled

<div class="control">
  <textarea class="textarea" type="text" placeholder="Disabled textarea" disabled></textarea>
</div>

This page is open source. Noticed a typo? Or something unclear? Improve this page on GitHub

Bulma Partners

Check out their products!

Bulma Newsletter

Get notified when v1 is ready!