Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
JavaScript-free social sharing buttons built from HTML, CSS, and Font Awesome icons that respect visitor privacy.
HTML-Only Share Buttons is a JavaScript-free social sharing component, built with plain HTML, CSS, and Font Awesome icons by developer Gregory Schier, that adds share links to any web page without loading third-party tracking scripts.
HTML-Only Share Buttons is a code snippet set rather than a full website template: it supplies the markup and styles for social sharing buttons that operate with zero JavaScript. The input is any static web page or site template; the output is a row of share links that open the relevant social network's share page directly in the browser. It is distributed as a public GitHub repository with 123 stars, and the accompanying blog post and tutorial at schier.co walks through how the buttons are put together.
Each button is an HTML anchor whose href points to a social platform's own web share URL — such as a share or intent endpoint — with a Font Awesome icon and label inside. The included CSS arranges the anchors into a button row and adds hover states. When a visitor clicks, the browser opens that network's share page in a new tab where the visitor confirms the post; no data is transmitted to the network before that click.
Free — the repository is publicly hosted on GitHub, and the accompanying tutorial is published for free on the author's blog at schier.co.
No. The repository description explicitly states the buttons are JavaScript-free: each button is a plain HTML anchor styled with CSS. If scripts are disabled, the buttons still render and click through to the platform's share page, because no client-side code is involved.
Yes. The source code is available as a public GitHub repository, and the tutorial that explains how it works is published publicly at schier.co. No paid tiers or license fees are mentioned anywhere in the repository.
Only the HTML snippets for the platforms you want, the accompanying CSS for button styling, and Font Awesome for the icons. No package manager, bundler, or build tool is needed.
No. Since there is no JavaScript, the buttons cannot query social APIs to fetch or render share counts; their only function is to link out to each platform's share page.
