Bootstrap 5 Team Section with Round Profile Images
A team section of profile cards with round photos, role, a short quote and profile and message buttons.
<section class="wdw-stage">
<div class="container" style="max-width:1040px">
<div class="text-center mx-auto mb-5" style="max-width:560px">
<span class="wdw-eyebrow">Testimonials</span>
<h1 class="display-6 wdw-heading mt-1 mb-3">Opinions matter</h1>
<p class="wdw-muted mb-0">A homegrown, globally connected hub that prides itself on creativity and innovation. Here is what the people we work with say.</p>
</div>
<div class="row g-4 justify-content-center">
<div class="col-md-6 col-lg-4">
<article class="wdw-card tm h-100 d-flex flex-column text-center p-4 pt-5">
<img class="tm-photo rounded-circle mx-auto" src="https://i.pravatar.cc/240?img=47" width="96" height="96" alt="Angelina Frederic">
<h2 class="h5 wdw-heading mt-3 mb-1">Angelina Frederic</h2>
<p class="small fw-semibold text-primary mb-3">Head of marketing, K Mart</p>
<svg class="tm-q" width="28" height="28" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M7.2 6C4.9 7.3 3.5 9.6 3.5 12.4V18h6v-6H6.3c.1-1.6.9-2.9 2.3-3.7L7.2 6Zm9.5 0c-2.3 1.3-3.7 3.6-3.7 6.4V18h6v-6h-3.2c.1-1.6.9-2.9 2.3-3.7L16.7 6Z"/></svg>
<p class="wdw-muted mb-3">“I expected nothing less than perfect from a team of experts. They are the best we have worked with.”</p>
<div class="d-flex justify-content-center gap-2 mb-4 tm-soc"><a href="#" class="tm-s" aria-label="Angelina Frederic on LinkedIn"><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="M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-4 0v7h-4v-7a6 6 0 0 1 6-6zM2 9h4v12H2zM4 2a2 2 0 1 1 0 4 2 2 0 0 1 0-4z"/></svg></a><a href="#" class="tm-s" aria-label="Email Angelina Frederic"><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"><rect x="3" y="5" width="18" height="14" rx="2"/><path d="m3 7 9 6 9-6"/></svg></a></div>
<div class="d-flex justify-content-center gap-2 mt-auto">
<a class="btn btn-outline-primary btn-sm rounded-pill px-3" href="#">Profile</a>
<a class="btn btn-primary btn-sm rounded-pill px-3" href="#">Message</a>
</div>
</article>
</div>
<div class="col-md-6 col-lg-4">
<article class="wdw-card tm wdw-aurora tm-feat h-100 d-flex flex-column text-center p-4 pt-5">
<img class="tm-photo rounded-circle mx-auto" src="https://i.pravatar.cc/240?img=33" width="96" height="96" alt="Jackson Totham">
<h2 class="h5 wdw-heading mt-3 mb-1">Jackson Totham</h2>
<p class="small fw-semibold mb-3 opacity-75">CEO, Redbird</p>
<svg class="tm-q" width="28" height="28" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M7.2 6C4.9 7.3 3.5 9.6 3.5 12.4V18h6v-6H6.3c.1-1.6.9-2.9 2.3-3.7L7.2 6Zm9.5 0c-2.3 1.3-3.7 3.6-3.7 6.4V18h6v-6h-3.2c.1-1.6.9-2.9 2.3-3.7L16.7 6Z"/></svg>
<p class="mb-3">“A group of real professionals who know exactly what they are doing. Working with them was a pleasure.”</p>
<div class="d-flex justify-content-center gap-2 mb-4 tm-soc"><a href="#" class="tm-s" aria-label="Jackson Totham on LinkedIn"><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="M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-4 0v7h-4v-7a6 6 0 0 1 6-6zM2 9h4v12H2zM4 2a2 2 0 1 1 0 4 2 2 0 0 1 0-4z"/></svg></a><a href="#" class="tm-s" aria-label="Email Jackson Totham"><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"><rect x="3" y="5" width="18" height="14" rx="2"/><path d="m3 7 9 6 9-6"/></svg></a></div>
<div class="d-flex justify-content-center gap-2 mt-auto">
<a class="btn btn-outline-light btn-sm rounded-pill px-3" href="#">Profile</a>
<a class="btn btn-light btn-sm rounded-pill px-3" href="#">Message</a>
</div>
</article>
</div>
<div class="col-md-6 col-lg-4">
<article class="wdw-card tm h-100 d-flex flex-column text-center p-4 pt-5">
<img class="tm-photo rounded-circle mx-auto" src="https://i.pravatar.cc/240?img=44" width="96" height="96" alt="Maria Lopez">
<h2 class="h5 wdw-heading mt-3 mb-1">Maria Lopez</h2>
<p class="small fw-semibold text-primary mb-3">Product lead, Finlo</p>
<svg class="tm-q" width="28" height="28" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M7.2 6C4.9 7.3 3.5 9.6 3.5 12.4V18h6v-6H6.3c.1-1.6.9-2.9 2.3-3.7L7.2 6Zm9.5 0c-2.3 1.3-3.7 3.6-3.7 6.4V18h6v-6h-3.2c.1-1.6.9-2.9 2.3-3.7L16.7 6Z"/></svg>
<p class="wdw-muted mb-3">“Clear communication, fast delivery and a result that exceeded what we had in mind.”</p>
<div class="d-flex justify-content-center gap-2 mb-4 tm-soc"><a href="#" class="tm-s" aria-label="Maria Lopez on LinkedIn"><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="M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-4 0v7h-4v-7a6 6 0 0 1 6-6zM2 9h4v12H2zM4 2a2 2 0 1 1 0 4 2 2 0 0 1 0-4z"/></svg></a><a href="#" class="tm-s" aria-label="Email Maria Lopez"><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"><rect x="3" y="5" width="18" height="14" rx="2"/><path d="m3 7 9 6 9-6"/></svg></a></div>
<div class="d-flex justify-content-center gap-2 mt-auto">
<a class="btn btn-outline-primary btn-sm rounded-pill px-3" href="#">Profile</a>
<a class="btn btn-primary btn-sm rounded-pill px-3" href="#">Message</a>
</div>
</article>
</div>
</div>
</div>
</section>
/* Web Designer Wall library style — shared base for every Bootstrap 5 snippet.
Indigo accent, Plus Jakarta Sans, soft cards, pill buttons. Works in light and dark. */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");
:root,
[data-bs-theme="light"] {
--wdw-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
--bs-body-font-family: var(--wdw-font);
--bs-primary: #4f46e5;
--bs-primary-rgb: 79, 70, 229;
--bs-primary-text-emphasis: #3730a3;
--bs-primary-bg-subtle: #eef2ff;
--bs-primary-border-subtle: #c7d2fe;
--bs-link-color: #4f46e5;
--bs-link-color-rgb: 79, 70, 229;
--bs-link-hover-color: #4338ca;
--bs-link-hover-color-rgb: 67, 56, 202;
--bs-focus-ring-color: rgba(79, 70, 229, 0.25);
--bs-border-radius: 0.75rem;
--bs-border-radius-lg: 1rem;
--bs-border-radius-xl: 1.25rem;
--wdw-radius-card: 1.25rem;
--wdw-shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 16px 40px -16px rgba(16, 24, 40, 0.22);
--wdw-shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06), 0 4px 12px -4px rgba(16, 24, 40, 0.12);
--wdw-stage: #f5f6fb;
}
[data-bs-theme="dark"] {
--bs-primary: #818cf8;
--bs-primary-rgb: 129, 140, 248;
--bs-primary-text-emphasis: #c7d2fe;
--bs-primary-bg-subtle: rgba(129, 140, 248, 0.14);
--bs-primary-border-subtle: rgba(129, 140, 248, 0.35);
--bs-link-color: #a5b4fc;
--bs-link-color-rgb: 165, 180, 252;
--bs-link-hover-color: #c7d2fe;
--bs-link-hover-color-rgb: 199, 210, 254;
--bs-focus-ring-color: rgba(129, 140, 248, 0.35);
--wdw-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 16px 40px -16px rgba(0, 0, 0, 0.7);
--wdw-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 12px -4px rgba(0, 0, 0, 0.5);
--wdw-stage: #0f1117;
}
body { font-family: var(--wdw-font); -webkit-font-smoothing: antialiased; }
/* Bootstrap compiles its blue into these components; point them at the accent. */
.btn-primary {
--bs-btn-bg: var(--bs-primary); --bs-btn-border-color: var(--bs-primary);
--bs-btn-hover-bg: #4338ca; --bs-btn-hover-border-color: #4338ca;
--bs-btn-active-bg: #3730a3; --bs-btn-active-border-color: #3730a3;
--bs-btn-disabled-bg: var(--bs-primary); --bs-btn-disabled-border-color: var(--bs-primary);
--bs-btn-focus-shadow-rgb: var(--bs-primary-rgb);
}
[data-bs-theme="dark"] .btn-primary { --bs-btn-color: #0f1117; --bs-btn-hover-bg: #a5b4fc; --bs-btn-hover-border-color: #a5b4fc; --bs-btn-hover-color: #0f1117; --bs-btn-active-color: #0f1117; }
.btn-outline-primary {
--bs-btn-color: var(--bs-primary); --bs-btn-border-color: var(--bs-primary);
--bs-btn-hover-bg: var(--bs-primary); --bs-btn-hover-border-color: var(--bs-primary);
--bs-btn-active-bg: var(--bs-primary); --bs-btn-active-border-color: var(--bs-primary);
--bs-btn-focus-shadow-rgb: var(--bs-primary-rgb);
}
.btn { --bs-btn-font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; }
.btn-sm { min-height: 36px; }
.form-control, .form-select { min-height: 44px; border-radius: .75rem; }
.form-control:focus, .form-select:focus, .form-check-input:focus { border-color: rgba(var(--bs-primary-rgb), .6); box-shadow: 0 0 0 .25rem var(--bs-focus-ring-color); }
.form-check-input:checked { background-color: var(--bs-primary); border-color: var(--bs-primary); }
.nav-pills { --bs-nav-pills-link-active-bg: var(--bs-primary); }
.nav { --bs-nav-link-color: var(--bs-secondary-color); --bs-nav-link-hover-color: var(--bs-emphasis-color); }
.pagination { --bs-pagination-active-bg: var(--bs-primary); --bs-pagination-active-border-color: var(--bs-primary); --bs-pagination-color: var(--bs-body-color); --bs-pagination-focus-box-shadow: 0 0 0 .25rem var(--bs-focus-ring-color); }
.progress, .progress-stacked { --bs-progress-bar-bg: var(--bs-primary); }
.list-group { --bs-list-group-active-bg: var(--bs-primary); --bs-list-group-active-border-color: var(--bs-primary); }
.dropdown-menu { --bs-dropdown-link-active-bg: var(--bs-primary); border-radius: .875rem; box-shadow: var(--wdw-shadow-sm); }
.accordion { --bs-accordion-active-bg: var(--bs-primary-bg-subtle); --bs-accordion-active-color: var(--bs-primary-text-emphasis); --bs-accordion-btn-focus-box-shadow: 0 0 0 .25rem var(--bs-focus-ring-color); }
.badge { font-weight: 600; }
/* Library building blocks — use these instead of re-inventing them per snippet. */
.wdw-stage { min-height: 100vh; display: flex; align-items: center; background: var(--wdw-stage); padding-block: 3rem; }
.wdw-card { background: var(--bs-body-bg); border: 1px solid var(--bs-border-color-translucent); border-radius: var(--wdw-radius-card); box-shadow: var(--wdw-shadow); }
.wdw-card-sm { background: var(--bs-body-bg); border: 1px solid var(--bs-border-color-translucent); border-radius: 1rem; box-shadow: var(--wdw-shadow-sm); }
.wdw-aurora { position: relative; color: #fff; background: radial-gradient(60% 55% at 100% 0, #818cf8 0, transparent 70%), radial-gradient(65% 60% at 0 100%, #ec4899 0, transparent 65%), #1e1b4b; }
.wdw-eyebrow { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bs-primary); }
.wdw-heading { font-weight: 800; letter-spacing: -.02em; color: var(--bs-emphasis-color); }
.wdw-muted { color: var(--bs-secondary-color); }
.wdw-icon { width: 2.75rem; height: 2.75rem; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: .875rem; background: var(--bs-primary-bg-subtle); color: var(--bs-primary); }
/* Component */
.tm { position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.tm::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 64px; background: linear-gradient(135deg, var(--bs-primary-bg-subtle), rgba(var(--bs-primary-rgb), .22)); }
.tm-feat::before { display: none; }
.tm:hover { transform: translateY(-4px); }
.tm-photo { position: relative; object-fit: cover; border: 4px solid var(--bs-body-bg); box-shadow: var(--wdw-shadow-sm); }
.tm-feat .tm-photo { border-color: rgba(255,255,255,.9); }
.tm-q { align-self: center; color: var(--bs-primary); opacity: .45; margin-bottom: .5rem; }
.tm-feat .tm-q { color: #fff; opacity: .6; }
.tm-feat .btn-outline-light { --bs-btn-hover-color: #1e1b4b; }
.tm-s { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; color: var(--bs-secondary-color); background: var(--bs-tertiary-bg); }
.tm-s:hover, .tm-s:focus-visible { color: var(--bs-primary); }
.tm-feat .tm-s { color: #fff; background: rgba(255,255,255,.16); }
.tm-feat .tm-s:hover, .tm-feat .tm-s:focus-visible { color: #fff; background: rgba(255,255,255,.3); }
@media (prefers-reduced-motion: reduce) { .tm { transition: none; } .tm:hover { transform: none; } }
.tm-feat h2, .tm-feat p { color: #fff; }
<section class="op-stage">
<div class="op-panel">
<header class="op-head">
<h2 class="fs-3xl">Opinions matter</h2>
<p class="fg-secondary">We are a homegrown, globally connected experimental hub that prides itself on its creativity and innovation.</p>
</header>
<div class="op-grid">
<figure class="op-card">
<span class="avatar avatar-xl op-avatar"><img class="avatar-img" src="https://i.pravatar.cc/160?img=47" alt="Portrait of Angelina Frederic" width="80" height="80"></span>
<blockquote class="op-quote">“I expected nothing less than perfect from a team of experts. They are the best team ever!”</blockquote>
<figcaption class="op-who"><strong>Angelina Frederic</strong><span>Head of marketing, Kmart</span></figcaption>
</figure>
<figure class="op-card">
<span class="avatar avatar-xl op-avatar"><img class="avatar-img" src="https://i.pravatar.cc/160?img=12" alt="Portrait of Jackson Totham" width="80" height="80"></span>
<blockquote class="op-quote">“I really enjoyed working with them. A group of professionals who know exactly what they are doing.”</blockquote>
<figcaption class="op-who"><strong>Jackson Totham</strong><span>CEO, Northpeak Drinks</span></figcaption>
</figure>
<figure class="op-card">
<span class="avatar avatar-xl op-avatar"><img class="avatar-img" src="https://i.pravatar.cc/160?img=15" alt="Portrait of David Gregory" width="80" height="80"></span>
<blockquote class="op-quote">“I always wanted cool videos of my concerts and never knew whom to talk to. They are amazing!”</blockquote>
<figcaption class="op-who"><strong>David Gregory</strong><span>Resident DJ, IBDC</span></figcaption>
</figure>
</div>
<div class="op-foot">
<a class="btn-solid theme-primary btn-lg" href="#">Tell us a nice word</a>
</div>
</div>
</section>
.op-stage { min-height: 100vh; display: grid; place-items: center; padding: 2rem 1rem; background: var(--bs-bg-2); }
.op-panel { width: 100%; max-width: 1040px; padding: 3rem 1.5rem; text-align: center; background: var(--bs-bg-body); border: 1px solid var(--bs-border-color); border-radius: var(--bs-radius-7); box-shadow: 0 24px 60px -30px rgb(0 0 0 / .3); }
.op-head { max-width: 36rem; margin-inline: auto; }
.op-head h2 { margin-bottom: .75rem; letter-spacing: -.02em; }
.op-head p { margin: 0; }
.op-grid { display: grid; grid-template-columns: 1fr; gap: 4rem 1.5rem; margin-block: 4.5rem 2.5rem; }
.op-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1rem; margin: 0; padding: 3.25rem 1.5rem 1.75rem; background: var(--bs-bg-1); border: 1px solid var(--bs-border-color); border-radius: var(--bs-radius-6); transition: transform .2s, box-shadow .2s; }
.op-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -20px rgb(0 0 0 / .35); }
.op-avatar { position: absolute; top: 0; left: 50%; translate: -50% -50%; --bs-avatar-size: 5rem; --bs-avatar-border-width: 4px; box-shadow: 0 0 0 4px var(--bs-bg-body); }
.op-quote { margin: 0; font-size: .9375rem; line-height: 1.6; color: var(--bs-fg-2); }
.op-who { display: flex; flex-direction: column; margin-top: auto; line-height: 1.35; }
.op-who span { font-size: .8125rem; color: var(--bs-fg-3); }
@media (prefers-reduced-motion: reduce) { .op-card { transition: none; } .op-card:hover { transform: none; } }
@media (width >= 768px) {
.op-panel { padding: 4rem 3rem; }
.op-grid { grid-template-columns: repeat(3, 1fr); }
}
Built on Bootstrap 6.0.0-alpha.1 (ES modules, no jQuery). Load Bootstrap through an import map and run the JavaScript as type="module" — the downloaded file is already set up that way. Alpha releases can still change class names.
Built on Bootstrap 5.3.8 with plain JavaScript — no jQuery. Supports light and dark mode via data-bs-theme.