Shape status chips
Every state gets its own shape as well as its own word, so the list still reads in grayscale or at a squint. Comes with a bare mark for tight rows.
- Delivered
- In transit
- Held at customs
- Running late
- Not found
- Booked
- TRLU 448201 7Gdansk to Hull
- MSKU 907315 2Rotterdam to Leith
- CAIU 220664 0Bilbao to Cork
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-badge-shape-status">
<ul class="keys" aria-label="Shipment states">
<li class="chip done"><svg width="12" height="12" viewBox="0 0 12 12" aria-hidden="true"><circle cx="6" cy="6" r="5" fill="currentColor"/></svg>Delivered</li>
<li class="chip move"><svg width="12" height="12" viewBox="0 0 12 12" aria-hidden="true"><circle cx="6" cy="6" r="4.25" fill="none" stroke="currentColor" stroke-width="1.5"/><path d="M6 1.75a4.25 4.25 0 0 1 0 8.5z" fill="currentColor"/></svg>In transit</li>
<li class="chip hold"><svg width="12" height="12" viewBox="0 0 12 12" aria-hidden="true"><path d="M6 1l5.4 9.6H.6z" fill="currentColor"/></svg>Held at customs</li>
<li class="chip slow"><svg width="12" height="12" viewBox="0 0 12 12" aria-hidden="true"><path d="M6 1.1L10.9 6 6 10.9 1.1 6z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linejoin="round"/></svg>Running late</li>
<li class="chip lost"><svg width="12" height="12" viewBox="0 0 12 12" aria-hidden="true"><rect x="1" y="1" width="10" height="10" fill="currentColor"/><path class="cut" d="M3.8 3.8l4.4 4.4M8.2 3.8L3.8 8.2" fill="none" stroke-width="1.5" stroke-linecap="round"/></svg>Not found</li>
<li class="chip book"><svg width="12" height="12" viewBox="0 0 12 12" aria-hidden="true"><circle cx="6" cy="6" r="4.25" fill="none" stroke="currentColor" stroke-width="1.5" stroke-dasharray="2.2 2.2"/></svg>Booked</li>
</ul>
<ul class="loads">
<li><span class="g hold" role="img" aria-label="Held at customs"><svg width="12" height="12" viewBox="0 0 12 12" aria-hidden="true"><path d="M6 1l5.4 9.6H.6z" fill="currentColor"/></svg></span><span class="id">TRLU 448201 7</span><span class="rt">Gdansk to Hull</span></li>
<li><span class="g move" role="img" aria-label="In transit"><svg width="12" height="12" viewBox="0 0 12 12" aria-hidden="true"><circle cx="6" cy="6" r="4.25" fill="none" stroke="currentColor" stroke-width="1.5"/><path d="M6 1.75a4.25 4.25 0 0 1 0 8.5z" fill="currentColor"/></svg></span><span class="id">MSKU 907315 2</span><span class="rt">Rotterdam to Leith</span></li>
<li><span class="g done" role="img" aria-label="Delivered"><svg width="12" height="12" viewBox="0 0 12 12" aria-hidden="true"><circle cx="6" cy="6" r="5" fill="currentColor"/></svg></span><span class="id">CAIU 220664 0</span><span class="rt">Bilbao to Cork</span></li>
</ul>
</div>
.ukc-badge-shape-status { 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-shape-status *, .ukc-badge-shape-status *::before, .ukc-badge-shape-status *::after { box-sizing: border-box; }
.ukc-badge-shape-status :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
.ukc-badge-shape-status :where(ul, ol) { padding: 0; list-style: none; }
.ukc-badge-shape-status :where(button, input, select, textarea) { font: inherit; color: inherit; }
.ukc-badge-shape-status :where(a) { color: inherit; }
.ukc-badge-shape-status svg { flex: none; }
.ukc-badge-shape-status .keys { display: flex; flex-wrap: wrap; gap: 8px; max-width: 460px; }
.ukc-badge-shape-status .chip { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px 0 8px; border: 1px solid var(--uk-line); border-radius: var(--uk-radius-sm); background: var(--uk-surface); font-size: 13px; white-space: nowrap; }
.ukc-badge-shape-status .done svg { color: var(--uk-ink); }
.ukc-badge-shape-status .move svg { color: var(--uk-accent); }
.ukc-badge-shape-status .hold svg, .ukc-badge-shape-status .slow svg { color: color-mix(in srgb, var(--uk-highlight) 62%, var(--uk-ink)); }
.ukc-badge-shape-status .lost svg { color: var(--uk-danger); }
.ukc-badge-shape-status .lost .cut { stroke: var(--uk-paper); }
.ukc-badge-shape-status .book svg { color: var(--uk-muted); }
.ukc-badge-shape-status .loads { max-width: 460px; margin-top: 14px; border-top: 1px solid var(--uk-line); }
.ukc-badge-shape-status .loads li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--uk-line); font-size: 13px; }
.ukc-badge-shape-status .g { display: inline-grid; }
.ukc-badge-shape-status .id { font-family: var(--uk-font-mono, ui-monospace, monospace); font-size: 12px; }
.ukc-badge-shape-status .rt { margin-left: auto; color: var(--uk-muted); }
More badges and chips
All 25- Level 1
Top rope
Passed 2 Mar
- Level 2
Lead belay
Passed 19 Jun
- Level 3
Lead climb
4 of 6 sessions
- Level 4, locked
Route setter
After level 3
- Level 1
- drums live room take 14 drums, added twice
Drums is on the list twice. Press Enter or a comma to add a tag.
Used on this album - Completed In progress Not started Cannot start yet
- bug ready for review blocked Open 24 Closed 1,302
- Framing Drywall Electrical Draft
- New Updated Closing soon