Skip to content
kapable

Disclosure

Navigation · 1 export · v0.1.0 · showcase

Native details and summary for one-off content reveals that work without JavaScript.

Browse 72 component families
Advanced options
This content is controlled by native details and summary.

Usage

Disclosure usage
<Disclosure summary="Advanced options">Settings</Disclosure>

API

Disclosure API

DisclosureProps

A single disclosure on native `<details>/<summary>` — the kit's only JS-OFF show/hide (the browser owns toggle, keyboard, and semantics entirely; no island, ever). Triage: Accordion = a grouped set with exclusive/multiple coordination (islands); Disclosure = one standalone "advanced options" / "show more", working everywhere.

Disclosure props
proptypenotes
summaryRemixNodeThe always-visible summary line.
defaultOpen?booleanOpen on first render (`open` attribute — still toggleable).
children?RemixNodeThe revealed content.
mix?MixInput

More in Navigation

More in Navigation