# nygardk/react-share

Social media share buttons and share counts for React

Repository: https://github.com/nygardk/react-share
Canonical: https://ross.abutalabs.com/products/react-share
Language: TypeScript
License: MIT
License Family: permissive
Topics: react, react-component, social-media, share-counts, sharing
Last push: 2026-03-09T16:36:33+00:00

## Health v2 (maintenance only)
Score: 74/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 71, release rhythm 62, longevity 100
- inputs: {"age_days": 3966, "days_push": 177, "days_rel": 177, "gap_med": 34, "n_releases_24m": 6}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2813, forks 442 (observed 2026-08-28T04:07:23.755366+00:00)

## What it is
A React component library providing social media share buttons and share counts for many networks like X, Facebook, LinkedIn, WhatsApp, and Reddit. It renders native button elements with no external SDK dependencies and supports tree shaking and custom icons.

## Use cases
- add social share buttons to a react app
- share a page to whatsapp and telegram from react
- show share counts for facebook and linkedin
- custom styled share buttons with my own icons
- accessible social sharing buttons with aria labels
- share blog posts to x and reddit
- replace social media sdk scripts with lightweight react components

## When to choose
- you need share buttons for many social networks in a React app
- you want to avoid loading third-party SDK scripts
- you need tree-shakeable, accessible button components with bundled icons

## When to avoid
- your app is not built with React
- you need native mobile share sheets rather than popup windows
- you rely on share counts, which are deprecated

## Facets
- artifact type: library
- maturity: stable
- function: ui-components, web-framework
- domain: web-development, frontend, social-media
- platform: cross-platform
- tags: react, share-buttons, social-sharing, react-component, typescript, nodejs, web-server

## Member repositories
- nygardk/react-share (main) score 74

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:23.755366+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:13:30.342737+00:00, confidence not recorded.
  - readme: https://github.com/nygardk/react-share (fetched 2026-08-28T04:07:23.755366+00:00, sha 5e65d47cb3e5)
  - registry_npm: https://registry.npmjs.org/react-share (fetched 2026-08-29T09:54:11.616481+00:00, sha 91a19f400205)
- Data as of 2026-08-30T08:39:29.467469+00:00.
