Tell us about your crew
First-run onboarding: trade tiles with icons, a crew-size stop picker, and company name, with a skip link beside the main button.
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-form-crew-onboarding">
<form class="ob" action="#" aria-labelledby="ukc-form-crew-onboarding-title">
<header>
<p class="kicker">Welcome, Mara · about a minute</p>
<h3 id="ukc-form-crew-onboarding-title">Tell us about your crew</h3>
<p class="lead">We'll set up job sheet templates for the work you actually do. You can change all of this later.</p>
</header>
<fieldset class="trades" aria-describedby="ukc-form-crew-onboarding-trades-hint">
<legend>What does the crew do?</legend>
<p class="hint" id="ukc-form-crew-onboarding-trades-hint">Pick up to three.</p>
<div class="tiles">
<label><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 20V10l9-6 9 6v10M3 20h18M8 20v-8.5M12 20V7M16 20v-8.5"/></svg><span>Framing</span><input type="checkbox" name="ukc-form-crew-onboarding-trade" value="framing" checked></label>
<label><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M2 13l10-8.5L22 13"/><path d="M16.5 8.2V4.5H19v5.8"/><path d="M5.5 16h13M8 19.5h8"/></svg><span>Roofing</span><input type="checkbox" name="ukc-form-crew-onboarding-trade" value="roofing"></label>
<label><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 8h9a4 4 0 0 1 4 4v9"/><path d="M3 5v6M13 21h6"/></svg><span>Plumbing</span><input type="checkbox" name="ukc-form-crew-onboarding-trade" value="plumbing"></label>
<label><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M13 2.5L5 13.5h6.5l-1 8 8-11H12z"/></svg><span>Electrical</span><input type="checkbox" name="ukc-form-crew-onboarding-trade" value="electrical" checked></label>
<label><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="3.5" y="3.5" width="17" height="17"/><path d="M12 3.5v17M7.5 7.5h.01M7.5 16.5h.01M16.5 7.5h.01M16.5 16.5h.01"/></svg><span>Drywall</span><input type="checkbox" name="ukc-form-crew-onboarding-trade" value="drywall"></label>
<label><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="3.5" y="3.5" width="14" height="5"/><path d="M17.5 6h3v5.5H11v3"/><path d="M10 14.5h2v6.5h-2z"/></svg><span>Painting</span><input type="checkbox" name="ukc-form-crew-onboarding-trade" value="painting"></label>
</div>
</fieldset>
<fieldset class="size">
<legend>How many people, counting you?</legend>
<div class="stops">
<label><input type="radio" name="ukc-form-crew-onboarding-size" value="1">Just me</label>
<label><input type="radio" name="ukc-form-crew-onboarding-size" value="2-5" checked>2 to 5</label>
<label><input type="radio" name="ukc-form-crew-onboarding-size" value="6-15">6 to 15</label>
<label><input type="radio" name="ukc-form-crew-onboarding-size" value="16">16 or more</label>
</div>
</fieldset>
<div class="f"><label for="ukc-form-crew-onboarding-company">Company name</label><input id="ukc-form-crew-onboarding-company" type="text" autocomplete="organization" value="Reyes Framing"></div>
<footer class="ft"><button class="skip" type="button">Skip for now</button><button class="go" type="submit">Set up my templates<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14M13 6l6 6-6 6"/></svg></button></footer>
</form>
</div>
.ukc-form-crew-onboarding { 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-form-crew-onboarding *, .ukc-form-crew-onboarding *::before, .ukc-form-crew-onboarding *::after { box-sizing: border-box; }
.ukc-form-crew-onboarding :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
.ukc-form-crew-onboarding :where(ul, ol) { padding: 0; list-style: none; }
.ukc-form-crew-onboarding :where(button, input, select, textarea) { font: inherit; color: inherit; }
.ukc-form-crew-onboarding :where(a) { color: inherit; }
.ukc-form-crew-onboarding svg { flex: none; }
.ukc-form-crew-onboarding { container-type: inline-size; inline-size: 100%; }
.ukc-form-crew-onboarding .f { display: grid; gap: 6px; min-width: 0; align-content: start; }
.ukc-form-crew-onboarding .f > label, .ukc-form-crew-onboarding .lbl { font-size: 14px; font-weight: 600; line-height: 1.35; }
.ukc-form-crew-onboarding .hint { font-size: 13px; line-height: 1.45; color: var(--uk-muted); }
.ukc-form-crew-onboarding .optional { font-weight: 400; color: var(--uk-muted); }
.ukc-form-crew-onboarding :where(input:not([type="checkbox"], [type="radio"]), select, textarea) { inline-size: 100%; min-width: 0; height: 42px; margin: 0; padding: 0 12px; border: var(--uk-border-width) solid var(--line-strong); border-radius: var(--uk-radius-md); background: var(--uk-paper); font-size: 15px; line-height: 1.3; transition: border-color var(--uk-motion-duration) var(--uk-motion-ease), box-shadow var(--uk-motion-duration) var(--uk-motion-ease); }
.ukc-form-crew-onboarding textarea { height: auto; min-height: 76px; padding: 10px 12px; border-radius: min(var(--uk-radius-md), 10px); resize: vertical; line-height: 1.45; }
.ukc-form-crew-onboarding ::placeholder { color: color-mix(in srgb, var(--uk-muted) 72%, var(--uk-paper)); opacity: 1; }
.ukc-form-crew-onboarding :where(input, select, textarea):focus-visible { outline: none; border-color: var(--uk-accent); box-shadow: 0 0 0 3px var(--tint-strong); }
.ukc-form-crew-onboarding .pick { position: relative; display: block; min-width: 0; }
.ukc-form-crew-onboarding .pick select { appearance: none; padding-right: 36px; cursor: pointer; }
.ukc-form-crew-onboarding .pick::after { content: ""; position: absolute; right: 15px; top: 50%; width: 7px; height: 7px; border: solid var(--uk-muted); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.ukc-form-crew-onboarding [aria-invalid="true"] { border-color: var(--uk-danger); }
.ukc-form-crew-onboarding [aria-invalid="true"]:focus-visible { border-color: var(--uk-danger); box-shadow: 0 0 0 3px var(--danger-tint); }
.ukc-form-crew-onboarding .err { display: flex; align-items: flex-start; gap: 6px; font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--uk-danger); }
.ukc-form-crew-onboarding .err svg { margin-top: 1px; }
.ukc-form-crew-onboarding .tiles input { appearance: none; flex: none; inline-size: 18px; block-size: 18px; margin: 1px 0 0; display: inline-grid; place-content: center; border: var(--uk-border-width) solid var(--line-strong); border-radius: min(var(--uk-radius-sm), 5px); background: var(--uk-paper); cursor: pointer; transition: background-color var(--uk-motion-duration) var(--uk-motion-ease), border-color var(--uk-motion-duration) var(--uk-motion-ease); }
.ukc-form-crew-onboarding .tiles input::before { content: ""; inline-size: 10px; block-size: 5px; margin-top: -3px; border: solid var(--uk-accent-ink); border-width: 0 0 2px 2px; transform: rotate(-45deg) scale(0); transition: transform var(--uk-motion-duration) var(--uk-motion-ease); }
.ukc-form-crew-onboarding .tiles input:checked { border-color: var(--uk-accent); background: var(--uk-accent); }
.ukc-form-crew-onboarding .tiles input:checked::before { transform: rotate(-45deg) scale(1); }
.ukc-form-crew-onboarding .tiles input:focus-visible { outline: 2px solid var(--uk-accent); outline-offset: 2px; }
.ukc-form-crew-onboarding .go, .ukc-form-crew-onboarding .ghost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: var(--uk-radius-md); font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color var(--uk-motion-duration) var(--uk-motion-ease), border-color var(--uk-motion-duration) var(--uk-motion-ease); }
.ukc-form-crew-onboarding .go { border: var(--uk-border-width) solid var(--uk-accent); background: var(--uk-accent); color: var(--uk-accent-ink); }
.ukc-form-crew-onboarding .go:hover { border-color: var(--accent-deep); background: var(--accent-deep); }
.ukc-form-crew-onboarding .ghost { border: var(--uk-border-width) solid var(--line-strong); background: none; color: var(--uk-ink); }
.ukc-form-crew-onboarding .ghost:hover { background: var(--ink-soft); }
.ukc-form-crew-onboarding :where(button, a, summary):focus-visible { outline: 2px solid var(--uk-accent); outline-offset: 2px; }
.ukc-form-crew-onboarding .kicker { font: 500 11px/1.3 var(--uk-font-mono, ui-monospace, monospace); letter-spacing: 0.12em; text-transform: uppercase; color: var(--uk-muted); }
.ukc-form-crew-onboarding .ob { max-width: 540px; display: grid; gap: 24px; }
.ukc-form-crew-onboarding h3 { margin-top: 8px; font-family: var(--uk-font-display, inherit); font-size: 32px; font-weight: 600; line-height: 1.04; letter-spacing: -0.015em; }
.ukc-form-crew-onboarding .lead { max-width: 46ch; margin-top: 10px; font-size: 15px; color: var(--uk-muted); }
.ukc-form-crew-onboarding fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.ukc-form-crew-onboarding legend { margin-bottom: 4px; padding: 0; font-size: 15px; font-weight: 600; }
.ukc-form-crew-onboarding .trades .hint { margin-bottom: 10px; }
.ukc-form-crew-onboarding .size legend { margin-bottom: 14px; }
.ukc-form-crew-onboarding .tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ukc-form-crew-onboarding .tiles label { position: relative; display: grid; gap: 12px; align-content: space-between; min-height: 86px; padding: 12px; border: var(--uk-border-width) solid var(--uk-line); border-radius: min(var(--uk-radius-lg), 12px); background: var(--uk-surface); font-size: 14px; font-weight: 600; cursor: pointer; transition: border-color var(--uk-motion-duration) var(--uk-motion-ease), background-color var(--uk-motion-duration) var(--uk-motion-ease); }
.ukc-form-crew-onboarding .tiles svg { color: var(--uk-muted); }
.ukc-form-crew-onboarding .tiles input { position: absolute; top: 10px; right: 10px; margin: 0; }
.ukc-form-crew-onboarding .tiles label:hover { border-color: var(--line-strong); }
.ukc-form-crew-onboarding .tiles label:has(input:checked) { border-color: var(--uk-accent); background: var(--tint); }
.ukc-form-crew-onboarding .tiles label:has(input:checked) svg { color: var(--uk-ink); }
.ukc-form-crew-onboarding .stops { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ukc-form-crew-onboarding .stops::before { content: ""; position: absolute; top: 10px; left: 12.5%; right: 12.5%; block-size: 2px; background: var(--uk-line); }
.ukc-form-crew-onboarding .stops label { position: relative; display: grid; justify-items: center; gap: 8px; font-size: 13px; text-align: center; color: var(--uk-muted); cursor: pointer; }
.ukc-form-crew-onboarding .stops input { appearance: none; inline-size: 22px; block-size: 22px; margin: 0; border: 2px solid var(--line-strong); border-radius: 50%; background: var(--uk-paper); cursor: pointer; transition: box-shadow var(--uk-motion-duration) var(--uk-motion-ease), border-color var(--uk-motion-duration) var(--uk-motion-ease); }
.ukc-form-crew-onboarding .stops input:checked { border-color: var(--uk-accent); background: var(--uk-accent); box-shadow: 0 0 0 4px var(--tint-strong); }
.ukc-form-crew-onboarding .stops label:has(input:checked) { font-weight: 600; color: var(--uk-ink); }
.ukc-form-crew-onboarding .stops input:focus-visible { outline: 2px solid var(--uk-accent); outline-offset: 3px; }
.ukc-form-crew-onboarding .ft { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; padding-top: 4px; }
.ukc-form-crew-onboarding .skip { padding: 6px 2px; border: 0; background: none; font-size: 14px; font-weight: 600; color: var(--uk-muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ukc-form-crew-onboarding .skip:hover { color: var(--uk-ink); }
@container (max-width: 330px) { .ukc-form-crew-onboarding h3 { font-size: 27px; } .ukc-form-crew-onboarding .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ukc-form-crew-onboarding .ft .go { order: -1; flex: 1 1 100%; } }