Testimonial carousel
Three quotes in one spot, switched with a pill pager of arrows and dots. Built on radio inputs, so it needs no script.
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-testimonial-primer-brand-group">
<div class="tg" role="region" aria-roledescription="carousel" aria-label="What crews say about Halden">
<input type="radio" class="r r1" name="ukc-testimonial-primer-brand-group" id="ukc-testimonial-primer-brand-group-1" aria-label="Testimonial 1 of 3" checked>
<input type="radio" class="r r2" name="ukc-testimonial-primer-brand-group" id="ukc-testimonial-primer-brand-group-2" aria-label="Testimonial 2 of 3">
<input type="radio" class="r r3" name="ukc-testimonial-primer-brand-group" id="ukc-testimonial-primer-brand-group-3" aria-label="Testimonial 3 of 3">
<div class="slides">
<div class="slide s1" role="group" aria-roledescription="slide" aria-label="Testimonial 1 of 3">
<figure>
<div class="mark" aria-hidden="true"><span>“</span></div>
<blockquote><p>The crew fills in the job sheet on the roof. I read it in the office before they have climbed down the ladder.</p></blockquote>
<figcaption><span class="av" aria-hidden="true">JH</span><span class="who"><cite>Joel Haskins</cite><span class="pos">Owner, Haskins Roofing</span></span></figcaption>
</figure>
</div>
<div class="slide s2" role="group" aria-roledescription="slide" aria-label="Testimonial 2 of 3">
<figure>
<div class="mark" aria-hidden="true"><span>“</span></div>
<blockquote><p>Our quotes, job sheets, and invoices finally agree with each other. That alone paid for the year.</p></blockquote>
<figcaption><span class="av" aria-hidden="true">MP</span><span class="who"><cite>Marisol Petit</cite><span class="pos">Director, Petit Plastering</span></span></figcaption>
</figure>
</div>
<div class="slide s3" role="group" aria-roledescription="slide" aria-label="Testimonial 3 of 3">
<figure>
<div class="mark" aria-hidden="true"><span>“</span></div>
<blockquote><p>I sent my first invoice from a car park. It was paid by the time I found my keys.</p></blockquote>
<figcaption><span class="av" aria-hidden="true">AL</span><span class="who"><cite>Abe Lindgren</cite><span class="pos">Owner, Lindgren Fencing</span></span></figcaption>
</figure>
</div>
</div>
<div class="ctrl">
<div class="pager">
<label class="arrow p1" for="ukc-testimonial-primer-brand-group-3"><span class="sr">Previous testimonial</span><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="M19 12H5M11 6l-6 6 6 6"/></svg></label><label class="arrow p2" for="ukc-testimonial-primer-brand-group-1"><span class="sr">Previous testimonial</span><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="M19 12H5M11 6l-6 6 6 6"/></svg></label><label class="arrow p3" for="ukc-testimonial-primer-brand-group-2"><span class="sr">Previous testimonial</span><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="M19 12H5M11 6l-6 6 6 6"/></svg></label>
<span class="dots"><label class="dot d1" for="ukc-testimonial-primer-brand-group-1"><span class="sr">Go to testimonial 1</span></label><label class="dot d2" for="ukc-testimonial-primer-brand-group-2"><span class="sr">Go to testimonial 2</span></label><label class="dot d3" for="ukc-testimonial-primer-brand-group-3"><span class="sr">Go to testimonial 3</span></label></span>
<label class="arrow n1" for="ukc-testimonial-primer-brand-group-2"><span class="sr">Next testimonial</span><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></label><label class="arrow n2" for="ukc-testimonial-primer-brand-group-3"><span class="sr">Next testimonial</span><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></label><label class="arrow n3" for="ukc-testimonial-primer-brand-group-1"><span class="sr">Next testimonial</span><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></label>
</div>
</div>
</div>
</div>
.ukc-testimonial-primer-brand-group { 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-testimonial-primer-brand-group *, .ukc-testimonial-primer-brand-group *::before, .ukc-testimonial-primer-brand-group *::after { box-sizing: border-box; }
.ukc-testimonial-primer-brand-group :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
.ukc-testimonial-primer-brand-group :where(ul, ol) { padding: 0; list-style: none; }
.ukc-testimonial-primer-brand-group :where(button, input, select, textarea) { font: inherit; color: inherit; }
.ukc-testimonial-primer-brand-group :where(a) { color: inherit; }
.ukc-testimonial-primer-brand-group svg { flex: none; }
.ukc-testimonial-primer-brand-group .sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ukc-testimonial-primer-brand-group { container-type: inline-size; inline-size: 100%; }
.ukc-testimonial-primer-brand-group .tg { position: relative; }
.ukc-testimonial-primer-brand-group .r { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.ukc-testimonial-primer-brand-group .slides { display: grid; }
.ukc-testimonial-primer-brand-group .slide { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity var(--uk-motion-duration) var(--uk-motion-ease); }
.ukc-testimonial-primer-brand-group .r1:checked ~ .slides .s1, .ukc-testimonial-primer-brand-group .r2:checked ~ .slides .s2, .ukc-testimonial-primer-brand-group .r3:checked ~ .slides .s3 { visibility: visible; opacity: 1; }
.ukc-testimonial-primer-brand-group figure { display: flex; flex-direction: column; align-items: flex-start; }
.ukc-testimonial-primer-brand-group .mark { width: 56px; height: 56px; display: grid; place-items: center; overflow: hidden; border-radius: min(var(--uk-radius-lg), 12px); background: var(--tint); color: var(--uk-accent); font-family: var(--uk-font-mono, ui-monospace, monospace); font-size: 64px; line-height: 1; }
.ukc-testimonial-primer-brand-group .mark span { transform: translateY(13px); }
.ukc-testimonial-primer-brand-group blockquote { margin-top: 30px; }
.ukc-testimonial-primer-brand-group blockquote p { font-family: var(--uk-font-display, inherit); font-size: 26px; line-height: 1.2; letter-spacing: -0.01em; text-wrap: pretty; }
.ukc-testimonial-primer-brand-group figcaption { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.ukc-testimonial-primer-brand-group .av { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border: 2px solid var(--uk-accent); border-radius: 999px; background: var(--uk-paper); font-weight: 600; font-size: 14px; }
.ukc-testimonial-primer-brand-group .who { display: flex; flex-direction: column; font-size: 14px; }
.ukc-testimonial-primer-brand-group cite { font-style: normal; font-weight: 600; }
.ukc-testimonial-primer-brand-group .pos { color: var(--uk-muted); }
.ukc-testimonial-primer-brand-group .ctrl { margin-top: 20px; padding-top: 16px; }
.ukc-testimonial-primer-brand-group .pager { display: inline-flex; align-items: center; gap: 10px; padding: 6px; border-radius: var(--uk-radius-full); background: var(--ink-soft); }
.ukc-testimonial-primer-brand-group .arrow { display: none; width: 30px; height: 30px; place-items: center; border: var(--uk-border-width) solid var(--uk-line); border-radius: var(--uk-radius-full); background: var(--uk-paper); color: var(--uk-ink); cursor: pointer; }
.ukc-testimonial-primer-brand-group .arrow:hover { background: var(--uk-surface); border-color: var(--line-strong); }
.ukc-testimonial-primer-brand-group .r1:checked ~ .ctrl .p1, .ukc-testimonial-primer-brand-group .r1:checked ~ .ctrl .n1, .ukc-testimonial-primer-brand-group .r2:checked ~ .ctrl .p2, .ukc-testimonial-primer-brand-group .r2:checked ~ .ctrl .n2, .ukc-testimonial-primer-brand-group .r3:checked ~ .ctrl .p3, .ukc-testimonial-primer-brand-group .r3:checked ~ .ctrl .n3 { display: grid; }
.ukc-testimonial-primer-brand-group .dots { display: flex; align-items: center; gap: 6px; height: 30px; }
.ukc-testimonial-primer-brand-group .dot { position: relative; width: 6px; height: 6px; border-radius: 999px; background: var(--line-strong); cursor: pointer; transition: width var(--uk-motion-duration) var(--uk-motion-ease), background-color var(--uk-motion-duration) var(--uk-motion-ease); }
.ukc-testimonial-primer-brand-group .dot::before { content: ""; position: absolute; top: 50%; left: 50%; width: calc(100% + 6px); height: 30px; transform: translate(-50%, -50%); }
.ukc-testimonial-primer-brand-group .r1:checked ~ .ctrl .d1, .ukc-testimonial-primer-brand-group .r2:checked ~ .ctrl .d2, .ukc-testimonial-primer-brand-group .r3:checked ~ .ctrl .d3 { width: 15px; background: var(--uk-ink); }
.ukc-testimonial-primer-brand-group .r1:focus-visible ~ .ctrl .d1, .ukc-testimonial-primer-brand-group .r2:focus-visible ~ .ctrl .d2, .ukc-testimonial-primer-brand-group .r3:focus-visible ~ .ctrl .d3 { outline: 2px solid var(--uk-accent); outline-offset: 4px; }
@container (max-width: 400px) { .ukc-testimonial-primer-brand-group blockquote p { font-size: 21px; } .ukc-testimonial-primer-brand-group .mark { width: 44px; height: 44px; font-size: 52px; } .ukc-testimonial-primer-brand-group .mark span { transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .ukc-testimonial-primer-brand-group .slide, .ukc-testimonial-primer-brand-group .dot { transition: none; } }
More testimonials
All 24Our foremen were never going to learn accounting software. They learned Halden in a morning, because it looks like the paper job sheet they already carried.
Dev Okafor
Estimator, Ridgeback Builders
I used to keep a shoebox of receipts in the truck. Now every receipt is a photo on the job sheet, and the materials line on the invoice adds itself up.
Aileen MarshBookkeeper, Marsh Plumbing and Heat Hollis Grant
Sent 14 invoices from the van between jobs today. Two are paid already.
Last month that was my whole Sunday.
Delivered
Halden support
Best message we have had all week. Mind if we share it?
Seen
From our support chat, shared with permission by Hollis Grant, Copperline Electric. Nell Ayodele Quoted a bathroom on Tuesday, sent the deposit link from the client's driveway, and had the money before I got home. Five stars from a very tired tiler.
Halden teamReplied yesterday
Thanks, Nell. Go and sit down. Deposits can now land in your bank the same day, too.
“I priced the Hadley Street extension, sent it from the van, and had the deposit before I left the driveway.”
Sam KeefeKeefe MasonryFour people, two vans