Dev Helpers

UI Components / Overlays and disclosures

Share options popover

Dev Helpers · October 20, 2025

A share popover should expose actionable destinations and restore focus when dismissed. Make a copy-link option understandable without its icon.

Worked example

<button type="button" popovertarget="panel">Share this guide</button>
<div popover id="panel" class="box">
  <a href="mailto:?subject=Studio%20guide">Send by email</a>
  <p>
    <button type="button" popovertarget="panel" popovertargetaction="hide">
      Close
    </button>
  </p>
</div>

Implementation notes

Sharing a private item may require a separate permission decision. The popover should describe the destination without silently changing access.

Try it yourself

Open from the keyboard, dismiss with Escape and reopen.

Open the UI Components example →

Editorial date October 20, 2025 · Published December 6, 2026

Related articles

Article byline

A byline combines authorship and dates without competing with the headline. Use a machine-readable time value alongside the visible date.

Audio episode transcript card

An episode transcript serves readers who cannot or prefer not to play audio. Identify speakers in text and keep the transcript easy to navigate.

Split editorial hero

A split editorial hero needs a deliberate reading order when columns collapse. Place essential copy where it remains intelligible without the accompanying image.