Share Sheet

Native-feeling share modal with social platforms, copy link, and QR code generation.

Preview

Usage

import { ShareSheet } from "@/components/profile"

const [isOpen, setIsOpen] = useState(false)

<ShareSheet
  isOpen={isOpen}
  onClose={() => setIsOpen(false)}
  title="Share Profile"
  description="Check out this creator"
  url="https://example.com/profile"
  image="/avatar.jpg"
  onShare={(platform) => trackShare(platform)}
/>

Supported Platforms

Twitter
Facebook
WhatsApp
Telegram
LinkedIn
Email

Props

PropTypeDescription
isOpenbooleanControls visibility
onClose() => voidClose callback
titlestringShare title
descriptionstringShare description
urlstringURL to share
imagestringPreview image
onShare(platform) => voidShare callback