nalarx-ui
Components

Disclosure

A native details element whose content slides open.

bunx shadcn@latest add @nalarx/disclosure
Advanced settings

Hidden until opened. Opens instantly in browsers without ::details-content and under reduced motion.

Open by default

Content

Advanced settings

Hidden until opened. Opens instantly in browsers without ::details-content and under reduced motion.

Open by default

Content

Props

Every details attribute (open, name, onToggle), plus summary and summaryClassName.

Replaces

The Platform's base/Disclosure.tsx.

On this page