Accordion

Expandable sections with motion.

Installation

Install with the shadcn CLI:

npx shadcn@latest add https://www.framekitui.live/r/accordion.json

Or, with the @framekit namespace registered: npx shadcn@latest add @framekit/accordion. You can also copy the source into components/ui/accordion.tsx (view on GitHub).

Usage

import { Accordion } from '@/components/ui/accordion'

Dependencies

  • motion

See all 18 Core components