Forms

Forms are the framework's showcase: semantic label, input, select and textarea elements, styled and validated without a single class or script.

Forms

Semantic forms styled without classes: labels lay out their controls, inputs get borders, focus elevation and native type icons, checkboxes, radios, switches and the range slider are styled inputs, validation is attribute-driven, and the hidden search unfolds from a details element. Each piece has its own page:

A form, no classes

Everything on this page is unclassed semantic markup: labels, inputs, select, textarea and a button. The subsections show each piece in detail.

HTML
<form>
  <label>
    Email
    <input type="email" placeholder="you@example.com" required>
  </label>
  <label>
    Topic
    <select>
      <option>Support</option>
      <option>Feedback</option>
    </select>
  </label>
  <label>
    Message
    <textarea placeholder="How can we help?"></textarea>
  </label>
  <button>Send</button>
</form>