1 viewer
Component · Navigation
Router
Local in-view route switcher.
- Category
- Navigation
- Slots
- 4
- States
- 1
- Writer
- Shared
Preview
<Router defaultRoute="/overview" id="module-router">
<Route label="Overview" path="/overview">
<Text text="Active route panel content inside client Router." />
</Route>
<Route label="Telemetry" path="/telemetry">
<Text text="Secondary telemetry route content." />
</Route>
</Router>Anatomy
The named parts of the rendered markup. Recipes style these hooks, and every renderer keeps them stable.
| Slot | DOM class |
|---|---|
| root | .primitive-router |
| nav | — |
| link | — |
| content | — |
States and platforms
The states the contract publishes, the platforms it declares, and the style recipes that dress it.
States
Platforms
Recipes
Renderers
Every tag in the example above renders through a shared writer.
Declared adapters. A status is the manifest's declaration, not a measured parity result.
| Target | Renderer | Status |
|---|---|---|
| web | react | experimental |
Accessibility
Semantic structure must stay available without visual styling.
- Expose meaningful names for interactive controls.
- Keep keyboard and pointer behavior equivalent where the platform supports it.
- Publish state with native semantics and data attributes where the adapter supports them.