Filter groups with counts
A narrow sidebar of filter groups. Each option shows how many results it has, and each group shows how many are picked.
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-accordion-filter-counts">
<aside class="filters" aria-label="Filter invoices">
<div class="top"><h3>Filters</h3><button type="button" class="clear">Clear all</button></div>
<details class="grp" open>
<summary><span class="name">Status</span><span class="picked">2<span class="sr"> selected</span></span><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="M6 9l6 6 6-6"/></svg></summary>
<ul class="opts">
<li><label><input type="checkbox"> Draft <span class="c">12</span></label></li>
<li><label><input type="checkbox" checked> Sent <span class="c">31</span></label></li>
<li><label><input type="checkbox" checked> Overdue <span class="c">4</span></label></li>
<li><label><input type="checkbox"> Paid <span class="c">186</span></label></li>
</ul>
</details>
<details class="grp">
<summary><span class="name">Crew</span><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="M6 9l6 6 6-6"/></svg></summary>
<ul class="opts">
<li><label><input type="checkbox"> Crew A <span class="c">64</span></label></li>
<li><label><input type="checkbox"> Crew B <span class="c">102</span></label></li>
<li><label><input type="checkbox"> Crew C <span class="c">67</span></label></li>
</ul>
</details>
<details class="grp">
<summary><span class="name">Job type</span><span class="picked">1<span class="sr"> selected</span></span><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="M6 9l6 6 6-6"/></svg></summary>
<ul class="opts">
<li><label><input type="checkbox" checked> Renovation <span class="c">91</span></label></li>
<li><label><input type="checkbox"> Repair <span class="c">118</span></label></li>
<li><label><input type="checkbox"> New build <span class="c">24</span></label></li>
</ul>
</details>
<details class="grp">
<summary><span class="name">Date sent</span><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="M6 9l6 6 6-6"/></svg></summary>
<ul class="opts">
<li><label><input type="checkbox"> Last 30 days <span class="c">48</span></label></li>
<li><label><input type="checkbox"> This quarter <span class="c">133</span></label></li>
</ul>
</details>
</aside>
</div>
.ukc-accordion-filter-counts { 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-accordion-filter-counts *, .ukc-accordion-filter-counts *::before, .ukc-accordion-filter-counts *::after { box-sizing: border-box; }
.ukc-accordion-filter-counts :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
.ukc-accordion-filter-counts :where(ul, ol) { padding: 0; list-style: none; }
.ukc-accordion-filter-counts :where(button, input, select, textarea) { font: inherit; color: inherit; }
.ukc-accordion-filter-counts :where(a) { color: inherit; }
.ukc-accordion-filter-counts svg { flex: none; }
.ukc-accordion-filter-counts summary { list-style: none; cursor: pointer; }
.ukc-accordion-filter-counts summary::-webkit-details-marker { display: none; }
.ukc-accordion-filter-counts .filters { max-width: 280px; overflow: hidden; border: var(--uk-border-width) solid var(--uk-line); border-radius: var(--uk-radius-lg); background: var(--uk-paper); font-size: 14px; }
.ukc-accordion-filter-counts .top { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 14px; }
.ukc-accordion-filter-counts .top h3 { font-size: 14px; font-weight: 700; }
.ukc-accordion-filter-counts .clear { padding: 0; border: 0; background: none; color: var(--uk-accent); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ukc-accordion-filter-counts .clear:focus-visible { outline: 2px solid var(--uk-accent); outline-offset: 2px; }
.ukc-accordion-filter-counts .grp { border-top: 1px solid var(--uk-line); }
.ukc-accordion-filter-counts summary { display: flex; align-items: center; gap: 8px; padding: 10px 14px; font-weight: 600; }
.ukc-accordion-filter-counts summary:hover { background: var(--uk-surface); }
.ukc-accordion-filter-counts summary:focus-visible { outline: 2px solid var(--uk-accent); outline-offset: -2px; }
.ukc-accordion-filter-counts .name { flex: 1; }
.ukc-accordion-filter-counts .picked { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--uk-accent); color: var(--uk-accent-ink); font-size: 12px; font-weight: 600; line-height: 20px; text-align: center; font-variant-numeric: tabular-nums; }
.ukc-accordion-filter-counts summary svg { color: var(--uk-muted); transition: transform var(--uk-motion-duration, 180ms) var(--uk-motion-ease, ease); }
.ukc-accordion-filter-counts [open] > summary svg { transform: rotate(180deg); }
.ukc-accordion-filter-counts .opts { display: grid; padding: 0 14px 10px; }
.ukc-accordion-filter-counts .opts label { display: flex; align-items: center; gap: 10px; padding: 5px 0; cursor: pointer; }
.ukc-accordion-filter-counts .opts input { width: 15px; height: 15px; margin: 0; accent-color: var(--uk-accent); }
.ukc-accordion-filter-counts .c { margin-left: auto; font-family: var(--uk-font-mono, ui-monospace, monospace); font-size: 12px; color: var(--uk-muted); font-variant-numeric: tabular-nums; }
.ukc-accordion-filter-counts .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .ukc-accordion-filter-counts summary svg { transition: none; } }
More accordions
All 29Kitchen refit14 Alder StCrew B22.5$2,140
- Labour · 22.5 h at $68
- $1,530
- Materials
- $486
- Skip hire
- $124
Deck repair3 Fenn RdCrew A9.0$812
- Labour · 9 h at $68
- $612
- Materials
- $200
Bathroom tiling88 Mill LaneCrew B16.0$1,395
- Labour · 16 h at $68
- $1,088
- Materials
- $307
Fence postsUnit 4, Harbor ParkCrew C6.5$460
- Labour · 6.5 h at $68
- $442
- Materials
- $18
Dunmore Bakehouse
Order 0417 · Sat 14 Nov, 8:42 am
Bread$19.50
- 2 × Seeded rye loaf$13.00
- 1 × Morning buns, half dozen$6.50
Pastry$15.75
- 3 × Cardamom knot$11.25
- 1 × Plum danish$4.50
Coffee$7.00
- 2 × Flat white, oat$7.00
Money offminus $6.50
- Stamp card, tenth loaf free$6.50
- Sales tax, included
- $2.65
- Total
- $35.75
Paid by card ending 4410. See you next Saturday.
Fernhill Nursery · Care cards
Basil
Sweet basil
- Light
- Six hours of sun, a south sill is ideal
- Water
- When the top inch is dry, never from above
- Note
- Pinch the tips weekly so it bushes out
Fig
Brown Turkey fig
- Light
- Full sun against a warm wall
- Water
- Deeply once a week, twice in a heatwave
- Feed
- Tomato feed every fortnight, May to August
- Note
- Keep the roots cramped or you get leaves, not fruit
Lavender
Hidcote lavender
- Light
- As much sun as you have
- Water
- Hardly at all once it has settled in
- Note
- Cut back by a third after flowering
Tomato
Gardener's Delight tomato
- Light
- Sun all day, shelter from wind
- Water
- Little and often, at the same time each day
- Note
- Nip out side shoots where a leaf meets the stem
Release notes
Every version4.2 Room holds and split sessions12 Nov 2026 Latest
- Added
Hold a room for 48 hours while the band sorts out the deposit.
- Added
Split one booking across two engineers, each with their own hours.
- Fixed
Overnight sessions no longer show up twice on the wall calendar.
- Removed
The old fax confirmation option. Nobody had used it since 2023.
4.1 Gear checklists20 Oct 2026
- Added
A checklist of mics and outboard for each room, ticked off at load-out.
- Fixed
Invoices now round studio time to the quarter hour you set.
4.0 The new week view2 Sep 2026
- Added
All rooms side by side for the week, with setup time shown hatched.
- Removed
The single-room day view. The week view covers it.
- Added
Lever 2 espresso machine
No water comes through the group head
Check the tank is seatedTakes 10 seconds
Lift the tank out and push it back until you feel it click. A tank that sits a few millimetres high will not open the valve.
Run the steam wand to clear an air lockAbout a minute
Open the steam knob fully and hold the brew lever down for 20 seconds. Sputtering that turns into a steady stream means the pump has primed.
Clean the shower screen5 minutes, flat screwdriver
Undo the centre screw, drop the screen into hot water with a spoon of cleaner, and scrub the holes with the brush from the box. Refit it dull side up.
Descale the boiler40 minutes, mostly waiting
Dissolve one sachet in a full tank and run half of it through the group. Leave it for 20 minutes, run the rest, then flush two tanks of fresh water.
Small Isles loop
3 days · 2 adults, 1 bike · Booking SK-88213
Fri14 Mallaig to Eigg1 sailing · 1 night at Glebe Barn
Depart MallaigMV Lochnevis, check in by 9:45
Arrive Galmisdale, EiggBike hire is at the pier shop
Glebe BarnTwin room, key in the porch box
Sat15 Eigg to Rum1 sailing · 1 night at Kinloch bunkhouse
Depart GalmisdaleMV Lochnevis, foot passengers and bikes only
Arrive Kinloch, Rum20 minute walk to the village
Kinloch bunkhouseTwo beds in the four-bed room, bring a towel
Shearwater walkMeet the ranger at the hall, torches provided
Change this dayFree until Thu 13, 6 pm
Sun16 Rum to Mallaig1 sailing, via Canna
Depart KinlochMV Lochnevis, calls at Canna for 20 minutes
Arrive MallaigLast train south leaves at 18:15