unslopkit

Components / Inputs

Date range pair

Arrive and leave as two halves of one field with an arrow between them, quick picks above, and an error when the dates run backwards.

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.

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-date-range">
<fieldset class="dr">
  <legend>Your stay at Tarn Hollow</legend>
  <div class="picks" role="radiogroup" aria-label="Quick picks">
    <label><input class="sr" type="radio" name="ukc-input-date-range-pick"><span><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="M5 12.5l4.5 4.5L19 7.5"/></svg>This weekend</span></label>
    <label><input class="sr" type="radio" name="ukc-input-date-range-pick"><span><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="M5 12.5l4.5 4.5L19 7.5"/></svg>Midweek</span></label>
    <label><input class="sr" type="radio" name="ukc-input-date-range-pick" checked><span><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="M5 12.5l4.5 4.5L19 7.5"/></svg>My own dates</span></label>
  </div>
  <div class="pair">
    <div class="f"><label for="ukc-input-date-range-a">Arrive</label><input id="ukc-input-date-range-a" type="text" value="Fri 12 Feb 2027" autocomplete="off"></div>
    <span class="arr" aria-hidden="true"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14M13 6l6 6-6 6"/></svg></span>
    <div class="f bad"><label for="ukc-input-date-range-b">Leave</label><input id="ukc-input-date-range-b" type="text" value="Thu 11 Feb 2027" autocomplete="off" aria-invalid="true" aria-describedby="ukc-input-date-range-err"></div>
  </div>
  <p class="err" id="ukc-input-date-range-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>You would leave before you arrive. Pick Sunday 14 February or later.</span></p>
  <p class="hint">Keys from 3 pm, out by 10 am. Two nights at least, $148 a night.</p>
</fieldset>
</div>

More inputs

All 27
  • 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

  • As it appears on your invoices

    Error: Enter an email address in the right format, like name@example.com

    Label, hint, error

  • When did the job start?

    For example, 27 3 2026

    Day, month, year