Beta

Collapsible

An interactive component which expands/collapses a panel.

We take the Shadcn UI component and animate it with Motion.

@peduarte starred 3 repositories

@radix-ui/primitives

Installation

Props

Animate UI Props

CollapsibleContent

PropTypeDefault
transition?
Transition
{ type: 'spring', stiffness: 150, damping: 17 }

Credits

  • We use Radix UI for the collapsible component.
  • We take our inspiration from Shadcn UI for the collapsible style (to make it easier to replace a shadcn component with the animate ui component).

On this page