Crew picker grid
Pick people for a job from a grid of avatar cards. Real checkboxes underneath, a check badge when chosen, and a running count.
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-avatar-crew-picker">
<fieldset class="pick">
<legend>Who is on <strong>Garage roof</strong>?</legend>
<div class="opts">
<label class="opt"><input class="vh" type="checkbox" name="crew" value="mara" checked><span class="av a" aria-hidden="true">MR<span class="tick"><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></span><span class="n">Mara Reyes</span><span class="r">Framer</span></label>
<label class="opt"><input class="vh" type="checkbox" name="crew" value="dana" checked><span class="av b" aria-hidden="true">DW<span class="tick"><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></span><span class="n">Dana Whitfield</span><span class="r">Roofer</span></label>
<label class="opt"><input class="vh" type="checkbox" name="crew" value="ines"><span class="av c" aria-hidden="true">IO<span class="tick"><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></span><span class="n">Ines Ortega</span><span class="r">Estimator</span></label>
<label class="opt"><input class="vh" type="checkbox" name="crew" value="theo"><span class="av d" aria-hidden="true">TM<span class="tick"><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></span><span class="n">Theo Marsh</span><span class="r">Apprentice</span></label>
<label class="opt"><input class="vh" type="checkbox" name="crew" value="kiri"><span class="av b" aria-hidden="true">KH<span class="tick"><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></span><span class="n">Kiri Hale</span><span class="r">Electrician</span></label>
<label class="opt"><input class="vh" type="checkbox" name="crew" value="sol"><span class="av a" aria-hidden="true">SB<span class="tick"><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></span><span class="n">Sol Bennett</span><span class="r">Laborer</span></label>
</div>
<p class="sum"><span class="count"></span> of 6 on this job</p>
</fieldset>
</div>
.ukc-avatar-crew-picker { 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-avatar-crew-picker *, .ukc-avatar-crew-picker *::before, .ukc-avatar-crew-picker *::after { box-sizing: border-box; }
.ukc-avatar-crew-picker :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
.ukc-avatar-crew-picker :where(ul, ol) { padding: 0; list-style: none; }
.ukc-avatar-crew-picker :where(button, input, select, textarea) { font: inherit; color: inherit; }
.ukc-avatar-crew-picker :where(a) { color: inherit; }
.ukc-avatar-crew-picker svg { flex: none; }
.ukc-avatar-crew-picker .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-avatar-crew-picker .pick { max-width: 400px; min-width: 0; margin: 0; padding: 0; border: 0; counter-reset: crew; }
.ukc-avatar-crew-picker legend { margin-bottom: 12px; padding: 0; }
.ukc-avatar-crew-picker .opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ukc-avatar-crew-picker .opt { position: relative; display: grid; justify-items: center; gap: 1px; padding: 14px 6px 12px; border: var(--uk-border-width) solid var(--uk-line); border-radius: var(--uk-radius-lg); background: var(--uk-paper); text-align: center; line-height: 1.3; cursor: pointer; transition: border-color var(--uk-motion-duration) var(--uk-motion-ease), background-color var(--uk-motion-duration) var(--uk-motion-ease); }
.ukc-avatar-crew-picker .opt:hover { border-color: var(--line-strong); }
.ukc-avatar-crew-picker .opt:has(input:checked) { border-color: var(--uk-accent); background: var(--tint); }
.ukc-avatar-crew-picker .opt:has(input:focus-visible) { outline: 2px solid var(--uk-accent); outline-offset: 2px; }
.ukc-avatar-crew-picker .opt input:checked { counter-increment: crew; }
.ukc-avatar-crew-picker .av { position: relative; width: 44px; height: 44px; margin-bottom: 7px; display: grid; place-items: center; border-radius: 50%; font-size: 14px; font-weight: 600; letter-spacing: 0.02em; }
.ukc-avatar-crew-picker .a { background: var(--tint-strong); color: var(--uk-ink); }
.ukc-avatar-crew-picker .b { background: var(--high-tint); color: var(--uk-ink); }
.ukc-avatar-crew-picker .c { background: var(--uk-ink); color: var(--uk-paper); }
.ukc-avatar-crew-picker .d { background: var(--ink-soft); color: var(--uk-ink); }
.ukc-avatar-crew-picker .tick { position: absolute; right: -4px; bottom: -4px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--uk-accent); color: var(--uk-accent-ink); box-shadow: 0 0 0 2px var(--tint); scale: 0; transition: scale var(--uk-motion-duration) var(--uk-motion-ease); }
.ukc-avatar-crew-picker input:checked + .av .tick { scale: 1; }
.ukc-avatar-crew-picker .n { font-size: 13px; font-weight: 600; }
.ukc-avatar-crew-picker .r { font-size: 12px; color: var(--uk-muted); }
.ukc-avatar-crew-picker .sum { margin-top: 12px; font-size: 13px; color: var(--uk-muted); }
.ukc-avatar-crew-picker .count::before { content: counter(crew); font-weight: 700; color: var(--uk-ink); }
@media (prefers-reduced-motion: reduce) { .ukc-avatar-crew-picker .opt, .ukc-avatar-crew-picker .tick { transition: none; } }
More avatars
All 29Mara Reyes
mara@reyesframing.com
JPG or PNG, up to 4 MB. Crews see it on job sheets.
RFReyes Framing
Shown on quotes and invoices
- GuestViewing a quote
- InvitedNo reply yet
- RemovedKept on old jobs
- UnassignedNeeds a lead
Signed in on shared devices
- Site tablet 2Kitchen reframe · since 6:58 am
- Van 3 phoneGarage roof · since 7:20 am
- Office kioskClock-in screen · since Mon
- Yard scannerMaterials check-out · idle 2 h
- Busy
Dr. Nadia Okonkwo
In surgery, hip repair on Biscuit. Out about 3:15
- Free
Tomas Lindqvist
On the front desk
- Away
Priya Raman
House call in Carrow, back by 2
- Off
Wes Abara
Off today. Tomas has the rota
- CR
Callum Reid
17 of 25 hours
Test on 9 Dec
- AV
Asha Verma
25 of 25 hours
Passed 21 Nov
- JB
Joel Brandt
3 of 25 hours
Next lesson Tue
- CR
Your counselors this week
Odile, canoes
Bram, archery
Suki, night watch