Skip to content
Pebble Pro is here at $49 one timeSee what’s included ↗
Pebble
ComponentsDocsMCPPricing
⌕ Find a component↗Log in
All components 673

Categories

Core inputs & forms46Buttons & actions33Navigation36Overlays & feedback49Data display33Charts & data viz40Cards & layout43Marketing blocks38App shells & pages37AI interfaces40Text & typography effects33Backgrounds & visual effects38Motion & transitions32Numbers & counters32Media34E-commerce333D & interactive36Themed sets40
Start with the essentials.Installation guide ↗Connect your agent ↗
← All componentsButtons & actions

Share Button

A share sheet popover with copy-link feedback, a QR code for the link, generic email and message targets and native share when available.

Preview

Pebble notes · 6 min read

Our token diet: 214 values down to 61

By Priya Shah · Nov 3

A primary variant without the QR option.

Install

Pro source requires Pebble Pro. Try the full preview above.

Props

PropTypeDefaultDescription
url / title / textstring— / "" / —What to share. url is required.
targetsShareTarget[]Email, Message{ id, label, icon, href(url, title) } links shown as round targets.
qr / defaultShowQrboolean / booleantrue / falseOffer a QR code toggle for the link; start with it showing.
label / variantReactNode / "primary" | "secondary""Share" / "secondary"Trigger text and style.
onCopy(url) => void—Called after the link is copied.
open / defaultOpen / onOpenChange / autoFocusboolean / boolean / (open) => void / boolean— / false / — / trueSheet state; autoFocus off for passive previews.

Pro component

Try the full preview above. Editable source and build guides require Pebble Pro.

Buy Pebble Pro — $49How source access works ↗
Pebble

Small details.
Better interfaces.

React components to explore, make your own, and build on.

Library

  • Components
  • Installation
  • Pricing

Resources

  • For agents
  • About
  • Support

Legal

  • License
  • Terms
  • Privacy
  • Final sale

Built by Pebble

A product of Praxys Solutions LLC ↗

Pebble Pro is live

$49 one time, lifetime updates ↗