This demo shows different designed affordances at different screen sizes (view the source too)…
0-30em: collapsable sections
30-60em: structured content
can use shadow-dom to establish
a styleable tab-bar and panels.
The required parts can be exposed for styling
with consistent pseudo-elements.
In a tab state, we likely want to style:
also uses shadow-dom to establish
summary-details like behavior for each section,
with an option to make the toggle-states
In an accordion state, we likely want to style:
The fallback state is simply structured HTML, without any show/hide affordances. This does not require any special styling.