unslopkit

Components / Inputs

Filled field, bottom rule

A filled field on the surface color with only a bottom rule, a small label above, and helper text below.

You can change this later.

Enter a number, like 12000.

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-carbon-field">
<div class="f">
  <label for="ukc-cf">Project name</label>
  <input id="ukc-cf" type="text" placeholder="Kitchen reframe">
  <p class="help">You can change this later.</p>
</div>
<div class="f bad">
  <label for="ukc-cf2">Budget</label>
  <div class="wrapx"><input id="ukc-cf2" type="text" value="12,000 dollars" aria-invalid="true"><span class="ico"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 3l9.5 17h-19z"/><path d="M12 10v4M12 17h.01"/></svg></span></div>
  <p class="help">Enter a number, like 12000.</p>
</div>
</div>

More inputs

All 27
  • Street and number
    Enter a 5 digit ZIP code

    Plain field with a thick focus

  • 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