layoutstexulinot agent-emittableapp
ContentLayout
content-layout
Shared docs/blog/editorial reading frame with optional TOC.
Live examples
Docs
Docs
Loading demo…
Props
| Name | Kind | Required | Default | Description |
|---|---|---|---|---|
kind | enum (docs, blog, editorial) | yes | — | — |
mountScreen | event | yes | — | Host callback that mounts the stable routed screen node |
nav | object | no | — | NavModel for chrome links |
path | string | no | — | Current hash path |
options | object | no | — | Flat data-only layout knobs |
storageKey | string | no | — | Scope for persisted UI flags |
aside | slot | no | — | Optional context panel |
class | string | no | — | — |
Keyboard
| Key | Action |
|---|---|
— | See accessibility notes for keyboard behavior. |
Accessibility
- Main landmark holds the article
- TOC links are in-page anchors
Evidence for content-layout
Latest committed gates for content-layout (as of 2026-10-23). Static snapshot — not live CI.
Behavior
n/ano behavior scenario
No dedicated behavior scenario for this catalog id (a styled or display surface, covered by its unit and axe tests).
Size (gzip)
texuli/content-layout · budget 12.0 KiB
Budget from texuli.budgets.json; re-measure with `pnpm size --filter <entry>`.
Axe
documented
tests/e2e/site-component-pages.spec.tsdocs/quality (a11y-*)
Site component pages axe gate; package-level a11y docs under docs/quality when present.
Browsers
chromiumwebkitmobile
Playwright projects: Desktop Chrome, Desktop Safari, Pixel 7. Firefox is a known gap on this host.
When to use
Use when
- Long-form content with a table of contents
Don’t use when
Prefer another component
- App chrome shells