SectionListItem
One section navigation item.
One section navigation item.
<div class="section-list-item" aria-label="one section navigation item">SectionListItem</div><SectionListItem><SectionLink href="/a">A</SectionLink></SectionListItem>
// In your Svelte component:
import SectionListItem from "lily-design-system-svelte-headless/components/SectionListItem/SectionListItem.svelte";
<SectionListItem>
<!-- SectionListItem content -->
</SectionListItem>
<SectionListItem><SectionLink href="/a">A</SectionLink></SectionListItem>
| Prop | Type | Default | Description |
|---|---|---|---|
children | slot (required) | — | Typically a single SectionLink |
...restProps | HTML attributes | — | Spread onto the root <li> |
<li> semanticsSectionList enumerating section navigation links*ListItem for other navigation patterns (e.g. BreadcrumbListItem)This 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-item as the root class. No default styles are included.
section-list — parent listsection-link — link inside the item<li> containing a SectionLinkSectionListrestProps onto the root <li>Generated from this component's canonical metadata — the machine-checked source the implementations are held to.
<li> semanticschildren: slot (required) (default: —) — Typically a single SectionLink...restProps: HTML attributes (default: —) — Spread onto the root <li>