Landing docket 0418
- Vessel
- MV Corran Lass
- Catch
- 38 creels, langoustine
- Berth
- 4, north pier
Chips that are real radios and checkboxes: one row where a single answer wins, one where any number can, and a choice that is off the menu for now.
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-choice-chips">
<div class="order">
<fieldset>
<legend>Grind <span>pick one</span></legend>
<div class="set">
<label class="c"><input class="vh" type="radio" name="ukc-badge-choice-chips-grind" checked><span class="dot" aria-hidden="true"></span>Whole bean</label>
<label class="c"><input class="vh" type="radio" name="ukc-badge-choice-chips-grind"><span class="dot" aria-hidden="true"></span>Filter</label>
<label class="c"><input class="vh" type="radio" name="ukc-badge-choice-chips-grind"><span class="dot" aria-hidden="true"></span>Espresso</label>
<label class="c"><input class="vh" type="radio" name="ukc-badge-choice-chips-grind"><span class="dot" aria-hidden="true"></span>Moka pot</label>
<label class="c no"><input class="vh" type="radio" name="ukc-badge-choice-chips-grind" disabled><span class="dot" aria-hidden="true"></span><span class="cut">Turkish</span><small>burrs out for service</small></label>
</div>
</fieldset>
<fieldset class="any">
<legend>Add to the box <span>pick any</span></legend>
<div class="set">
<label class="c"><input class="vh" type="checkbox" name="ukc-badge-choice-chips-extra" checked><span class="bx" 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="M12 5v14M5 12h14"/></svg><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></span>Paper filters<b>$4</b></label>
<label class="c"><input class="vh" type="checkbox" name="ukc-badge-choice-chips-extra"><span class="bx" 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="M12 5v14M5 12h14"/></svg><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></span>Taster of the Kenya lot<b>$3</b></label>
<label class="c"><input class="vh" type="checkbox" name="ukc-badge-choice-chips-extra" checked><span class="bx" 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="M12 5v14M5 12h14"/></svg><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></span>Gift note<b>Free</b></label>
<label class="c"><input class="vh" type="checkbox" name="ukc-badge-choice-chips-extra"><span class="bx" 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="M12 5v14M5 12h14"/></svg><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></span>Refill tin<b>$6</b></label>
</div>
<p class="sum"></p>
</fieldset>
</div>
</div>
.ukc-badge-choice-chips { 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-choice-chips *, .ukc-badge-choice-chips *::before, .ukc-badge-choice-chips *::after { box-sizing: border-box; }
.ukc-badge-choice-chips :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
.ukc-badge-choice-chips :where(ul, ol) { padding: 0; list-style: none; }
.ukc-badge-choice-chips :where(button, input, select, textarea) { font: inherit; color: inherit; }
.ukc-badge-choice-chips :where(a) { color: inherit; }
.ukc-badge-choice-chips svg { flex: none; }
.ukc-badge-choice-chips .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-choice-chips .order { max-width: 460px; display: grid; gap: 18px; }
.ukc-badge-choice-chips fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.ukc-badge-choice-chips .any { counter-reset: ukc-extra; }
.ukc-badge-choice-chips legend { margin-bottom: 8px; padding: 0; font-size: 14px; font-weight: 600; }
.ukc-badge-choice-chips legend span { margin-left: 6px; font-size: 12px; font-weight: 400; color: var(--uk-muted); }
.ukc-badge-choice-chips .set { display: flex; flex-wrap: wrap; gap: 8px; }
.ukc-badge-choice-chips .c { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 5px 13px 5px 10px; border: 1px solid var(--line-strong); border-radius: var(--uk-radius-md); background: var(--uk-paper); font-size: 14px; line-height: 1.2; cursor: pointer; transition: background-color var(--uk-motion-duration) var(--uk-motion-ease), border-color var(--uk-motion-duration) var(--uk-motion-ease), color var(--uk-motion-duration) var(--uk-motion-ease); }
.ukc-badge-choice-chips .c:hover { border-color: var(--uk-ink); }
.ukc-badge-choice-chips .c:has(input:focus-visible) { outline: 2px solid var(--uk-accent); outline-offset: 2px; }
.ukc-badge-choice-chips .dot { width: 13px; height: 13px; flex: none; border: 1.5px solid currentColor; border-radius: 50%; }
.ukc-badge-choice-chips .c:has(input[type="radio"]:checked) { border-color: var(--uk-ink); background: var(--uk-ink); color: var(--uk-paper); }
.ukc-badge-choice-chips .c:has(input:checked) .dot { background: radial-gradient(currentColor 0 40%, transparent 46%); }
.ukc-badge-choice-chips .bx { width: 17px; height: 17px; flex: none; display: grid; place-items: center; border-radius: 50%; color: var(--uk-muted); }
.ukc-badge-choice-chips .bx svg { grid-area: 1 / 1; }
.ukc-badge-choice-chips .bx svg:last-child { display: none; }
.ukc-badge-choice-chips .c:has(input[type="checkbox"]:checked) { border-color: var(--uk-accent); background: var(--tint); box-shadow: inset 0 0 0 1px var(--uk-accent); }
.ukc-badge-choice-chips .c:has(input:checked) .bx { background: var(--uk-accent); color: var(--uk-accent-ink); }
.ukc-badge-choice-chips .c:has(input:checked) .bx svg:first-child { display: none; }
.ukc-badge-choice-chips .c:has(input:checked) .bx svg:last-child { display: block; }
.ukc-badge-choice-chips .c b { font-family: var(--uk-font-mono, ui-monospace, monospace); font-size: 12px; font-weight: 400; color: var(--uk-muted); }
.ukc-badge-choice-chips .no, .ukc-badge-choice-chips .no:hover { border-style: dashed; border-color: var(--line-strong); color: var(--uk-muted); cursor: not-allowed; }
.ukc-badge-choice-chips .cut { text-decoration: line-through; }
.ukc-badge-choice-chips .c small { font-size: 11px; }
.ukc-badge-choice-chips .any input:checked { counter-increment: ukc-extra; }
.ukc-badge-choice-chips .sum { margin-top: 10px; font-size: 13px; color: var(--uk-muted); }
.ukc-badge-choice-chips .sum::before { content: counter(ukc-extra) " of 4 extras going in the box"; }
@media (prefers-reduced-motion: reduce) { .ukc-badge-choice-chips .c { transition: none; } }
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