Skip to main content
ComponentsCollapsible

Collapsible

An interactive component which expands/collapses a panel.

PreviewDocs

Features

Smooth expand and collapse animations

Built with Radix UI Collapsible primitive

Controlled and uncontrolled component modes

Customizable trigger and content sections

Maintains proper ARIA attributes for accessibility

Can be nested for complex hierarchical content

Shadcn/ui Collapsible - Figma Component

An interactive component which expands/collapses a panel. This Figma component is part of our comprehensive design system that brings the popular shadcn/ui library into your design workflow.

Every Collapsible variant includes all the necessary states, properties, and styling options you need to create consistent, production-ready designs. The component seamlessly integrates with your existing Figma files and maintains full compatibility with the shadcn/ui React implementation.

Your questions, answered

Collapsible content in Figma

The shadcn/ui figma Collapsible component hides and shows content with smooth animations. Design settings panels, advanced options, and expandable sections in Figma that keep interfaces clean. This shadcn figma component matches the Radix UI implementation.

Collapsible vs Accordion

Use the shadcn/ui figma Collapsible for single expandable sections and Accordion for multiple coordinated sections. Design the right pattern in Figma for your use case—collapsibles for standalone content, accordions for related groups.

Designing expandable sections

This shadcn figma Collapsible includes open and closed states with proper trigger buttons. Design progressive disclosure patterns in Figma that hide complexity until users need it, keeping your interfaces focused and scannable.

Nested collapsibles in Figma

The shadcn/ui figma Collapsible can be nested for hierarchical content. Design complex information architectures in Figma with multiple levels of expandable content, perfect for settings pages and documentation layouts.