文件最后提交记录最后更新时间
2 年前
2 年前
3 年前
2 年前
2 年前
2 年前
2 年前
3 年前
2 年前
README

@collapsed/core

NPM Version npm bundle size

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

Installation

npm install @collapsed/core