Faq Accordion Motion

Motion

An FAQ accordion where one answer opens at a time with an animated height transition. Triggers expose aria-expanded and motion is skipped when reduced.

src/registry/premium/faq-accordion-motion.tsx/r/faq-accordion-motion.json

Installation#

bash
npx shadcn@latest add @minidev/faq-accordion-motion

MiniDev UI is in the shadcn registry directory, so the short form works with no setup. Older CLI versions can use the full URL: npx shadcn@latest add https://ui.minidev.pro/r/faq-accordion-motion.json

Usage#

tsx
import { FaqAccordionMotion } from "@/components/ui/faq-accordion-motion"

export function Example() {
  return (
    <FaqAccordionMotion />
  )
}

API reference#

FaqAccordionMotion props
PropTypeDefault
classNamestring-

Dependencies#

npm

motion

Built from

No other MiniDev files

Examples#

All Landing page sections for React and Tailwind

Learn more