Side Nav Collapse Button @astryx-svelte/core v0.3.0 · SideNav
Usage
Toggle button for sidenav collapse. Place inside SideNav (reads context automatically) or outside (pass handleRef). Renders as an icon-only ghost button by default.tsimport { SideNav } from '@astryx-svelte/core';
Examples
Common configurations, variations, and states.SideNavCollapseButton — Basic
Place a collapse button in the SideNav footer to let users toggle the rail between expanded and collapsed states. Disable the built-in button via collapsible={{hasButton: false}} when positioning it yourself.