Navigation
Sidebar
semantic HTML주요 콘텐츠 옆에 보조 탐색을 배치합니다.
Live example
<nav aria-label="Sidebar"><ul><li><a href="/">홈</a></li><li><a href="/components">목록</a></li><li aria-current="page">Sidebar</li></ul></nav>Variants and sizes
The pattern inherits theme and density tokens. Use compact, comfortable, or roomy density when the surrounding screen requires it.
compactcomfortableroomy
Public API
| Contract | Value |
|---|---|
| Implementation | semantic HTML |
| Status | stable |
| License | free |
| Since | 0.1 |
| HTML contract | Native HTML elements and attributes |
| Events | Native browser events |
Accessibility
Native HTML semantics and keyboard behavior are the baseline.
Server template guidance
<!-- Render the semantic HTML on the server. Load enhancement JavaScript only when this interaction is needed. -->