Collapsible Component

Capsule-styled collapsible panels with smooth expand/collapse animations and orbit hover effects.

Basic Collapsible

Settings Panel

A realistic settings interface with multiple collapsible sections.

JD
John Doe
john.doe@example.com
Member Since
January 2023
Plan
Pro Active

Order Tracking

Track shipment progress with collapsible order details.

Order #ORB-2024-1234
Placed on December 15, 2024
In Transit
Ordered
Shipped
In Transit
4
Delivered

FAQ / Documentation

Accordion-style FAQ with multiple sections.

Welcome to Orbit Capsule! This design system emphasizes modular independence with pill-shaped elements and solid ink strokes. Every component floats on the canvas with consistent styling.

Nested Collapsible

API Reference

Based on @radix-ui/react-collapsible

Collapsible

PropTypeDefaultDescription
openboolean-Controlled open state
onOpenChange(open: boolean) => void-Callback when open state changes
defaultOpenbooleanfalseInitial open state when uncontrolled
disabledbooleanfalseDisable the collapsible
classNamestring-CSS class name

CollapsibleTrigger

PropTypeDefaultDescription
asChildbooleanfalseRender as child element
classNamestring-CSS class name

CollapsibleContent

PropTypeDefaultDescription
classNamestring-CSS class name