Technical details

technical-detailsRecords and data

Secondary facts tucked behind one disclosure, closed by default. It remembers whether the reader opened it, per page, for the rest of the session.

bunx --bun shadcn@4.17.0 add @waimakers/technical-details
Kit dependencies
utilsthemecollapsible
npm dependencies
None

From the registry

Closed-by-default Base UI disclosure for secondary facts or code, with a chevron and optional count. Remembers open state in sessionStorage per page or explicit key and still works when browser storage is refused.

Examples

Basic

Raw values most readers never need, one click away.

With count

A count tells the reader how much is inside before they open it.

With code

Request and response bodies sit well inside, in a CodeBlock.