SectionList
A list of section navigation items.
Status: beta — implemented and unit-tested in all seven frameworks with an axe-clean demo page; not yet exercised in composed flows.
A list of section navigation items.
Status: beta — implemented and unit-tested in all seven frameworks with an axe-clean demo page; not yet exercised in composed flows.
<ul class="section-list" aria-label="Sections"><li class="section-list-item"><a href="#">Overview</a></li><li class="section-list-item" data-current="true"><a href="#" aria-current="page">Symptoms</a></li><li class="section-list-item"><a href="#">Treatment</a></li></ul><SectionList>
<SectionListItem><SectionLink href="/a">A</SectionLink></SectionListItem>
<SectionListItem
><SectionLink
href="/b"
current
>B</SectionLink
></SectionListItem
>
</SectionList>
// In your Svelte component:
import SectionList from "lily-design-system-svelte-headless/components/SectionList/SectionList.svelte";
<SectionList>
<!-- content -->
</SectionList>
<SectionList>
<SectionListItem><SectionLink href="/a">A</SectionLink></SectionListItem>
<SectionListItem
><SectionLink
href="/b"
current
>B</SectionLink
></SectionListItem
>
</SectionList>
| Prop | Type | Default | Description |
|---|---|---|---|
children |
slot (required) | — | SectionListItem elements |
...restProps |
HTML attributes | — | Spread onto the root <ul> |
SectionNavBreadcrumbList, ContentsList, PaginationList, or TreeList in their respective navsThis headless component renders semantic HTML with appropriate ARIA wiring. The consumer provides all visual styling — no CSS, animations, or layout assumptions are baked in.
The component renders with .section-list as the root class. No default styles are included.
section-nav — parent landmarksection-list-item — child list itemsection-link — link rendered inside each list itemNone known.
Lily™ and Lily Design System™ are trademarks.
<ul> containing SectionListItem childrenSectionNav to enumerate the section's pagesrestProps onto the root <ul>Generated from this component's canonical metadata — the machine-checked source the implementations are held to.
children: slot (required) (default: —) — SectionListItem elements...restProps: HTML attributes (default: —) — Spread onto the root <ul>This page as Markdown, for people and AI tools: section-list.md