Accordion

A collapsible disclosure built on native <details>/<summary>. Animates open/close to/fromheight: auto using interpolate-size, with agrid-template-rows: 0fr to 1fr universal fallback.

Multiple open (default)

What is Porchlight?
Porchlight is a no-dependency, native-CSS framework. It ships as a single stylesheet with tokens, themes, layout, and components.
Does it use JavaScript?
No. The framework ships zero JavaScript. All interactivity is native HTML (details, popover, dialog) or CSS-driven.
What browsers are supported?
Porchlight requires modern CSS, including @scope. Optional enhancements are gated behind @supports.

Open by default

This item starts open
Add the open attribute to <details> to start expanded.

Exclusive (single open via native name attribute)

Exclusive Item 1
First item in the exclusive group. Opening Item 2 will automatically close Item 1 without JavaScript.
Exclusive Item 2
Second item in the exclusive group. Coordinated by native HTML name attribute support.

Streamlined markup (native ::details-content)

In modern browsers supporting ::details-content, the panel wrapper is optional.

Streamlined Item
Direct content inside the item without intermediate wrapper divs.