Collapsible panel preview
A controlled or uncontrolled native disclosure panel with consumer-owned nested content and composed trigger behavior.
pro · Essentials · composite
When to use
- Use it when a page needs a controlled or uncontrolled native disclosure panel with consumer-owned nested content and composed trigger behavior.
- Choose it when the host application can supply the required state and keep business logic outside the presentation component.
Alternatives
- Choose tidal-button instead when press, loading, success and disabled states is the actual interface need, rather than collapsible panel.
Configure components.json and the @tidal-pro namespace before installing Pro components.
Installation
npx shadcn@latest add @tidal-pro/collapsible-panelImport components/ui/tidal.css, components/ui/collapsible-panel.css. Wrap installed components in tidal-scope.
Preview

Minimal example
import"./components/ui/tidal.css";
import"./components/ui/collapsible-panel.css";
import{TidalCollapsiblePanel}from"./components/ui/collapsible-panel";
export default()=><div className="tidal-scope"><TidalCollapsiblePanel children={"value"} title={"Demo"}/></div>;API and props
TidalCollapsiblePanel.children (required)ReactNodeRequired children value accepted by this exported component.
TidalCollapsiblePanel.title (required)ReactNodeRequired title value accepted by this exported component.
TidalCollapsiblePanel.contentPropsOmit<HTMLAttributes<HTMLDivElement>, "id" | "children"> | undefinedOptional content props value accepted by this exported component.
TidalCollapsiblePanel.contentRefRef<HTMLDivElement> | undefinedOptional content ref value accepted by this exported component.
TidalCollapsiblePanel.defaultOpenboolean | undefinedOptional default open value accepted by this exported component.
TidalCollapsiblePanel.descriptionReactNodeOptional description value accepted by this exported component.
TidalCollapsiblePanel.disabledboolean | undefinedOptional disabled value accepted by this exported component.
TidalCollapsiblePanel.eyebrowReactNodeOptional eyebrow value accepted by this exported component.
TidalCollapsiblePanel.footerReactNodeOptional footer value accepted by this exported component.
TidalCollapsiblePanel.leadingVisualReactNodeOptional leading visual value accepted by this exported component.
TidalCollapsiblePanel.metaReactNodeOptional meta value accepted by this exported component.
TidalCollapsiblePanel.onOpenChange((open: boolean, event: ReactMouseEvent<HTMLElement>) => void) | undefinedCallback invoked when the open change interaction is proposed.
TidalCollapsiblePanel.onToggleToggleEventHandler<HTMLDetailsElement> | undefinedCallback invoked when the toggle interaction is proposed.
TidalCollapsiblePanel.openboolean | undefinedOptional open value accepted by this exported component.
TidalCollapsiblePanel.triggerPropsOmit<HTMLAttributes<HTMLElement>, "role" | "aria-controls" | "aria-disabled" | "aria-expanded" | "children"> | undefinedOptional trigger props value accepted by this exported component.
TidalCollapsiblePanel.triggerRefRef<HTMLElement> | undefinedOptional trigger ref value accepted by this exported component.
Complete usage
Full example, stylesheet imports, API and accessibility documentation
Gotchas
- The host application owns data, validation, persistence, navigation, and service side effects described by this API.