Report a problem or share feedback← Catalog
Accordion expand
freetransitions/accordion
A disclosure / accordion / collapsible section whose panel grows and shrinks in height when toggled, with the header chevron flipping between a downward "v" and an upward "^". Use for settings groups, FAQs, filter sections, "show more" details — any header + collapsible body.
$
npx skills add Jakubantalik/transitions.dev # then ask: "apply the accordion transition"- Source
- transitions.dev
- Kind
- transition
- Categories
- transition, accordion
- Use as
- recipe — technique you apply to your own markup
- Applies to
- accordionfaq
- Motion
- on state · subtle · css · low cost · respects reduced motion
- Tags
- css
- Licence
- Free for unlimited personal/commercial use in your products; no republishing the collection. Pro (React/TS variants) $9/mo or $149 lifetime.
- Live demo
- transitions.dev
- Docs
- transitions.dev
Similar
Compare all 4 →- FAQoc/faqFAQ section on the shadcn accordion: heading left / questions right (split) or centred single column (stacked).
- Layout animationmotion/layout-animation`layout` prop: elements animate to their new size/position when state changes (expanding cards, accordion rows, reflowing grids). No height hacks. Free example (motion is MIT); copy and adapt the source from the example page.
- Motion presetsoc/motion-presetsdesign-infra's motion languages (still / quiet / lively / cinematic) as motion/react transitions, springs and variants (fadeUp, scaleIn, stagger, press, lift). Set PROJECT_MOTION to your DESIGN.md `motion:` so hand-written animations match the system.