UI95

Collapsible

Unstyled show and hide region with a trigger, opening in one frame.

Examples

Aclosed
Bopen
Hidden until the trigger is pressed.

Installation

npx shadcn@latest add https://www.ui95.dev/r/collapsible.json

Run it in a Radix shadcn project that already has the UI95 theme.

API reference

Collapsible

No props of its own. It forwards the props of the element or primitive it wraps.

CollapsibleContent

No props of its own. It forwards the props of the element or primitive it wraps.

CollapsibleTrigger

No props of its own. It forwards the props of the element or primitive it wraps.

Sounds

  • button.press
  • button.release

Updated Nov 5, 2026