Skip to content

v0.11.0 — Accordion open/close motion + caret nudge

Choose a tag to compare

@cpascariello cpascariello released this 08 Jun 13:20
· 4 commits to main since this release
811d992

Accordion motion

  • Open/close "slide + settle" — the panel height animates via Radix's `--radix-accordion-content-height` (registered as a `@theme` Tailwind utility), and the answer fades + settles in.
  • Hover caret nudge — the cyan caret dips 3px on a closed row to preview the open direction; the 180° rotate-on-open and cyan trigger text stay.
  • Reduced motion — the height animation is gated into `motion-safe:`, so reduced-motion users get instant open/close.

Same `@stasho/ds/accordion` export and 4-part API (Accordion / AccordionItem / AccordionTrigger / AccordionContent) as 0.10.0 — no API changes.

PR #30.