Collapsible

Component
View in Storybook

An interactive component which expands/collapses a panel.

Installation
Install this component using the shadcn CLI with your preferred package manager
pnpm dlx shadcn@latest add @crenspire/collapsible
Usage
Example code for using this component
Props
Component props and variants

This component supports the following variants:

  • default - Standard styling
  • glass - Glassmorphism effect (default)