Skip to content

Headless UI for for creating flexible and accessible expand/collapse components in TS/JS.

License

Notifications You must be signed in to change notification settings

roginfarrer/collapsed

Repository files navigation

🙈 Collapsed

GitHub Actions Workflow Status npm bundle size (version) npm version Netlify Status

Headless UI for building flexible and accessible animating expand/collapse sections or disclosures. Animates the height of elements to auto.

npm install react-collapsed

Experimental Framework Adapters

react-collapsed is stable and ready to use. I've also been exploring a rewrite with a framework-agnostic core that's also available with a few different framework adapters (indicated with the @collapsed/ namespace). Here's a breakdown to clarify what's available and their stability:

Package Stable
react-collapsed
@collapsed/core 🚧
@collapsed/react 🚧
@collapsed/solid 🚧
@collapsed/lit 🚧