coverup

Input

Text fields with a label, hint and error state.

Field

We only use this to send receipts.
Enter a valid domain, like example.com.
<div class="stack" style="max-width:340px">
  <div class="field"><label class="label" for="f-name">Project name</label><input class="input" id="f-name" value="coverup"></div>
  <div class="field"><label class="label" for="f-email">Email</label><input class="input" id="f-email" type="email" placeholder="you@example.com"><span class="hint">We only use this to send receipts.</span></div>
  <div class="field"><label class="label" for="f-bad">Domain</label><input class="input is-invalid" id="f-bad" value="not a domain"><span class="hint is-error">Enter a valid domain, like example.com.</span></div>
  <div class="field"><label class="label" for="f-off">Disabled</label><input class="input" id="f-off" value="Read only" disabled></div>
</div>

Textarea and select

<div class="stack" style="max-width:340px">
  <div class="field"><label class="label" for="f-bio">Bio</label><textarea class="input textarea" id="f-bio" placeholder="Tell us about yourself"></textarea></div>
  <div class="field"><label class="label" for="f-role">Role</label>
    <select class="input select" id="f-role"><option>Admin</option><option>Editor</option><option>Viewer</option></select>
  </div>
</div>

Classes

SelectorPurpose
.inputText input (also on textarea and select)
.textareaMulti-line
.selectSelect with a custom arrow
.is-invalidRed border
.field / .label / .hintLayout, label and help text