Landing docket 0418
- Vessel
- MV Corran Lass
- Catch
- 38 creels, langoustine
- Berth
- 4, north pier
The filters in force, each one a chip you take off with a click. A count keeps up as they go, and one button puts them all back.
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-badge-applied-filters">
<form class="f">
<p class="h">Used bikes <span>narrowed by</span></p>
<div class="bar" role="group" aria-label="Filters in force. Uncheck one to remove it">
<label class="chip"><input class="vh" type="checkbox" checked><span class="k">Type</span><span class="v">Gravel</span><span class="x" aria-hidden="true"><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></span></label>
<label class="chip"><input class="vh" type="checkbox" checked><span class="k">Frame</span><span class="v">54 to 56 cm</span><span class="x" aria-hidden="true"><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></span></label>
<label class="chip"><input class="vh" type="checkbox" checked><span class="k">Under</span><span class="v">$900</span><span class="x" aria-hidden="true"><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></span></label>
<label class="chip"><input class="vh" type="checkbox" checked><span class="k">Brakes</span><span class="v">Disc</span><span class="x" aria-hidden="true"><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></span></label>
<span class="none">nothing. Every bike in the shop is listed.</span>
</div>
<p class="sum"><span class="n"></span><button class="back" type="reset">Put them all back</button></p>
</form>
</div>
.ukc-badge-applied-filters { position: relative; font-family: var(--uk-font-body, system-ui, sans-serif); color: var(--uk-ink); font-size: 15px; line-height: 1.5;
--tint: color-mix(in srgb, var(--uk-accent) 12%, var(--uk-paper));
--tint-strong: color-mix(in srgb, var(--uk-accent) 22%, var(--uk-paper));
--accent-deep: color-mix(in srgb, var(--uk-accent) 72%, black);
--ink-soft: color-mix(in srgb, var(--uk-ink) 8%, var(--uk-paper));
--line-strong: color-mix(in srgb, var(--uk-ink) 32%, var(--uk-paper));
--danger-tint: color-mix(in srgb, var(--uk-danger) 12%, var(--uk-paper));
--high-tint: color-mix(in srgb, var(--uk-highlight) 28%, var(--uk-paper)); }
.ukc-badge-applied-filters *, .ukc-badge-applied-filters *::before, .ukc-badge-applied-filters *::after { box-sizing: border-box; }
.ukc-badge-applied-filters :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
.ukc-badge-applied-filters :where(ul, ol) { padding: 0; list-style: none; }
.ukc-badge-applied-filters :where(button, input, select, textarea) { font: inherit; color: inherit; }
.ukc-badge-applied-filters :where(a) { color: inherit; }
.ukc-badge-applied-filters svg { flex: none; }
.ukc-badge-applied-filters .vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ukc-badge-applied-filters .f { max-width: 460px; margin: 0; counter-reset: ukc-on; }
.ukc-badge-applied-filters .h { margin-bottom: 8px; font-weight: 600; }
.ukc-badge-applied-filters .h span { font-weight: 400; color: var(--uk-muted); }
.ukc-badge-applied-filters .bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 32px; }
.ukc-badge-applied-filters .chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 5px 0 11px; border: 1px solid var(--line-strong); border-radius: var(--uk-radius-md); background: var(--uk-surface); font-size: 13px; white-space: nowrap; cursor: pointer; }
.ukc-badge-applied-filters .chip:has(input:not(:checked)) { display: none; }
.ukc-badge-applied-filters .chip input:checked { counter-increment: ukc-on; }
.ukc-badge-applied-filters .chip:has(input:focus-visible) { outline: 2px solid var(--uk-accent); outline-offset: 2px; }
.ukc-badge-applied-filters .k { color: var(--uk-muted); }
.ukc-badge-applied-filters .v { font-weight: 600; }
.ukc-badge-applied-filters .x { width: 22px; height: 22px; display: grid; place-items: center; border-radius: var(--uk-radius-sm); color: var(--uk-muted); transition: background-color var(--uk-motion-duration) var(--uk-motion-ease), color var(--uk-motion-duration) var(--uk-motion-ease); }
.ukc-badge-applied-filters .chip:hover { border-style: dashed; border-color: var(--uk-danger); }
.ukc-badge-applied-filters .chip:hover .v { text-decoration: line-through; }
.ukc-badge-applied-filters .chip:hover .x { background: var(--danger-tint); color: var(--uk-danger); }
.ukc-badge-applied-filters .none { display: none; font-size: 14px; color: var(--uk-muted); }
.ukc-badge-applied-filters .bar:not(:has(input:checked)) .none { display: inline; }
.ukc-badge-applied-filters .sum { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--uk-line); font-size: 13px; color: var(--uk-muted); }
.ukc-badge-applied-filters .n::before { content: counter(ukc-on) " of 4 filters on"; }
.ukc-badge-applied-filters .back { margin-left: auto; padding: 4px 11px; border: 1px solid var(--uk-line); border-radius: var(--uk-radius-md); background: transparent; font-size: 13px; cursor: pointer; }
.ukc-badge-applied-filters .back:hover { border-color: var(--line-strong); }
.ukc-badge-applied-filters .back:focus-visible { outline: 2px solid var(--uk-accent); outline-offset: 2px; }
Hollow Oak Dairy
Raw milk cheese · farm visited 3 Nov
Marsh Lane Honey
Heather and borage honey · hives counted 12 Oct
Tiller & Sons Veg
Visit booked for 4 Dec
Verified growerCheck pending
Landing docket 0418
Landing docket 0419
Essay12 min read
Field notesNew this issue
RecipeServes six