tsimport {Outline} from '@astryxdesign/core/Outline'
| Guidance | Practices |
|---|---|
| Do | Pass a flat ordered list of headings and let level control indentation. |
| Do | Use activeId when custom scroll logic owns the active section. |
| Do | Use density="compact" in dense sidebars where vertical space is tight. |
| Do | Use useOutlineFromMarkdown or useOutlineFromDOM when headings are generated from content. |
| Don't | Use Outline for application navigation - use SideNav or TopNav for routes. |
| Don't | Use Outline for expandable hierarchy - use TreeList when nodes need expand and collapse. |