项目作者: roginfarrer

项目描述 :
A React custom-hook for creating flexible and accessible expand/collapse components.
高级语言: JavaScript
项目地址: git://github.com/roginfarrer/react-collapsed.git
创建时间: 2018-10-13T01:08:26Z
项目社区:https://github.com/roginfarrer/react-collapsed

开源协议:MIT License

下载


🙈 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.

  1. npm install react-collapsed

—> View installation and usage docs here! <—

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 🚧