unslopkit

Components / Inputs

Token field

Addresses turn into removable tokens inside the field as you type them. A bad one stays, dashed and flagged, until it is fixed, and a count shows how many are left.

Press comma or Enter after each address. Up to 5.

  • dispatch@norrlandtimber.se
  • ana.ferreira@quaysideimports.pt
  • gate3@kestrel

gate3@kestrel is not a full address. Fix it or remove it.

3 of 5

On this shipment
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-token-field">
<div class="tk">
  <label for="ukc-input-token-field-in">Send proof of delivery to</label>
  <p class="hint" id="ukc-input-token-field-h">Press comma or Enter after each address. Up to 5.</p>
  <div class="box">
    <ul class="toks" role="list">
      <li class="tok"><span class="t">dispatch@norrlandtimber.se</span><button type="button" aria-label="Remove dispatch@norrlandtimber.se"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6 6l12 12M18 6L6 18"/></svg></button></li>
      <li class="tok"><span class="t">ana.ferreira@quaysideimports.pt</span><button type="button" aria-label="Remove ana.ferreira@quaysideimports.pt"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6 6l12 12M18 6L6 18"/></svg></button></li>
      <li class="tok bad"><svg width="13" height="13" 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 class="t">gate3@kestrel</span><button type="button" aria-label="Remove gate3@kestrel, not a full address"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6 6l12 12M18 6L6 18"/></svg></button></li>
    </ul>
    <input id="ukc-input-token-field-in" type="email" value="ops@" autocomplete="off" aria-describedby="ukc-input-token-field-h ukc-input-token-field-err">
  </div>
  <div class="meta">
    <p class="err" id="ukc-input-token-field-err"><svg width="15" height="15" 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>gate3@kestrel is not a full address. Fix it or remove it.</span></p>
    <p class="cnt">3 of 5</p>
  </div>
  <div class="sug">
    <span>On this shipment</span>
    <button type="button"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 5v14M5 12h14"/></svg>Consignee</button>
    <button type="button"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 5v14M5 12h14"/></svg>Customs broker</button>
  </div>
</div>
</div>

More inputs

All 27
  • Scoped search with recents

  • Your stay at Tarn Hollow

    You would leave before you arrive. Pick Sunday 14 February or later.

    Keys from 3 pm, out by 10 am. Two nights at least, $148 a night.

    Date range pair

  • Osteria Bellwether, the back room

    A table for on at , under the name . We are celebrating .

    We hold a table for 15 minutes, then give it to the bar.

    Fill in the sentence

  • Where should the framed print go?

    The postcode looks cut short. A full one reads like TR11 3QA.

    Glazed frames go by two-person courier, Tuesday to Friday.

    Grouped rows

  • Capitals, numbers and spaces. 16 characters fit on one strip.

    14 of 16

    Tape

    Label maker

  • Lot 0417. Ercol armchair, 1962

    Whole pounds. Buyers see the asking price only, and lower offers are turned down for you.

    Price tag