Animated accordion and collapsible components

Disclosure hides detail until it is wanted, so the open and closed states must be obvious and the content must stay in the page for search engines.

Flaps: Accordions, trees and sidebars whose panels swing open on a real hinge. Components: Hinged Accordion, FAQ Fold, Tree View, Collapsible Sidebar, Read More, Nested Settings.

The pack

What a good one needs

Questions

Which frameworks do they come in?

Every component comes in React, Next.js, Vue 3, plain HTML/CSS/JS, Tailwind CSS and Motion, built on one framework-free TypeScript core.

Do they work on dark and light pages?

Yes. Every component has a dark and a light look chosen with the dark option.

Can I change the colour?

Yes. Each pack has its own default accent, set with one CSS variable, so it matches your brand.

How much does it cost?

Flaps is $2, paid once for the whole pack.

Which frameworks are included?

React (TypeScript), Next.js App Router, Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion. React, Vue and HTML are each a thin wrapper over one framework-free core, so they look and move the same. The Next.js version is the React component marked as a client component, with an app/page.tsx example. The Tailwind version adds the pack colours as Tailwind theme tokens, so you place, size and recolour it with utility classes. The Motion version wraps it in a motion.div so you can animate it in, out and on scroll with Motion props; the motion inside still runs on its own engine. Most packs need no npm packages; the 3D ones use Three.js.

Can I use it in client and commercial projects?

Yes. Every pack can be used in unlimited personal and commercial projects, including client work. Paid packs cannot be resold or redistributed as a component library, template or UI kit; free packs are open source under the MIT License, so you may share them too.

Related