---
title: "Speaker Item"
description: "Introduces one speaker with a portrait, role, and biography - with their talk, as a card, a featured keynote or a compact row."
slug: "speaker-item"
---

import { DocPage, PageHeader, SkillPanel, SourceFiles, DocLink, SkillField, SkillText, SkillRow, ApiPill } from "../../lib/components/index";

<DocPage meta={meta}>

<PageHeader slug="speaker-item" title="Speaker Item" component="speaker-item">
  Introduces one speaker with a portrait, role, and biography - with their talk, as a card, a featured keynote or a compact row. Part of the <DocLink href="website-events-promotions.html">Events & Promotions</DocLink> blocks.
</PageHeader>

<SkillPanel component="speaker-item">
  <SkillField label="Native basis">
<SkillText>An <code>&lt;article&gt;</code> named by the speaker: a portrait with descriptive <code>alt</code>, name, role and company, an optional bio and a link to the session.</SkillText>
  </SkillField>

  <SkillField label="Web Platform APIs">
<SkillRow>
    <ApiPill href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/article" title="a self-contained item"><code>&lt;article&gt;</code></ApiPill>
    <ApiPill href="https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit" title="pictures crop instead of stretching"><code>object-fit</code></ApiPill>
    <ApiPill href="https://developer.mozilla.org/en-US/docs/Web/CSS/aspect-ratio" title="stable media boxes, no layout shift"><code>aspect-ratio</code></ApiPill>
    <ApiPill href="https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_containment/Container_queries" title="the layout follows the block width, not the viewport"><code>Container queries</code></ApiPill>
  </SkillRow>
  </SkillField>

  <SkillField label="Classes">
<SkillRow>
    <code>.mk-speaker-item</code>
    <code>.mk-speaker-item-photo</code>
    <code>.mk-speaker-item-body</code>
    <code>.mk-speaker-item-name</code>
    <code>.mk-speaker-item-role</code>
    <code>.mk-speaker-item-bio</code>
    <code>.mk-speaker-item-talk</code>
    <code>.mk-speaker-item-keynote</code>
    <code>.mk-speaker-item-tags</code>
    <code>.mk-speaker-item-social</code>
  </SkillRow>
  </SkillField>

  <SkillField label="Data attributes">
<SkillText><code>data-variant</code>: <code>featured</code>, <code>overlay</code>, <code>compact</code>.</SkillText>
  </SkillField>
</SkillPanel>

```html example label="Keynote" hint="data-variant='featured': the keynote - a 4:5 portrait beside the bio, larger type, a keynote label, the topics as tags and the speaker's links (.mk-speaker-item-social: icon links, each named by aria-label)." previewStyle="align-items:stretch;"
<article class="mk-speaker-item" data-variant="featured" aria-labelledby="sp-key">
  <img class="mk-speaker-item-photo" src="images/avatars/45-480.webp" alt="Portrait of Priya Natarajan" />
  <div class="mk-speaker-item-body">
    <span class="mk-speaker-item-keynote">Opening keynote</span>
    <h3 class="mk-speaker-item-name" id="sp-key">Priya Natarajan</h3>
    <p class="mk-speaker-item-role">Chief Product Officer, Orbit</p>
    <p class="mk-speaker-item-bio"
      >Priya spent eight years building tools for hospitals before leading product at Orbit. She writes about calm
      design and research without a research team.</p
    >
    <a class="mk-speaker-item-talk" href="#"
      ><i data-lucide="mic"></i>The quiet product: building for attention, not engagement</a
    >
    <ul class="mk-speaker-item-tags" aria-label="Topics"
      ><li>Product</li
      ><li>Research</li
      ><li>Calm design</li></ul
    >
    <ul class="mk-speaker-item-social" aria-label="Priya Natarajan elsewhere">
      <li
        ><a href="#" aria-label="Priya Natarajan on LinkedIn"
          ><svg viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
            <path
              d="M20.45 20.45h-3.55v-5.57c0-1.33-.03-3.04-1.85-3.04-1.86 0-2.14 1.45-2.14 2.94v5.67H9.36V9h3.41v1.56h.05c.48-.9 1.64-1.85 3.37-1.85 3.6 0 4.27 2.37 4.27 5.46v6.28ZM5.34 7.43a2.06 2.06 0 1 1 0-4.12 2.06 2.06 0 0 1 0 4.12ZM7.12 20.45H3.56V9h3.56v11.45Z"
            /></svg></a
      ></li>
      <li
        ><a href="#" aria-label="Priya Natarajan on X"
          ><svg viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
            <path
              d="M18.9 2H22l-6.8 7.8L23 22h-6.1l-4.8-6.3L6.6 22H3.5l7.3-8.3L1 2h6.3l4.3 5.7L18.9 2Zm-1.1 18h1.7L6.3 3.9H4.5L17.8 20Z"
            /></svg></a
      ></li>
      <li
        ><a href="#" aria-label="Priya Natarajan - website"><i data-lucide="globe"></i></a
      ></li>
    </ul>
  </div>
</article>
```

```html example label="Grid" hint="Default: a square grayscale portrait that turns to color on hover or focus, name, role, a link to the talk and the topic as a tag." previewStyle="align-items:stretch;"
<div
  style="display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: 2rem 1.25rem; width: 100%"
>
  <article class="mk-speaker-item" aria-labelledby="sp-1">
    <img class="mk-speaker-item-photo" src="images/avatars/47-480.webp" alt="Portrait of Sophie Tan" />
    <div class="mk-speaker-item-body">
      <h3 class="mk-speaker-item-name" id="sp-1">Sophie Tan</h3>
      <p class="mk-speaker-item-role">Head of Engineering, Acme</p>
      <a class="mk-speaker-item-talk" href="#"><i data-lucide="mic"></i>Sync that never fails</a>
      <ul class="mk-speaker-item-tags" aria-label="Topics"
        ><li>Sync</li></ul
      >
    </div>
  </article>
  <article class="mk-speaker-item" aria-labelledby="sp-2">
    <img class="mk-speaker-item-photo" src="images/avatars/32-480.webp" alt="Portrait of Hannah Lee" />
    <div class="mk-speaker-item-body">
      <h3 class="mk-speaker-item-name" id="sp-2">Hannah Lee</h3>
      <p class="mk-speaker-item-role">Design Lead, Northwind</p>
      <a class="mk-speaker-item-talk" href="#"><i data-lucide="mic"></i>Every badge must earn its place</a>
      <ul class="mk-speaker-item-tags" aria-label="Topics"
        ><li>Design</li></ul
      >
    </div>
  </article>
  <article class="mk-speaker-item" aria-labelledby="sp-3">
    <img class="mk-speaker-item-photo" src="images/avatars/13-480.webp" alt="Portrait of Marco Rossi" />
    <div class="mk-speaker-item-body">
      <h3 class="mk-speaker-item-name" id="sp-3">Marco Rossi</h3>
      <p class="mk-speaker-item-role">CTO, Globex</p>
      <a class="mk-speaker-item-talk" href="#"><i data-lucide="mic"></i>Async teams at 400 people</a>
      <ul class="mk-speaker-item-tags" aria-label="Topics"
        ><li>Leadership</li></ul
      >
    </div>
  </article>
  <article class="mk-speaker-item" aria-labelledby="sp-4">
    <img class="mk-speaker-item-photo" src="images/avatars/45-480.webp" alt="Portrait of Priya Natarajan" />
    <div class="mk-speaker-item-body">
      <h3 class="mk-speaker-item-name" id="sp-4">Priya Natarajan</h3>
      <p class="mk-speaker-item-role">CPO, Orbit</p>
      <a class="mk-speaker-item-talk" href="#"><i data-lucide="mic"></i>Research without a research team</a>
      <ul class="mk-speaker-item-tags" aria-label="Topics"
        ><li>Product</li></ul
      >
    </div>
  </article>
</div>
```

```html example label="Overlay" hint="data-variant='overlay': the portrait fills a 3:4 card, the topics and the name sit over a scrim; on hover or focus the picture leans in, the talk rises and the speaker's links appear in the corner (always shown on touch screens)." previewStyle="align-items:stretch;"
<div style="display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: 1.25rem; width: 100%">
  <article class="mk-speaker-item" data-variant="overlay" aria-labelledby="sp-o1">
    <img class="mk-speaker-item-photo" src="images/avatars/47-480.webp" alt="Portrait of Sophie Tan" />
    <div class="mk-speaker-item-body">
      <ul class="mk-speaker-item-tags" aria-label="Topics"
        ><li>Sync</li
        ><li>CRDTs</li></ul
      >
      <h3 class="mk-speaker-item-name" id="sp-o1">Sophie Tan</h3>
      <p class="mk-speaker-item-role">Head of Engineering, Acme</p>
      <a class="mk-speaker-item-talk" href="#"><i data-lucide="mic"></i>Sync that never fails</a>
    </div>
    <ul class="mk-speaker-item-social" aria-label="Sophie Tan elsewhere">
      <li
        ><a href="#" aria-label="Sophie Tan on LinkedIn"
          ><svg viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
            <path
              d="M20.45 20.45h-3.55v-5.57c0-1.33-.03-3.04-1.85-3.04-1.86 0-2.14 1.45-2.14 2.94v5.67H9.36V9h3.41v1.56h.05c.48-.9 1.64-1.85 3.37-1.85 3.6 0 4.27 2.37 4.27 5.46v6.28ZM5.34 7.43a2.06 2.06 0 1 1 0-4.12 2.06 2.06 0 0 1 0 4.12ZM7.12 20.45H3.56V9h3.56v11.45Z"
            /></svg></a
      ></li>
      <li
        ><a href="#" aria-label="Sophie Tan on GitHub"
          ><svg viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
            <path
              d="M12 .5a11.5 11.5 0 0 0-3.6 22.4c.6.1.8-.3.8-.6v-2.1c-3.2.7-3.9-1.5-3.9-1.5-.5-1.3-1.3-1.7-1.3-1.7-1-.7.1-.7.1-.7 1.2.1 1.8 1.2 1.8 1.2 1 1.8 2.8 1.3 3.5 1 .1-.8.4-1.3.7-1.6-2.6-.3-5.3-1.3-5.3-5.7 0-1.3.5-2.3 1.2-3.1-.1-.3-.5-1.5.1-3.1 0 0 1-.3 3.2 1.2a11 11 0 0 1 5.8 0c2.2-1.5 3.2-1.2 3.2-1.2.6 1.6.2 2.8.1 3.1.8.8 1.2 1.8 1.2 3.1 0 4.4-2.7 5.4-5.3 5.7.4.4.8 1.1.8 2.2v3.3c0 .3.2.7.8.6A11.5 11.5 0 0 0 12 .5Z"
            /></svg></a
      ></li>
    </ul>
  </article>
  <article class="mk-speaker-item" data-variant="overlay" aria-labelledby="sp-o2">
    <img class="mk-speaker-item-photo" src="images/avatars/32-480.webp" alt="Portrait of Hannah Lee" />
    <div class="mk-speaker-item-body">
      <ul class="mk-speaker-item-tags" aria-label="Topics"
        ><li>Design</li
        ><li>Accessibility</li></ul
      >
      <h3 class="mk-speaker-item-name" id="sp-o2">Hannah Lee</h3>
      <p class="mk-speaker-item-role">Design Lead, Northwind</p>
      <a class="mk-speaker-item-talk" href="#"><i data-lucide="mic"></i>Every badge must earn its place</a>
    </div>
    <ul class="mk-speaker-item-social" aria-label="Hannah Lee elsewhere">
      <li
        ><a href="#" aria-label="Hannah Lee on LinkedIn"
          ><svg viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
            <path
              d="M20.45 20.45h-3.55v-5.57c0-1.33-.03-3.04-1.85-3.04-1.86 0-2.14 1.45-2.14 2.94v5.67H9.36V9h3.41v1.56h.05c.48-.9 1.64-1.85 3.37-1.85 3.6 0 4.27 2.37 4.27 5.46v6.28ZM5.34 7.43a2.06 2.06 0 1 1 0-4.12 2.06 2.06 0 0 1 0 4.12ZM7.12 20.45H3.56V9h3.56v11.45Z"
            /></svg></a
      ></li>
      <li
        ><a href="#" aria-label="Hannah Lee - website"><i data-lucide="globe"></i></a
      ></li>
    </ul>
  </article>
  <article class="mk-speaker-item" data-variant="overlay" aria-labelledby="sp-o3">
    <img class="mk-speaker-item-photo" src="images/avatars/13-480.webp" alt="Portrait of Marco Rossi" />
    <div class="mk-speaker-item-body">
      <ul class="mk-speaker-item-tags" aria-label="Topics"
        ><li>Leadership</li></ul
      >
      <h3 class="mk-speaker-item-name" id="sp-o3">Marco Rossi</h3>
      <p class="mk-speaker-item-role">CTO, Globex</p>
      <a class="mk-speaker-item-talk" href="#"><i data-lucide="mic"></i>Async teams at 400 people</a>
    </div>
    <ul class="mk-speaker-item-social" aria-label="Marco Rossi elsewhere">
      <li
        ><a href="#" aria-label="Marco Rossi on LinkedIn"
          ><svg viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
            <path
              d="M20.45 20.45h-3.55v-5.57c0-1.33-.03-3.04-1.85-3.04-1.86 0-2.14 1.45-2.14 2.94v5.67H9.36V9h3.41v1.56h.05c.48-.9 1.64-1.85 3.37-1.85 3.6 0 4.27 2.37 4.27 5.46v6.28ZM5.34 7.43a2.06 2.06 0 1 1 0-4.12 2.06 2.06 0 0 1 0 4.12ZM7.12 20.45H3.56V9h3.56v11.45Z"
            /></svg></a
      ></li>
      <li
        ><a href="#" aria-label="Marco Rossi on X"
          ><svg viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
            <path
              d="M18.9 2H22l-6.8 7.8L23 22h-6.1l-4.8-6.3L6.6 22H3.5l7.3-8.3L1 2h6.3l4.3 5.7L18.9 2Zm-1.1 18h1.7L6.3 3.9H4.5L17.8 20Z"
            /></svg></a
      ></li>
    </ul>
  </article>
  <article class="mk-speaker-item" data-variant="overlay" aria-labelledby="sp-o4">
    <img class="mk-speaker-item-photo" src="images/avatars/45-480.webp" alt="Portrait of Priya Natarajan" />
    <div class="mk-speaker-item-body">
      <ul class="mk-speaker-item-tags" aria-label="Topics"
        ><li>Product</li
        ><li>Research</li></ul
      >
      <h3 class="mk-speaker-item-name" id="sp-o4">Priya Natarajan</h3>
      <p class="mk-speaker-item-role">CPO, Orbit</p>
      <a class="mk-speaker-item-talk" href="#"><i data-lucide="mic"></i>Research without a research team</a>
    </div>
    <ul class="mk-speaker-item-social" aria-label="Priya Natarajan elsewhere">
      <li
        ><a href="#" aria-label="Priya Natarajan on LinkedIn"
          ><svg viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
            <path
              d="M20.45 20.45h-3.55v-5.57c0-1.33-.03-3.04-1.85-3.04-1.86 0-2.14 1.45-2.14 2.94v5.67H9.36V9h3.41v1.56h.05c.48-.9 1.64-1.85 3.37-1.85 3.6 0 4.27 2.37 4.27 5.46v6.28ZM5.34 7.43a2.06 2.06 0 1 1 0-4.12 2.06 2.06 0 0 1 0 4.12ZM7.12 20.45H3.56V9h3.56v11.45Z"
            /></svg></a
      ></li>
      <li
        ><a href="#" aria-label="Priya Natarajan on X"
          ><svg viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
            <path
              d="M18.9 2H22l-6.8 7.8L23 22h-6.1l-4.8-6.3L6.6 22H3.5l7.3-8.3L1 2h6.3l4.3 5.7L18.9 2Zm-1.1 18h1.7L6.3 3.9H4.5L17.8 20Z"
            /></svg></a
      ></li>
      <li
        ><a href="#" aria-label="Priya Natarajan - website"><i data-lucide="globe"></i></a
      ></li>
    </ul>
  </article>
</div>
```

```html example label="Compact" hint="data-variant='compact': a round portrait with name, role and talk on one row - for agendas and sidebars." previewStyle="align-items:stretch;"
<div style="display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1rem 2rem; width: 100%">
  <article class="mk-speaker-item" data-variant="compact" aria-labelledby="sp-c1">
    <img class="mk-speaker-item-photo" src="images/avatars/47-480.webp" alt="Portrait of Sophie Tan" />
    <div class="mk-speaker-item-body">
      <h3 class="mk-speaker-item-name" id="sp-c1">Sophie Tan</h3>
      <p class="mk-speaker-item-role">Acme</p>
      <a class="mk-speaker-item-talk" href="#"><i data-lucide="mic"></i>Sync that never fails</a>
    </div>
  </article>
  <article class="mk-speaker-item" data-variant="compact" aria-labelledby="sp-c2">
    <img class="mk-speaker-item-photo" src="images/avatars/32-480.webp" alt="Portrait of Hannah Lee" />
    <div class="mk-speaker-item-body">
      <h3 class="mk-speaker-item-name" id="sp-c2">Hannah Lee</h3>
      <p class="mk-speaker-item-role">Northwind</p>
      <a class="mk-speaker-item-talk" href="#"><i data-lucide="mic"></i>Every badge must earn its place</a>
    </div>
  </article>
</div>
```

<SourceFiles component="speaker-item" section="css" />

</DocPage>
