Skip to content

Inputs

Form inputs for data entry. Always include a label.

Found in your dashboard settings
This doesn't look like a valid email
Enter a full URL starting with https://

Usage

html
<div class="input-group">
  <label class="ds-input-label">Label</label>
  <input class="ds-input" placeholder="Placeholder text">
  <div class="ds-input-hint">Helpful hint text</div>
</div>

Rules

  1. Border: --border, 1px
  2. Label always above the input, never placeholder-only
  3. Hint text below in --muted at 12px
  4. Focus ring uses 3px offset, never blur

Released under the MIT License.