nkbt/react-collapse
Component-wrapper for collapse animation with react-motion for elements with variable (and dynamic) height observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3975
- days_rel: n/a
- days_push: 1414
- n_releases_24m: 0
Adoption not part of the score
1134 stars · 109 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A React component wrapper that provides smooth collapse/expand animations for elements with variable or dynamic height, built on react-motion. It supports always-mounted content and an unmount-on-collapse variant.
Use cases
- animate expanding and collapsing panels with dynamic height
- build accordion or FAQ sections in React
- slide-down/slide-up reveal of content
- collapse content that unmounts when hidden
- smooth height transitions without fixed heights
When to choose
- you need collapse animations for content of unknown or changing height
- you want a small focused React component with CSS-transition-based animation
- you need an option to unmount collapsed content for performance
When to avoid
- you are not using React
- you need full accordion suites with keyboard/accessibility handling built in
- the project needs actively developed dependencies with frequent updates
Facets
library · maturity maintenance
ui-components animation frontend web-development browser react collapse accordion slide-toggle react-motion nodejs
2 sources
- readme: https://github.com/nkbt/react-collapse · fetched 2026-08-28 · ff351e841046
- registry_npm: https://registry.npmjs.org/react-collapse · fetched 2026-08-29 · e8c91e4b69bc
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| nkbt/react-collapse | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="nkbt/react-collapse")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem