unslopkit

Components / Inputs

Plain field with a thick focus

A plain bordered field with an unmissable focus outline, and an error state with a thick left rule.

Street and number
Enter a 5 digit ZIP code
Drawn in your kit, Plain.Change the look

The code

Plain HTML and CSS on your kit's variables. Put it next to tokens/variables.css from your kit's files and it draws in your look.

<div class="ukc-input-uswds-input">
<div class="g">
  <label for="ukc-ui">Mailing address</label>
  <span class="hint">Street and number</span>
  <input id="ukc-ui" type="text">
</div>
<div class="g err">
  <label for="ukc-ui2">ZIP code</label>
  <span class="msg">Enter a 5 digit ZIP code</span>
  <input id="ukc-ui2" type="text" value="9411" aria-invalid="true">
</div>
</div>

More inputs

All 27
  • Floating label

  • Field with an attached button

  • /

    Search with a shortcut

  • $USD
    https://.app
    hours

    Prefix and suffix

  • You have 186 characters left94 / 280

    Text area with a count

  • Enter the code we sent to •••• 4417

    Didn't get it? Send a new code

    One-time code