Dev Design Library

accordion

An accordion allows users to toggle the display of sections of content. Each accordion consists of a header with a title and content area.

accordion preview
Library
BaseLayer
Framework
React
Type
ui
License
MIT
Dependencies
lucide-react, react-aria-components, tailwind-variants, tw-animate-css
Install
npx shadcn@latest add https://baselayer.dev/r/accordion
Files
  • packages/components/src/core/accordion/accordion.tsx
Source
https://github.com/zwgnr/BaseLayer

Categories

More from BaseLayer