@gracefullight/react-share

Headless social sharing library for React - Example App

Basic Usage

Render prop pattern - full control over your UI

Direct URL Strategies

No SDK required - opens share dialog directly

Link Copy

Copy URL to clipboard

Dynamic URL

Async URL resolution - fetch shareable URL on click

Features

  • ✓Headless - Total control over your UI
  • ✓Performance - SDKs loaded only when needed
  • ✓Strategy Pattern - Easy to extend
  • ✓Native Share - Web Share API support
  • ✓Dynamic URLs - Async URL resolution