Skip to content
JS
Package

react-collapse

Component-wrapper for collapse animation for elements with variable (and dynamic) height

v5.1.1, 23 Nov 2021MITCommonJSTypes: NoneReact
$ npm install react-collapse

Key numbers

As of 25 Sept 2026
Weekly downloads
186.2k
+41% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
4 years ago
v5.1.1
GitHub stars
1.1k
109 forks
Open issues / PRs
8 / 2
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
0100k200k300k400kSept 2025Mar 2026Sept 2026High 369.8k (5 May 2026)Low 79.7k (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.

186,244 downloads last week, 956,296 in the last month. The 12-month change of +41% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
5.1.1, 23 Nov 20214 years ago
First published
-
Last push to GitHub
19 Oct 20221,436 days before the snapshot
Repository archived
No
Open issues
8
Open pull requests
2
Commits, last 52 weeks
0
Dependents on npm
298

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
71 kB
Dependencies (0)
None
Peer dependencies (1)
react
npm install react-collapse
  • jsDelivrhttps://cdn.jsdelivr.net/npm/react-collapse@5.1.1/
  • unpkghttps://unpkg.com/react-collapse@5.1.1/
  • esm.shhttps://esm.sh/react-collapse@5.1.1
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.