Share This Panel With Copy Link

Pass it on

Know someone who should read this?

Nothing here is promoted anywhere. Every reader arrived because another one sent them a link, which is the only distribution we have.

Or send it straight toEmailSlackLinkedIn
About this block

Share This Panel With Copy LinkPRO

A closing panel that asks the reader to forward the piece rather than subscribe, pairing a read-only link field and a copy button that confirms in place with a row of send destinations.

A closing panel that asks the reader to forward the piece rather than subscribe, pairing a read-only link field and a copy button that confirms in place with a row of send destinations.

Upgrade to Pro

Pro blocks install through the shadcn CLI with your license key and ship their full source. Docs and live previews stay open to everyone, so you can read every block's details first.

Upgrade Now

Installation

Swap YOUR_EMAIL and YOUR_KEY for the email and license key on your account. Find your license key on your account page.

Radix flavor

bash
npx shadcn add "https://ui.beste.co/r/cta93?email=YOUR_EMAIL&license_key=YOUR_KEY"

Base UI flavor

bash
npx shadcn add "https://ui.beste.co/r-base/cta93?email=YOUR_EMAIL&license_key=YOUR_KEY"

This installs the block to components/beste/block/cta93.tsx, the badge6 component used for the eyebrow, and the shadcn/ui input and button primitives behind the copy row.

Quick start

The installed file exports cta93Demo alongside the block: the exact props behind the preview above. Spread it to get a working share panel in one line.

tsx
import { Cta93, cta93Demo } from "@/components/beste/block/cta93";

export default function ArticlePage() {
  return <Cta93 {...cta93Demo} />;
}

Then replace the demo with your own props. Written out, a trimmed setup looks like this:

tsx
import { Cta93 } from "@/components/beste/block/cta93";

export default function ArticleFooter() {
  return (
    <Cta93
      eyebrow="Pass it on"
      heading="Know someone who should read this?"
      description="Nothing here is promoted anywhere."
      shareUrl="https://beste.co/letters/042"
      copyLabel="Copy link"
      copiedLabel="Copied"
      destinationsLabel="Or send it straight to"
      destinations={[
        { label: "Email", href: "mailto:?body=https://beste.co/letters/042" },
        { label: "Slack", href: "https://slack.com" },
      ]}
    />
  );
}

Props

PropTypeDefaultDescription
eyebrowstring–Badge6 label inside the panel
headingstring–Panel heading
descriptionstring–Supporting paragraph
shareUrlstring–The address shown in the field and copied
copyLabelstring–Button label before copying
copiedLabelstring–Button label after copying
destinationsLabelstring–Words before the destination chips
destinationsDestination[][]Places to send it, as links
classNamestring–Extra classes for the outer section
ts
type Destination = {
  label: string;
  href: string;
};

Behavior notes

  • Copying uses navigator.clipboard?.writeText, guarded with optional chaining so an insecure context or an old browser does not throw. The field stays selectable either way, which is the fallback.
  • The confirmation is in the button itself: the label switches to copiedLabel and the icon to a check, so nothing moves on the page.
  • The copied state does not reset on a timer. It stays until the component remounts, which keeps the panel from flickering back while the reader is still looking at it.
  • The field is readOnly rather than disabled, so it can still be focused, selected and read by assistive technology.
  • Destinations are plain links, so each one can be a mailto:, an app URL or your own share route.

More CTA blocks

View all CTA
PRO

cta73

Closing CTA Panel

PRO

cta95

Parallax Panel CTA

PRO

cta84

Photo Band Story CTA

Get Pro access