ShareButton — Needs UX design
Pending design review and UX validation.
ShareButton
A single share/copy action with readable icons, text or compact presentations and consistent feedback. Production uses native sharing with clipboard fallback. All interactions here use synthetic callbacks and public example URLs.
Playground
Live preview
Colors
Neutral
Outline
Primary
Secondary
Guild
Hunter
Presentations and sizes
Small text action
Medium text action
Large text action
Compact icon
Small IconButton for compact page headers
Responsive — resize below 768px
Copy link only
Feedback states
Ready
Pending
Click to simulate a pending operation. Only one spinner replaces the share icon.
Copied
Click to show the success state and accessible confirmation.
Failed / manual recovery
Click to simulate failure. Recovery appears in a popup without adding text below the action.
Cancelled
Cancelling native sharing returns to the ready state without an error.
Disabled
Code
<ShareButton target={publicTarget} display="responsive" variant="utility" />
<ShareButton target={publicTarget} display="icon" variant="guild" copyOnly />Used in
Includes use through shared UI components.
AppBack Office
