Skip to main content
MybringDesign System

Text inputs

Disabled inputs can usually be removed.

<form class="mb-form flex flex-wrap gcs grm">
  <label for="input-text">Text input label
    <input id="input-text" type="text" />
  </label>

  <label for="input-disabled">Disabled
    <input id="input-disabled" type="text" disabled />
  </label>
</form>

Textarea

<form class="mb-form maxw32r">
  <label for="input-textarea">Text areas also need labels</label>
  <textarea id="input-textarea"></textarea>
</form>

Input types

Properly defined input type and mode attributes give users more relevant virtual keyboards for the different inputs. This is especially useful for mobile devices and tablets, but it also improves accessibility for everyone.

Read more about all the different input types.

<form class="mb-form flex flex-wrap grm gcs">
  <label>
    Text input
    <input type="text" />
  </label>
  <label>
    Email input
    <input type="email" />
  </label>
  <label>
    Phone input
    <input type="tel" />
  </label>
  <label>
    Numeric input
    <input type="text" inputmode="numeric" />
  </label>
</form>