Radial Share Menu

Share pill folds into a close button while channel bubbles spring out on an arc; the pick glides to centre, becomes a check and really copies the link.

Try it: Click Share — arrow keys around the arc, Enter to pick, Esc to close.

Installation

Install with the shadcn CLI:

npx shadcn@latest add https://www.framekitui.live/r/radial-share-menu.json

Or, with the @framekit namespace registered: npx shadcn@latest add @framekit/radial-share-menu. You can also copy the source into components/ui/radial-share-menu.tsx (view on GitHub).

Usage

import { RadialShareMenu } from '@/components/ui/radial-share-menu'

Props

Component props
PropTypeDefaultNotes
urlstringlocation.hrefLink written to the clipboard by copy channels.
channelsShareChannel[]DEFAULT_SHARE_CHANNELS{ id, label, icon, color, ink?, feedback?, kind?, href? }
radiusnumber104Arc radius in px.
onShare(channel) => void | Promise<unknown>—Async hook; rejecting shows a retry bubble.
resetAfternumber1700Confirmation hold before reset (ms).

Dependencies

  • motion
  • lucide-react
  • Confetti Burst Button

    A celebratory primary action: the label rolls to a check while a cone of paper confetti (or your own glyphs) bursts from the button with real drag, gravity and tumble. The canvas exists only while…

  • Cloud Launch Publish Button

    The arrow launches out of the cloud on a puff of vapour, a progress seam draws along the bottom edge, and a check drops back into the cloud.

  • Wax Seal Button

    A paper-and-ink send button: press it and a drop of wax falls into the slot and spreads into an uneven puddle, a brass stamp thumps down and lifts away leaving an embossed monogram, and the label…

  • Shredder Delete Button

    Pill holds still while its icon works: the lid flips, a sheet feeds in, paper ribbons tumble out below and a tally counts each shred.

  • Googly Gaze Button

    Eyes track the cursor and smirk on click.

  • Orbit Dot Export Button

    Pill tucks down to its ring, a shaped comet orbits with a trailing progress arc, the ring floods solid, the arrow bends into a check and the pill reopens as the next action.

See all 24 Buttons components