Expand/Collapse Widget Demo

Example 1: Button + controlled panel

div.example wrapper div.details content

Example 2: Native <details> with a div.details container

Shipping & returns

This uses the native HTML <details> element, while the controlled content is still wrapped in a div.details as requested.

Returns accepted within 30 days. Shipping times vary by region.

div.example wrapper div.details content