@collapsed/core
TypeScript icon, indicating that this package has built-in type declarations

4.0.1 • Public • Published

@collapsed/core

CI npm bundle size (version) npm version Netlify Status

A framework-agnostic utility for creating accessible expand/collapse components. Animates the height using CSS transitions from 0 to auto.

You might be looking for the react hook

Features

  • Handles the height of animations of your elements, auto included!
  • Accessible out of the box - no need to worry if your collapse/expand component is accessible, since this takes care of it for you!
  • No animation framework required! Simply powered by CSS animations
  • Written in TypeScript

Package Sidebar

Install

npm i @collapsed/core

Weekly Downloads

318

Version

4.0.1

License

MIT

Unpacked Size

44.7 kB

Total Files

9

Last publish

Collaborators

  • roginfarrer