Search results
The search field keeps the query and stays usable, a small ring turns beside it, and three results wait as a path, a title, and two lines.
Searching 48,200 records
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-skeleton-search-results">
<div class="find" aria-busy="true">
<form class="box" role="search" action="#"><label class="sr" for="ukc-skeleton-search-results-q">Search the archive</label><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"><circle cx="11" cy="11" r="6.5"/><path d="M16 16l4.5 4.5"/></svg><input id="ukc-skeleton-search-results-q" type="search" value="tide tables 1964"><span class="spin" aria-hidden="true"></span></form>
<p class="state" role="status">Searching 48,200 records</p>
<ol class="hits" aria-hidden="true">
<li style="--i:0"><span class="b crumb"></span><span class="b title" style="width:68%"></span><span class="b"></span><span class="b" style="width:82%"></span></li>
<li style="--i:1"><span class="b crumb"></span><span class="b title" style="width:52%"></span><span class="b"></span><span class="b" style="width:64%"></span></li>
<li style="--i:2"><span class="b crumb"></span><span class="b title" style="width:74%"></span><span class="b"></span><span class="b" style="width:40%"></span></li>
</ol>
</div>
</div>
.ukc-skeleton-search-results { 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-skeleton-search-results *, .ukc-skeleton-search-results *::before, .ukc-skeleton-search-results *::after { box-sizing: border-box; }
.ukc-skeleton-search-results :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
.ukc-skeleton-search-results :where(ul, ol) { padding: 0; list-style: none; }
.ukc-skeleton-search-results :where(button, input, select, textarea) { font: inherit; color: inherit; }
.ukc-skeleton-search-results :where(a) { color: inherit; }
.ukc-skeleton-search-results svg { flex: none; }
.ukc-skeleton-search-results .sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ukc-skeleton-search-results .find { --bar: color-mix(in srgb, var(--uk-ink) 10%, transparent); max-width: 460px; }
.ukc-skeleton-search-results .box { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--uk-radius-md); background: var(--uk-paper); color: var(--uk-muted); }
.ukc-skeleton-search-results .box:focus-within { outline: 2px solid var(--uk-accent); outline-offset: 2px; }
.ukc-skeleton-search-results .box input { flex: 1; min-width: 0; border: 0; padding: 0; background: transparent; color: var(--uk-ink); outline: none; }
.ukc-skeleton-search-results .spin { width: 16px; height: 16px; flex: none; border: 2px solid color-mix(in srgb, var(--uk-ink) 18%, transparent); border-top-color: var(--uk-accent); border-radius: 999px; animation: ukc-skeleton-search-results-spin 0.8s linear infinite; }
.ukc-skeleton-search-results .state { padding: 10px 2px 12px; font-size: 13px; color: var(--uk-muted); }
.ukc-skeleton-search-results .hits li { display: grid; gap: 8px; padding: 14px 2px; border-top: 1px solid var(--uk-line); animation: ukc-skeleton-search-results-pulse 1.5s ease-in-out infinite alternate; animation-delay: calc(var(--i) * 200ms); }
.ukc-skeleton-search-results .b { display: block; height: 8px; background: var(--bar); border-radius: var(--uk-radius-sm); }
.ukc-skeleton-search-results .crumb { width: 34%; height: 7px; }
.ukc-skeleton-search-results .title { height: 14px; background: color-mix(in srgb, var(--uk-accent) 30%, transparent); }
@keyframes ukc-skeleton-search-results-spin { to { transform: rotate(360deg); } }
@keyframes ukc-skeleton-search-results-pulse { from { opacity: 1; } to { opacity: 0.45; } }
@media (prefers-reduced-motion: reduce) { .ukc-skeleton-search-results .spin { animation: none; } .ukc-skeleton-search-results .hits li { animation: none; } }
More skeletons
All 24- Loading jobs
Client details
Loading client details- Loading this month's figures
Writing the job summary
Crew on site
Loading crew