Summary
Prose has Open Graph and Twitter meta tags for link previews but no share buttons on posts. Readers who want to share a post must manually copy the URL. Share buttons reduce friction and increase content distribution.
Who Has This
- WordPress — Via plugins (Jetpack, AddThis, ShareThis)
- Ghost — Built-in share buttons (varies by theme)
Why This Matters
Share buttons provide a frictionless way for readers to distribute content. While OG/Twitter meta tags ensure shared links look good, the share action itself requires manual effort without buttons. Even a simple "copy link" button helps.
Recommended Implementation
Share Targets
- X/Twitter —
https://twitter.com/intent/tweet?url=URL&text=TITLE
- LinkedIn —
https://www.linkedin.com/sharing/share-offsite/?url=URL
- Facebook —
https://www.facebook.com/sharer/sharer.php?u=URL
- Copy link — Copy URL to clipboard with feedback
- Native share — Use Web Share API (
navigator.share) on mobile (progressive enhancement)
- Email —
mailto:?subject=TITLE&body=URL
Implementation
- Create a
_share_buttons.html.erb partial
- Use simple anchor tags with share URLs (no JavaScript required for basic links)
- Add a Stimulus controller for "copy link" functionality
- Use Web Share API for mobile with fallback to individual buttons
- Position at the bottom of post content (before comments)
- Optionally add floating/sticky share bar on scroll
Design
- Minimal, icon-based buttons (SVG icons, no external icon libraries)
- Responsive — horizontal on desktop, compact on mobile
- Match site's design language
Key Files to Create/Modify
app/views/posts/_share_buttons.html.erb
app/views/posts/show.html.erb — Include share partial
app/javascript/controllers/share_controller.js — Copy link + Web Share API
- SVG icons for social platforms
Summary
Prose has Open Graph and Twitter meta tags for link previews but no share buttons on posts. Readers who want to share a post must manually copy the URL. Share buttons reduce friction and increase content distribution.
Who Has This
Why This Matters
Share buttons provide a frictionless way for readers to distribute content. While OG/Twitter meta tags ensure shared links look good, the share action itself requires manual effort without buttons. Even a simple "copy link" button helps.
Recommended Implementation
Share Targets
https://twitter.com/intent/tweet?url=URL&text=TITLEhttps://www.linkedin.com/sharing/share-offsite/?url=URLhttps://www.facebook.com/sharer/sharer.php?u=URLnavigator.share) on mobile (progressive enhancement)mailto:?subject=TITLE&body=URLImplementation
_share_buttons.html.erbpartialDesign
Key Files to Create/Modify
app/views/posts/_share_buttons.html.erbapp/views/posts/show.html.erb— Include share partialapp/javascript/controllers/share_controller.js— Copy link + Web Share API