← Skyee · Skyee components · Get started

Collapse

Show / hide a block.

Live preview

HTML

<button class="sky-btn sky-outline" data-sky-toggle="collapse" data-sky-target="#col" aria-expanded="false">Toggle details</button><div id="col" hidden class="sky-callout sky-mt-4">Hidden content revealed.</div>

Open in the Skyee app · Edit in the playground