Skip to content

contents

Contract: docs/contract/components/contents.md in the repository. renderContents(options) renders one root with the mobile bar and the rail; the page adds data-wtk-contents-layout on its <main> and data-wtk-contents-content on the content column, and wtk.js tracks the current item. Legacy-only markup (postToc*, data-blog-toc*) is neither bound nor styled by the package. Every fixture below renders in light and dark; narrow the window under 48em to see the bar.

post · light
post · dark
post-actions-only · light
post-actions-only · dark
index · light
index · dark
hub · light
hub · dark
profile · light
profile · dark
press-kit-folder · light
press-kit-folder · dark
press-kit-leaf · light
press-kit-leaf · dark
admin-preview · light
admin-preview · dark
changelog · light
changelog · dark
glass-blur-none · light
glass-blur-none · dark