Snippets Card

Bootstrap 5 Profile Card Designs (3 Styles)

Three profile cards that share one layout: cover, avatar, role, short bio, a stats row and two actions. The covers differ (gradient, photo, tinted) while heights stay equal.

Bootstrap 5 No jQuery Jan 2020 2.4K views

<section class="pc-section wdw-stage">
  <div class="container pc-wrap">
    <div class="text-center mb-5">
      <span class="wdw-eyebrow">People</span>
      <h2 class="h3 wdw-heading mb-1">Profile cards</h2>
      <p class="text-body-secondary mb-0">Three profile cards with the same slots, so a grid stays even.</p>
    </div>
    <div class="row g-4">
      <div class="col-md-6 col-lg-4">
        <article class="card wdw-card pc-card h-100 overflow-hidden text-center">
          <div class="pc-cover pc-cover-1" aria-hidden="true"></div>
          <div class="card-body px-4 pb-4 pt-0 d-flex flex-column align-items-center">
            <img class="pc-avatar rounded-circle" src="https://i.pravatar.cc/200?img=47" width="88" height="88" alt="Nora Whitfield">
            <h3 class="h5 fw-bold mt-3 mb-0">Nora Whitfield</h3>
            <p class="text-body-secondary small mb-3">Travel photographer · Lisbon</p>
            <p class="small text-body-secondary mb-3 pc-bio">Documents coastal towns and slow travel. Shoots for magazines and small tourism boards.</p>
            <div class="row g-0 w-100 text-center border rounded-3 py-2 mb-4"><div class="col-4"><div class="fw-bold">97k</div><small class="text-body-secondary">Followers</small></div><div class="col-4 border-start border-end"><div class="fw-bold">412</div><small class="text-body-secondary">Posts</small></div><div class="col-4"><div class="fw-bold">57</div><small class="text-body-secondary">Following</small></div></div>
            <div class="d-flex gap-2 mt-auto w-100">
              <button type="button" class="btn btn-primary rounded-pill flex-fill" data-pc-follow aria-pressed="false">Follow</button>
              <a href="#" class="btn btn-outline-secondary text-body rounded-pill flex-fill">Message</a>
            </div>
          </div>
        </article>
      </div>
      <div class="col-md-6 col-lg-4">
        <article class="card wdw-card pc-card h-100 overflow-hidden text-center">
          <div class="pc-cover pc-cover-2" aria-hidden="true"></div>
          <div class="card-body px-4 pb-4 pt-0 d-flex flex-column align-items-center">
            <img class="pc-avatar rounded-circle" src="https://i.pravatar.cc/200?img=12" width="88" height="88" alt="Daniel Reyes">
            <h3 class="h5 fw-bold mt-3 mb-0">Daniel Reyes</h3>
            <p class="text-body-secondary small mb-3">Senior frontend engineer · Austin</p>
            <p class="small text-body-secondary mb-3 pc-bio">Builds design systems and accessible component libraries. Open-source maintainer and conference speaker.</p>
            <div class="row g-0 w-100 text-center border rounded-3 py-2 mb-4"><div class="col-4"><div class="fw-bold">84</div><small class="text-body-secondary">Repos</small></div><div class="col-4 border-start border-end"><div class="fw-bold">23</div><small class="text-body-secondary">Talks</small></div><div class="col-4"><div class="fw-bold">12k</div><small class="text-body-secondary">Stars</small></div></div>
            <div class="d-flex gap-2 mt-auto w-100">
              <a href="#" class="btn btn-primary rounded-pill flex-fill">Profile</a>
              <a href="#" class="btn btn-outline-secondary text-body rounded-pill flex-fill">Email</a>
            </div>
          </div>
        </article>
      </div>
      <div class="col-md-6 col-lg-4">
        <article class="card wdw-card pc-card h-100 overflow-hidden text-center">
          <div class="pc-cover pc-cover-3" aria-hidden="true"></div>
          <div class="card-body px-4 pb-4 pt-0 d-flex flex-column align-items-center">
            <img class="pc-avatar rounded-circle" src="https://i.pravatar.cc/200?img=32" width="88" height="88" alt="Priya Nair">
            <h3 class="h5 fw-bold mt-3 mb-0">Priya Nair</h3>
            <p class="text-body-secondary small mb-3">Product designer · <span class="pc-dot"></span> Available</p>
            <p class="small text-body-secondary mb-3 pc-bio">Crafts onboarding flows and design systems for B2B tools, from research to handoff.</p>
            <div class="row g-0 w-100 text-center border rounded-3 py-2 mb-4"><div class="col-4"><div class="fw-bold">128</div><small class="text-body-secondary">Projects</small></div><div class="col-4 border-start border-end"><div class="fw-bold">4.9</div><small class="text-body-secondary">Rating</small></div><div class="col-4"><div class="fw-bold">6y</div><small class="text-body-secondary">Experience</small></div></div>
            <div class="d-flex gap-2 mt-auto w-100">
              <a href="#" class="btn btn-primary rounded-pill flex-fill">Hire Priya</a>
              <a href="#" class="btn btn-outline-secondary text-body rounded-pill flex-fill">Portfolio</a>
            </div>
          </div>
        </article>
      </div>
    </div>
  </div>
</section>

Built on Bootstrap 5.3.8 with plain JavaScript — no jQuery. Supports light and dark mode via data-bs-theme.

Free to use in personal and commercial projects under the MIT license.