G GlassUI

Collapse

A low-level wrapper that vertically slides its content open and closed. Not visually styled by default.

Playground

Explore all collapse props interactively.

Props

Whether the content is visible and expanded

ID for the collapsible region (used for aria-controls)

Basic Usage

Bind a boolean to the open prop to toggle visibility.