Loading...
Loading...
When the user wants to add, optimize, or audit social share buttons (share article to X, LinkedIn, Facebook, etc.). Also use when the user mentions "share buttons," "social share," "share to X," "share to LinkedIn," "social sharing," "share icons," "share widget," "native share," "Web Share API," or "share intent URLs."
npx skill4agent add kostja94/marketing-skills social-share-generator| Placement | Best For | Notes |
|---|---|---|
| After first paragraph | Most articles | Catches speed-readers; visible early |
| Sticky sidebar | Long-form (desktop) | Always visible; consider hiding on mobile |
| Below title / hero | Short posts | High visibility |
| End of article | All | Natural completion point; pair with CTA |
| Mid-article (after key insight) | Long content | Place at friction points (after surprising stat, before CTA) |
| Platform | Share URL pattern |
|---|---|
| X (Twitter) | |
| |
| |
| |
| Telegram | |
urltextencodeURIComponent()text| Platform | Min size | Colors | Notes |
|---|---|---|---|
| 16px | Blue #1877F2 or monochrome | No rotation, animation without permission | |
| X (Twitter) | 32px | Black or white only | Use current X logo, not deprecated bird |
| 21px height | Blue #0A66C2 or monochrome | Use "in" bug for icons | |
| 29×29px | Black, white, or official gradient | Glyph for social icons |
| Item | Guideline |
|---|---|
| Format | SVG preferred (scalable, small); PNG/WebP with fallback |
| Performance | Lightweight; avoid heavy share plugins that slow LCP |
| Accessibility | |
| Mobile | Touch targets ≥44×44px; consider native share API ( |
navigator.shareif (navigator.share) {
navigator.share({ title, url, text }).catch(() => {});
} else {
window.open(shareUrl, '_blank', 'noopener');
}