unslopkit

Components / Selects and toggles

Filter panel with picks

A filter column: a header band, the chosen filters as removable tags with a clear link, then the option groups under an apply button.

Filter

Status
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-toggle-moj-filter">
<div class="flt">
  <div class="head"><h2>Filter</h2></div>
  <div class="sel">
    <div class="selhead"><h3>Selected filters</h3><a href="#">Clear filters</a></div>
    <h4>Status</h4>
    <ul class="tags">
      <li><a class="tag" href="#"><span class="sr">Remove this filter:</span> Overdue <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></a></li>
      <li><a class="tag" href="#"><span class="sr">Remove this filter:</span> Sent <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></a></li>
    </ul>
    <h4>Crew</h4>
    <ul class="tags"><li><a class="tag" href="#"><span class="sr">Remove this filter:</span> North team <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></a></li></ul>
  </div>
  <div class="opts">
    <button class="btn" type="button">Apply filters</button>
    <fieldset>
      <legend>Status</legend>
      <label class="cb"><input type="checkbox" checked><span class="box"><svg width="18" height="18" 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></span>Overdue</label>
      <label class="cb"><input type="checkbox" checked><span class="box"><svg width="18" height="18" 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></span>Sent</label>
      <label class="cb"><input type="checkbox"><span class="box"><svg width="18" height="18" 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></span>Draft</label>
      <label class="cb"><input type="checkbox"><span class="box"><svg width="18" height="18" 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></span>Paid</label>
    </fieldset>
  </div>
</div>
</div>

More selects and toggles

All 28
  • Theme
    Alerts
    Menu
    Job 2318

    Icon swap toggles

  • Assign to

    Mara Ellis
    Omar Haddad
    Tomasz Malek

    3 of 12 people

    Searchable select

  • Deliver bread on

    Standing order for Cafe Lindqvist. Change it any time before 4 pm the day before.

    We do not bake on Sundays.

    Weekday picker

  • Front desk role

    What reception can do at Harbour Street Clinic.

    • AppointmentsBook, move, and cancel
    • Patient contact detailsPhone, address, next of kin
    • InvoicesFees, receipts, and refunds
    • Staff rotaShifts and leave
    • Clinical notesConsult records and results

      Off for this role. Clinicians only.

    Three-way permission rows

  • Size, EU

    Tarn Edge climbing shoe. Fits snug, most people go half a size down.

    Pick a size to see stock. In stock. Posted tomorrow from Sheffield. Only 2 pairs left in this size.

    Size guide

    Size picker with stock

  • Skerry Line · crossing of 14 June

    Boarding was quick and easy.
    The cafe was worth the queue.

    Agreement scale