Mode
Preset
Auto Table of Contents demo
Three looks, one module
The same module and the same article, styled three ways with page CSS only. Open each one on a desktop and on a phone.
- 1. Sidebar cardA floating card in the side margin with a vertical reading rail and a highlighted current section. On a phone it turns into a button that opens a bottom drawer.
- 2. EditorialA quiet, print-inspired contents list with numbered sections, hairline rules and a serif type stack. It sits in the article like the opening page of a long read.
- 3. BoldRounded rows, a solid accent rail, a soft shadow and a thick progress bar. Use the Light and Dark toggle to see the page and the contents box in either mode.
Demo page on a test portal. The module ships without these looks; each one is a small stylesheet on the page that targets the module's public classes, data attributes and CSS custom properties.