Skip to content
JS
Package

react-collapsed

A React custom-hook for creating flexible and accessible expand/collapse components.

v4.2.0, 23 Dec 2024MITESM + CommonJSTypes: BundledAnimationReact
$ npm install react-collapsed

Key numbers

As of 25 Sept 2026
Weekly downloads
52.7k
-10% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
1 year ago
v4.2.0
GitHub stars
515
38 forks
Open issues / PRs
4 / 1
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
050k100k150kSept 2025Mar 2026Sept 2026High 107.2k (12 May 2026)Low 35k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

52,701 downloads last week, 254,177 in the last month. The 12-month change of -10% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
4.2.0, 23 Dec 20241 year ago
First published
-
Last push to GitHub
23 Dec 2024640 days before the snapshot
Repository archived
No
Open issues
4
Open pull requests
1
Commits, last 52 weeks
0
Dependents on npm
83

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
83 kB
Dependencies (1)
tiny-warning
Peer dependencies (2)
reactreact-dom
npm install react-collapsed
  • jsDelivrhttps://cdn.jsdelivr.net/npm/react-collapsed@4.2.0/
  • unpkghttps://unpkg.com/react-collapsed@4.2.0/
  • esm.shhttps://esm.sh/react-collapsed@4.2.0
PackageWeekly downloadsGzipLast releaseModuleComparison
react-expand-animated6.3k-6 years agoCommonJS-
@fireworks-js/react33.9k-2 years agoESM + CommonJS-
react-text-loop-next6.7k-5 years agoESM + CommonJS-
react-flip-numbers11.5k-1 year agoCommonJS-
react-simple-animate469.4k-1 year agoCommonJS-
transition-hook53.9k-4 years agoESM + CommonJS-
rc-queue-anim13.9k-5 years agoESM + CommonJS-
animated-number-react5.9k-5 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.