Sidebar
Vertical navigation panel for app layouts with links, groups, and collapsible sections.
veritheme.js
JS init: automatic
Default
Simple sidebar with icon links and active state.
<nav class="vt-side-nav vt-w-64 vt-h-96" aria-label="Main">
<div class="vt-side-nav-header">
<span class="vt-side-nav-logo">A</span>
<span class="vt-side-nav-title">App Name</span>
</div>
<div class="vt-side-nav-body">
<a href="#" class="vt-nav-item vt-active" aria-current="page"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-nav-item-icon" aria-hidden="true">
<path d="M13 2L2 7" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M12 3V22H7C5.11438 22 4.17157 22 3.58579 21.4142C3 20.8284 3 19.8856 3 18V7" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M12 7L22 12" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M10 21.9997H17C18.8856 21.9997 19.8284 21.9997 20.4142 21.4139C21 20.8281 21 19.8853 21 17.9997V11.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M18 10L18 7" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M7 11H8M7 15H8" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M16 14H17" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M16.5 22V18" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg> <span class="vt-nav-item-label">Dashboard</span></a>
<a href="#" class="vt-nav-item"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-nav-item-icon" aria-hidden="true">
<path d="M2.49634 5.5C2.49634 4.08579 2.49634 3.37868 2.93568 2.93934C3.37502 2.5 4.08212 2.5 5.49634 2.5H6.99616C8.41037 2.5 9.11748 2.5 9.55682 2.93934C9.99616 3.37868 9.99616 4.08579 9.99616 5.5V10C9.99616 11.4142 9.99616 12.1213 9.55682 12.5607C9.11748 13 8.41037 13 6.99616 13H5.49634C4.08212 13 3.37502 13 2.93568 12.5607C2.49634 12.1213 2.49634 11.4142 2.49634 10V5.5Z" stroke="currentColor" stroke-linejoin="round" stroke-width="1.5"></path><path d="M2.49616 19.2501C2.49613 18.5512 2.49611 18.2017 2.61029 17.926C2.76252 17.5585 3.05454 17.2664 3.42209 17.1142C3.69775 17 4.04722 17 4.74616 17H7.74597C8.44486 17 8.7943 17 9.06996 17.1142C9.43749 17.2664 9.7295 17.5584 9.88175 17.9259C9.99593 18.2016 9.99595 18.551 9.99597 19.2499C9.996 19.9488 9.99602 20.2983 9.88184 20.574C9.72961 20.9415 9.43759 21.2336 9.07004 21.3858C8.79438 21.5 8.44491 21.5 7.74597 21.5H4.74616C4.04727 21.5 3.69783 21.5 3.42217 21.3858C3.05464 21.2336 2.76263 20.9416 2.61038 20.5741C2.4962 20.2984 2.49618 19.949 2.49616 19.2501Z" stroke="currentColor" stroke-linejoin="round" stroke-width="1.5"></path><path d="M13.9962 4.75C13.9962 4.05109 13.9962 3.70163 14.1103 3.42597C14.2626 3.05843 14.5546 2.76642 14.9221 2.61418C15.1978 2.5 15.5472 2.5 16.2462 2.5H19.246C19.9449 2.5 20.2943 2.5 20.57 2.61418C20.9375 2.76642 21.2296 3.05843 21.3818 3.42597C21.496 3.70163 21.496 4.05109 21.496 4.75C21.496 5.44891 21.496 5.79837 21.3818 6.07403C21.2296 6.44157 20.9375 6.73358 20.57 6.88582C20.2943 7 19.9449 7 19.246 7H16.2462C15.5472 7 15.1978 7 14.9221 6.88582C14.5546 6.73358 14.2626 6.44157 14.1103 6.07403C13.9962 5.79837 13.9962 5.44891 13.9962 4.75Z" stroke="currentColor" stroke-linejoin="round" stroke-width="1.5"></path><path d="M13.9962 14.0001C13.9962 12.5858 13.9962 11.8787 14.4355 11.4393C14.8749 11 15.582 11 16.9962 11H18.496C19.9102 11 20.6173 11 21.0567 11.4393C21.496 11.8787 21.496 12.5858 21.496 13.9999L21.4961 18.4999C21.4961 19.9142 21.4961 20.6213 21.0568 21.0607C20.6175 21.5 19.9103 21.5 18.4961 21.5H16.9963C15.5821 21.5 14.875 21.5 14.4357 21.0607C13.9963 20.6213 13.9963 19.9142 13.9963 18.5001L13.9962 14.0001Z" stroke="currentColor" stroke-linejoin="round" stroke-width="1.5"></path>
</svg> <span class="vt-nav-item-label">Projects</span></a>
<a href="#" class="vt-nav-item"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-nav-item-icon" aria-hidden="true">
<path d="M16.5 20V16.9852C16.5 16.364 16.2184 15.7658 15.6838 15.4494C14.1574 14.546 12.1714 14 10 14C7.82863 14 5.84261 14.546 4.31618 15.4494C3.78162 15.7658 3.5 16.364 3.5 16.9852V20" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><circle cx="10" cy="7.5" r="3.5" stroke="currentColor" stroke-width="1.5"></circle><path d="M20.5 20.001V16.9862C20.5 16.365 20.2184 15.7667 19.6838 15.4504C19.171 15.1468 18.6062 14.8837 18 14.668" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M15 4.14453C16.4457 4.57481 17.5 5.91408 17.5 7.49959C17.5 9.0851 16.4457 10.4244 15 10.8547" stroke="currentColor" stroke-linecap="round" stroke-width="1.5"></path>
</svg> <span class="vt-nav-item-label">Team</span></a>
<a href="#" class="vt-nav-item"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-nav-item-icon" aria-hidden="true">
<path d="M8 9V17" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M13 5V17" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M18 13V17" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M3 3V13C3 16.7712 3 18.6569 4.17157 19.8284C5.34315 21 7.22876 21 11 21H21" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg> <span class="vt-nav-item-label">Analytics</span></a>
<a href="#" class="vt-nav-item"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-nav-item-icon" aria-hidden="true">
<path d="M2 6L8.91302 9.91697C11.4616 11.361 12.5384 11.361 15.087 9.91697L22 6" stroke="currentColor" stroke-linejoin="round" stroke-width="1.5"></path><path d="M2.01577 13.4756C2.08114 16.5412 2.11383 18.0739 3.24496 19.2094C4.37608 20.3448 5.95033 20.3843 9.09883 20.4634C11.0393 20.5122 12.9607 20.5122 14.9012 20.4634C18.0497 20.3843 19.6239 20.3448 20.7551 19.2094C21.8862 18.0739 21.9189 16.5412 21.9842 13.4756C22.0053 12.4899 22.0053 11.5101 21.9842 10.5244C21.9189 7.45886 21.8862 5.92609 20.7551 4.79066C19.6239 3.65523 18.0497 3.61568 14.9012 3.53657C12.9607 3.48781 11.0393 3.48781 9.09882 3.53656C5.95033 3.61566 4.37608 3.65521 3.24495 4.79065C2.11382 5.92608 2.08114 7.45885 2.01576 10.5244C1.99474 11.5101 1.99475 12.4899 2.01577 13.4756Z" stroke="currentColor" stroke-linejoin="round" stroke-width="1.5"></path>
</svg> <span class="vt-nav-item-label">Messages</span> <span class="vt-count-badge">3</span></a>
<a href="#" class="vt-nav-item"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-nav-item-icon" aria-hidden="true">
<path d="M3.95631 10.5829L3.03254 9.07084C2.74505 8.60024 2.7389 8.00978 3.01652 7.5333L3.63533 6.47124C3.90953 6.00064 4.41721 5.71571 4.96162 5.7269L6.69131 5.76245C6.92616 5.76728 7.15379 5.68727 7.34333 5.54846C7.79531 5.21745 8.28334 4.93276 8.80042 4.70139C9.01191 4.60675 9.19222 4.45165 9.30469 4.24903L10.1203 2.77965C10.3847 2.30328 10.8865 2.00781 11.4312 2.00781H12.6937C13.2384 2.00781 13.7403 2.30329 14.0047 2.77966L14.8202 4.24902C14.9327 4.45165 15.113 4.60675 15.3245 4.70139C15.8416 4.93274 16.3296 5.2174 16.7815 5.54838C16.9711 5.68718 17.1987 5.76718 17.4336 5.76235L19.1634 5.72676C19.7078 5.71557 20.2155 6.00049 20.4897 6.47111L21.1085 7.53314C21.3862 8.00963 21.38 8.60009 21.0925 9.07068L20.1687 10.5828C20.0481 10.7803 20.002 11.0134 20.0235 11.2439C20.0707 11.7486 20.0707 12.267 20.0235 12.7717C20.002 13.0022 20.0481 13.2353 20.1687 13.4329L21.0924 14.9448C21.3799 15.4154 21.3861 16.0058 21.1084 16.4823L20.4896 17.5444C20.2154 18.015 19.7077 18.2999 19.1633 18.2887L17.4338 18.2531C17.1989 18.2483 16.9713 18.3283 16.7817 18.4671C16.3297 18.7982 15.8416 19.0829 15.3245 19.3142C15.113 19.4089 14.9327 19.564 14.8202 19.7666L14.0047 21.236C13.7403 21.7123 13.2384 22.0078 12.6937 22.0078H11.4312C10.8866 22.0078 10.3847 21.7123 10.1203 21.236L9.30468 19.7665C9.19222 19.5639 9.01191 19.4088 8.80042 19.3142C8.28329 19.0828 7.79519 18.798 7.34316 18.467C7.15362 18.3282 6.92597 18.2482 6.69111 18.253L4.96175 18.2886C4.41733 18.2998 3.90963 18.0148 3.63543 17.5442L3.01663 16.4822C2.739 16.0057 2.74515 15.4152 3.03264 14.9446L3.95631 13.4327C4.07699 13.2351 4.12309 13.002 4.10154 12.7715C4.05437 12.267 4.05438 11.7486 4.10154 11.244C4.12308 11.0135 4.07699 10.7805 3.95631 10.5829Z" stroke="currentColor" stroke-width="1.5"></path><circle cx="12.0625" cy="12.0078" r="3.5" stroke="currentColor" stroke-width="1.5"></circle>
</svg> <span class="vt-nav-item-label">Settings</span></a>
</div>
<div class="vt-side-nav-footer">
<a href="#" class="vt-nav-item vt-muted"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-nav-item-icon" aria-hidden="true">
<circle cx="12" cy="12" r="10" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></circle><path d="M9.5 9.5C9.5 8.11929 10.6193 7 12 7C13.3807 7 14.5 8.11929 14.5 9.5C14.5 10.3569 14.0689 11.1131 13.4117 11.5636C12.7283 12.0319 12 12.6716 12 13.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M12.125 16.75H12M12.25 16.75C12.25 16.8881 12.1381 17 12 17C11.8619 17 11.75 16.8881 11.75 16.75C11.75 16.6119 11.8619 16.5 12 16.5C12.1381 16.5 12.25 16.6119 12.25 16.75Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg> <span class="vt-nav-item-label">Help & Support</span></a>
</div>
</nav>
With Groups
<nav class="vt-side-nav vt-w-64" aria-label="Workspace">
<div class="vt-side-nav-header">
<span class="vt-side-nav-title">Workspace</span>
</div>
<div class="vt-side-nav-body">
<div class="vt-side-nav-group">
<p class="vt-section-label">Main</p>
<a href="#" class="vt-nav-item vt-active" aria-current="page"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-nav-item-icon" aria-hidden="true">
<path d="M13 2L2 7" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M12 3V22H7C5.11438 22 4.17157 22 3.58579 21.4142C3 20.8284 3 19.8856 3 18V7" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M12 7L22 12" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M10 21.9997H17C18.8856 21.9997 19.8284 21.9997 20.4142 21.4139C21 20.8281 21 19.8853 21 17.9997V11.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M18 10L18 7" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M7 11H8M7 15H8" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M16 14H17" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M16.5 22V18" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg> <span class="vt-nav-item-label">Dashboard</span></a>
<a href="#" class="vt-nav-item"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-nav-item-icon" aria-hidden="true">
<path d="M8 9V17" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M13 5V17" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M18 13V17" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M3 3V13C3 16.7712 3 18.6569 4.17157 19.8284C5.34315 21 7.22876 21 11 21H21" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg> <span class="vt-nav-item-label">Analytics</span></a>
<a href="#" class="vt-nav-item"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-nav-item-icon" aria-hidden="true">
<path d="M8 18H16" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M8 14H16" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M8 10H10" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M13 2.5V3C13 5.82843 13 7.24264 13.8787 8.12132C14.7574 9 16.1716 9 19 9H19.5M20 10.6569V14C20 17.7712 20 19.6569 18.8284 20.8284C17.6569 22 15.7712 22 12 22C8.22876 22 6.34315 22 5.17157 20.8284C4 19.6569 4 17.7712 4 14V9.45584C4 6.21082 4 4.58831 4.88607 3.48933C5.06508 3.26731 5.26731 3.06508 5.48933 2.88607C6.58831 2 8.21082 2 11.4558 2C12.1614 2 12.5141 2 12.8372 2.11401C12.9044 2.13772 12.9702 2.165 13.0345 2.19575C13.3436 2.34355 13.593 2.593 14.0919 3.09188L18.8284 7.82843C19.4065 8.40649 19.6955 8.69552 19.8478 9.06306C20 9.4306 20 9.83935 20 10.6569Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg> <span class="vt-nav-item-label">Documents</span></a>
</div>
<div class="vt-side-nav-group">
<p class="vt-section-label">Account</p>
<a href="#" class="vt-nav-item"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-nav-item-icon" aria-hidden="true">
<path d="M3.95631 10.5829L3.03254 9.07084C2.74505 8.60024 2.7389 8.00978 3.01652 7.5333L3.63533 6.47124C3.90953 6.00064 4.41721 5.71571 4.96162 5.7269L6.69131 5.76245C6.92616 5.76728 7.15379 5.68727 7.34333 5.54846C7.79531 5.21745 8.28334 4.93276 8.80042 4.70139C9.01191 4.60675 9.19222 4.45165 9.30469 4.24903L10.1203 2.77965C10.3847 2.30328 10.8865 2.00781 11.4312 2.00781H12.6937C13.2384 2.00781 13.7403 2.30329 14.0047 2.77966L14.8202 4.24902C14.9327 4.45165 15.113 4.60675 15.3245 4.70139C15.8416 4.93274 16.3296 5.2174 16.7815 5.54838C16.9711 5.68718 17.1987 5.76718 17.4336 5.76235L19.1634 5.72676C19.7078 5.71557 20.2155 6.00049 20.4897 6.47111L21.1085 7.53314C21.3862 8.00963 21.38 8.60009 21.0925 9.07068L20.1687 10.5828C20.0481 10.7803 20.002 11.0134 20.0235 11.2439C20.0707 11.7486 20.0707 12.267 20.0235 12.7717C20.002 13.0022 20.0481 13.2353 20.1687 13.4329L21.0924 14.9448C21.3799 15.4154 21.3861 16.0058 21.1084 16.4823L20.4896 17.5444C20.2154 18.015 19.7077 18.2999 19.1633 18.2887L17.4338 18.2531C17.1989 18.2483 16.9713 18.3283 16.7817 18.4671C16.3297 18.7982 15.8416 19.0829 15.3245 19.3142C15.113 19.4089 14.9327 19.564 14.8202 19.7666L14.0047 21.236C13.7403 21.7123 13.2384 22.0078 12.6937 22.0078H11.4312C10.8866 22.0078 10.3847 21.7123 10.1203 21.236L9.30468 19.7665C9.19222 19.5639 9.01191 19.4088 8.80042 19.3142C8.28329 19.0828 7.79519 18.798 7.34316 18.467C7.15362 18.3282 6.92597 18.2482 6.69111 18.253L4.96175 18.2886C4.41733 18.2998 3.90963 18.0148 3.63543 17.5442L3.01663 16.4822C2.739 16.0057 2.74515 15.4152 3.03264 14.9446L3.95631 13.4327C4.07699 13.2351 4.12309 13.002 4.10154 12.7715C4.05437 12.267 4.05438 11.7486 4.10154 11.244C4.12308 11.0135 4.07699 10.7805 3.95631 10.5829Z" stroke="currentColor" stroke-width="1.5"></path><circle cx="12.0625" cy="12.0078" r="3.5" stroke="currentColor" stroke-width="1.5"></circle>
</svg> <span class="vt-nav-item-label">Settings</span></a>
<a href="#" class="vt-nav-item"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-nav-item-icon" aria-hidden="true">
<path d="M10 4H14C17.7712 4 19.6569 4 20.8284 5.17157C22 6.34315 22 8.22876 22 12C22 15.7712 22 17.6569 20.8284 18.8284C19.6569 20 17.7712 20 14 20H10C6.22876 20 4.34315 20 3.17157 18.8284C2 17.6569 2 15.7712 2 12C2 8.22876 2 6.34315 3.17157 5.17157C4.34315 4 6.22876 4 10 4Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M2.5 9H21.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M14 15L18 15" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg> <span class="vt-nav-item-label">Billing</span></a>
<a href="#" class="vt-nav-item"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-nav-item-icon" aria-hidden="true">
<path d="M18.7088 3.49534C16.8165 2.55382 14.5009 2 12 2C9.4991 2 7.1835 2.55382 5.29116 3.49534C4.36318 3.95706 3.89919 4.18792 3.4496 4.91378C3 5.63965 3 6.34248 3 7.74814V11.2371C3 16.9205 7.54236 20.0804 10.173 21.4338C10.9067 21.8113 11.2735 22 12 22C12.7265 22 13.0933 21.8113 13.8269 21.4338C16.4576 20.0804 21 16.9205 21 11.2371L21 7.74814C21 6.34249 21 5.63966 20.5504 4.91378C20.1008 4.18791 19.6368 3.95706 18.7088 3.49534Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg> <span class="vt-nav-item-label">Security</span></a>
</div>
</div>
</nav>
Collapsible Sections
<nav class="vt-side-nav vt-w-64" aria-label="Files">
<div class="vt-side-nav-header">
<span class="vt-side-nav-title">File Manager</span>
</div>
<div class="vt-side-nav-body">
<a href="#" class="vt-nav-item vt-active" aria-current="page"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-nav-item-icon" aria-hidden="true">
<path d="M13 2L2 7" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M12 3V22H7C5.11438 22 4.17157 22 3.58579 21.4142C3 20.8284 3 19.8856 3 18V7" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M12 7L22 12" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M10 21.9997H17C18.8856 21.9997 19.8284 21.9997 20.4142 21.4139C21 20.8281 21 19.8853 21 17.9997V11.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M18 10L18 7" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M7 11H8M7 15H8" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M16 14H17" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M16.5 22V18" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg> <span class="vt-nav-item-label">Overview</span></a>
<div class="vt-side-nav-section open" data-vt-sidebar-collapsible="">
<button type="button" class="vt-nav-item">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-nav-item-icon" aria-hidden="true">
<path d="M13.6656 6.49446H16C18.8284 6.49446 20.2426 6.49446 21.1213 7.37314C22 8.25182 22 9.66603 22 12.4945V14.5C22 17.3284 22 18.7426 21.1213 19.6213C20.2426 20.5 18.8284 20.5 16 20.5H8C5.17157 20.5 3.75736 20.5 2.87868 19.6213C2 18.7426 2 17.3284 2 14.5V8.99183C2 6.65409 2 5.48521 2.61604 4.67881C2.7778 4.46706 2.96706 4.2778 3.17881 4.11604C3.98521 3.5 5.15409 3.5 7.49183 3.5C8.16633 3.5 8.50358 3.5 8.81392 3.60442C8.8976 3.63257 8.97932 3.66623 9.05854 3.70518C9.35239 3.84965 9.59179 4.08719 10.0706 4.56227L10.8483 5.33389C11.4254 5.9066 11.714 6.19295 12.08 6.3437C12.446 6.49446 12.8525 6.49446 13.6656 6.49446Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg> <span class="vt-nav-item-label">Projects</span>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-nav-item-chevron" aria-hidden="true">
<path d="M18 9.00005C18 9.00005 13.5811 15 12 15C10.4188 15 6 9 6 9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg>
</button>
<div class="vt-side-nav-children">
<a href="#" class="vt-nav-item-sub"><span class="vt-nav-item-label">Active</span></a>
<a href="#" class="vt-nav-item-sub"><span class="vt-nav-item-label">Archived</span></a>
<a href="#" class="vt-nav-item-sub"><span class="vt-nav-item-label">Drafts</span></a>
</div>
</div>
<div class="vt-side-nav-section" data-vt-sidebar-collapsible="">
<button type="button" class="vt-nav-item">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-nav-item-icon" aria-hidden="true">
<path d="M12.7972 2.90494C13.2554 3.57043 13.9479 4.70769 14.6514 6.04507C15.1942 7.07701 15.4657 7.59298 15.8551 7.86959C16.2444 8.14621 16.812 8.2313 17.9472 8.40149C19.5204 8.63736 20.6806 8.89214 21.3467 9.05516C21.735 9.15017 21.9976 9.50036 21.9976 9.9001C21.9976 10.1262 21.9127 10.344 21.7606 10.5113C21.0637 11.2777 20.3487 12.0836 19.4701 12.961C18.605 13.8249 18.1724 14.2569 18.0253 14.7261C17.8781 15.1954 17.9834 15.7792 18.1939 16.9469C18.3735 17.9433 18.5569 19.1306 18.6921 20.4219C18.7528 21.0024 18.2921 21.5 17.7085 21.5C17.6522 21.5 17.5967 21.4962 17.542 21.4824C17.0502 21.3578 15.919 20.7845 14.1246 19.7243C13.0722 19.1025 12.5461 18.7917 11.9993 18.7917C11.4526 18.7917 10.9265 19.1026 9.87427 19.7244C8.08025 20.7845 6.94977 21.3578 6.45797 21.4824C6.40334 21.4962 6.34784 21.5 6.29148 21.5C5.70788 21.5 5.24716 21.0024 5.30793 20.4219C5.44314 19.1306 5.6265 17.9433 5.80612 16.9469C6.01661 15.7792 6.12186 15.1954 5.97471 14.7261C5.82756 14.2569 5.395 13.8249 4.52987 12.961C3.65132 12.0836 2.93633 11.2777 2.23944 10.5113C2.08729 10.344 2.00244 10.1262 2.00244 9.9001C2.00244 9.50036 2.265 9.15017 2.65328 9.05516C3.31945 8.89214 4.4796 8.63736 6.05284 8.40149C7.18801 8.2313 7.75559 8.14621 8.14498 7.86958C8.53437 7.59295 8.80577 7.07698 9.34859 6.04505C10.0521 4.70768 10.7445 3.57044 11.2026 2.90495C11.3825 2.64364 11.6827 2.5 11.9999 2.5C12.3171 2.5 12.6173 2.64364 12.7972 2.90494Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg> <span class="vt-nav-item-label">Favorites</span>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-nav-item-chevron" aria-hidden="true">
<path d="M18 9.00005C18 9.00005 13.5811 15 12 15C10.4188 15 6 9 6 9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg>
</button>
<div class="vt-side-nav-children">
<a href="#" class="vt-nav-item-sub"><span class="vt-nav-item-label">Design System</span></a>
<a href="#" class="vt-nav-item-sub"><span class="vt-nav-item-label">Landing Page</span></a>
</div>
</div>
<a href="#" class="vt-nav-item"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-nav-item-icon" aria-hidden="true">
<path d="M3.95631 10.5829L3.03254 9.07084C2.74505 8.60024 2.7389 8.00978 3.01652 7.5333L3.63533 6.47124C3.90953 6.00064 4.41721 5.71571 4.96162 5.7269L6.69131 5.76245C6.92616 5.76728 7.15379 5.68727 7.34333 5.54846C7.79531 5.21745 8.28334 4.93276 8.80042 4.70139C9.01191 4.60675 9.19222 4.45165 9.30469 4.24903L10.1203 2.77965C10.3847 2.30328 10.8865 2.00781 11.4312 2.00781H12.6937C13.2384 2.00781 13.7403 2.30329 14.0047 2.77966L14.8202 4.24902C14.9327 4.45165 15.113 4.60675 15.3245 4.70139C15.8416 4.93274 16.3296 5.2174 16.7815 5.54838C16.9711 5.68718 17.1987 5.76718 17.4336 5.76235L19.1634 5.72676C19.7078 5.71557 20.2155 6.00049 20.4897 6.47111L21.1085 7.53314C21.3862 8.00963 21.38 8.60009 21.0925 9.07068L20.1687 10.5828C20.0481 10.7803 20.002 11.0134 20.0235 11.2439C20.0707 11.7486 20.0707 12.267 20.0235 12.7717C20.002 13.0022 20.0481 13.2353 20.1687 13.4329L21.0924 14.9448C21.3799 15.4154 21.3861 16.0058 21.1084 16.4823L20.4896 17.5444C20.2154 18.015 19.7077 18.2999 19.1633 18.2887L17.4338 18.2531C17.1989 18.2483 16.9713 18.3283 16.7817 18.4671C16.3297 18.7982 15.8416 19.0829 15.3245 19.3142C15.113 19.4089 14.9327 19.564 14.8202 19.7666L14.0047 21.236C13.7403 21.7123 13.2384 22.0078 12.6937 22.0078H11.4312C10.8866 22.0078 10.3847 21.7123 10.1203 21.236L9.30468 19.7665C9.19222 19.5639 9.01191 19.4088 8.80042 19.3142C8.28329 19.0828 7.79519 18.798 7.34316 18.467C7.15362 18.3282 6.92597 18.2482 6.69111 18.253L4.96175 18.2886C4.41733 18.2998 3.90963 18.0148 3.63543 17.5442L3.01663 16.4822C2.739 16.0057 2.74515 15.4152 3.03264 14.9446L3.95631 13.4327C4.07699 13.2351 4.12309 13.002 4.10154 12.7715C4.05437 12.267 4.05438 11.7486 4.10154 11.244C4.12308 11.0135 4.07699 10.7805 3.95631 10.5829Z" stroke="currentColor" stroke-width="1.5"></path><circle cx="12.0625" cy="12.0078" r="3.5" stroke="currentColor" stroke-width="1.5"></circle>
</svg> <span class="vt-nav-item-label">Settings</span></a>
</div>
</nav>
The End of a Row
What sits at the end of a row is a state or an action. A state (a count, a chevron that opens the row's own group, a check, a switch that only shows the value) stays inside the link or button. Actions (More, Add to favorites) are buttons beside the link, in vt-nav-item-row: a button inside a link is invalid markup and a click inside a click. In Figma all of these go into the row's one Trailing slot.
<nav class="vt-side-nav vt-w-64" aria-label="Workspace">
<div class="vt-side-nav-body">
<a href="#" class="vt-nav-item"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-nav-item-icon" aria-hidden="true">
<path d="M2 6L8.91302 9.91697C11.4616 11.361 12.5384 11.361 15.087 9.91697L22 6" stroke="currentColor" stroke-linejoin="round" stroke-width="1.5"></path><path d="M2.01577 13.4756C2.08114 16.5412 2.11383 18.0739 3.24496 19.2094C4.37608 20.3448 5.95033 20.3843 9.09883 20.4634C11.0393 20.5122 12.9607 20.5122 14.9012 20.4634C18.0497 20.3843 19.6239 20.3448 20.7551 19.2094C21.8862 18.0739 21.9189 16.5412 21.9842 13.4756C22.0053 12.4899 22.0053 11.5101 21.9842 10.5244C21.9189 7.45886 21.8862 5.92609 20.7551 4.79066C19.6239 3.65523 18.0497 3.61568 14.9012 3.53657C12.9607 3.48781 11.0393 3.48781 9.09882 3.53656C5.95033 3.61566 4.37608 3.65521 3.24495 4.79065C2.11382 5.92608 2.08114 7.45885 2.01576 10.5244C1.99474 11.5101 1.99475 12.4899 2.01577 13.4756Z" stroke="currentColor" stroke-linejoin="round" stroke-width="1.5"></path>
</svg> <span class="vt-nav-item-label">Inbox</span> <span class="vt-count-badge">3</span><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-nav-item-chevron" aria-hidden="true">
<path d="M18 9.00005C18 9.00005 13.5811 15 12 15C10.4188 15 6 9 6 9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg></a>
<button type="button" class="vt-nav-item" role="switch" aria-checked="true">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-nav-item-icon" aria-hidden="true">
<path d="M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M12 22C15.3137 22 18 17.5228 18 12C18 6.47715 15.3137 2 12 2" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M10 14.5C10 15.3284 9.32843 16 8.5 16C7.67157 16 7 15.3284 7 14.5C7 13.6716 7.67157 13 8.5 13C9.32843 13 10 13.6716 10 14.5Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M11.125 7H11M11.25 7C11.25 7.13807 11.1381 7.25 11 7.25C10.8619 7.25 10.75 7.13807 10.75 7C10.75 6.86193 10.8619 6.75 11 6.75C11.1381 6.75 11.25 6.86193 11.25 7Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg> <span class="vt-nav-item-label">Do not disturb</span>
<span class="vt-switch vt-switch-sm vt-active" aria-hidden="true"><span class="vt-switch-thumb"></span></span>
</button>
<div class="vt-nav-item-row">
<a href="#" class="vt-nav-item"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-nav-item-icon" aria-hidden="true">
<path d="M1.99609 10.5C1.99609 9.72921 2.00956 8.97679 2.03519 8.2503C2.11892 5.87683 2.16078 4.69009 3.12616 3.71745C4.09154 2.74481 5.31179 2.6926 7.75229 2.58819C9.09126 2.5309 10.517 2.5 11.9961 2.5C13.4752 2.5 14.9009 2.5309 16.2399 2.58819C18.6804 2.6926 19.9006 2.74481 20.866 3.71745C21.8314 4.69009 21.8733 5.87683 21.957 8.2503C21.9826 8.97679 21.9961 9.72921 21.9961 10.5C21.9961 11.2708 21.9826 12.0232 21.957 12.7497C21.8733 15.1232 21.8314 16.3099 20.866 17.2826C19.9006 18.2552 18.6804 18.3074 16.2398 18.4118C15.5059 18.4432 14.7459 18.4667 13.9654 18.4815C13.2242 18.4955 12.8537 18.5026 12.5281 18.6266C12.2025 18.7506 11.9285 18.9855 11.3806 19.4553L9.20113 21.3242C9.06882 21.4376 8.90029 21.5 8.726 21.5C8.32289 21.5 7.99609 21.1732 7.99609 20.7701V18.4219C7.91451 18.4186 7.83324 18.4153 7.75229 18.4118C5.31179 18.3074 4.09154 18.2552 3.12616 17.2825C2.16078 16.3099 2.11892 15.1232 2.03519 12.7497C2.00956 12.0232 1.99609 11.2708 1.99609 10.5Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg> <span class="vt-nav-item-label">Design review</span></a>
<div class="vt-nav-item-actions">
<button type="button" class="vt-btn vt-btn-ghost vt-btn-icon vt-btn-sm" aria-label="More"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-w-4 vt-h-4" aria-hidden="true">
<path d="M12 12H12.5M19 12H19.5M5 12H5.5M12 13C12.5523 13 13 12.5523 13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12C11 12.5523 11.4477 13 12 13ZM19 13C19.5523 13 20 12.5523 20 12C20 11.4477 19.5523 11 19 11C18.4477 11 18 11.4477 18 12C18 12.5523 18.4477 13 19 13ZM5 13C5.55228 13 6 12.5523 6 12C6 11.4477 5.55228 11 5 11C4.44772 11 4 11.4477 4 12C4 12.5523 4.44772 13 5 13Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg></button>
<button type="button" class="vt-btn vt-btn-ghost vt-btn-icon vt-btn-sm" aria-label="Add to favorites"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-w-4 vt-h-4" aria-hidden="true">
<path d="M12.7972 2.90494C13.2554 3.57043 13.9479 4.70769 14.6514 6.04507C15.1942 7.07701 15.4657 7.59298 15.8551 7.86959C16.2444 8.14621 16.812 8.2313 17.9472 8.40149C19.5204 8.63736 20.6806 8.89214 21.3467 9.05516C21.735 9.15017 21.9976 9.50036 21.9976 9.9001C21.9976 10.1262 21.9127 10.344 21.7606 10.5113C21.0637 11.2777 20.3487 12.0836 19.4701 12.961C18.605 13.8249 18.1724 14.2569 18.0253 14.7261C17.8781 15.1954 17.9834 15.7792 18.1939 16.9469C18.3735 17.9433 18.5569 19.1306 18.6921 20.4219C18.7528 21.0024 18.2921 21.5 17.7085 21.5C17.6522 21.5 17.5967 21.4962 17.542 21.4824C17.0502 21.3578 15.919 20.7845 14.1246 19.7243C13.0722 19.1025 12.5461 18.7917 11.9993 18.7917C11.4526 18.7917 10.9265 19.1026 9.87427 19.7244C8.08025 20.7845 6.94977 21.3578 6.45797 21.4824C6.40334 21.4962 6.34784 21.5 6.29148 21.5C5.70788 21.5 5.24716 21.0024 5.30793 20.4219C5.44314 19.1306 5.6265 17.9433 5.80612 16.9469C6.01661 15.7792 6.12186 15.1954 5.97471 14.7261C5.82756 14.2569 5.395 13.8249 4.52987 12.961C3.65132 12.0836 2.93633 11.2777 2.23944 10.5113C2.08729 10.344 2.00244 10.1262 2.00244 9.9001C2.00244 9.50036 2.265 9.15017 2.65328 9.05516C3.31945 8.89214 4.4796 8.63736 6.05284 8.40149C7.18801 8.2313 7.75559 8.14621 8.14498 7.86958C8.53437 7.59295 8.80577 7.07698 9.34859 6.04505C10.0521 4.70768 10.7445 3.57044 11.2026 2.90495C11.3825 2.64364 11.6827 2.5 11.9999 2.5C12.3171 2.5 12.6173 2.64364 12.7972 2.90494Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg></button>
</div>
</div>
</div>
</nav>
Nested Rows
A nested link (vt-nav-item-sub) ends the same way: nothing, a state mark inside the link (svg.vt-nav-item-end-icon, a 16px icon centered on the row), or actions beside it in vt-nav-item-row. vt-nav-item-actions-hover shows the actions only on hover, on keyboard focus and on the current row — a More menu on each chat of a list. The row keeps its 32px height: a 32px icon button sits on it, centered. In Figma all three are a nested NavItem (Level=Sub) and what goes into its Trailing slot.
<nav class="vt-side-nav vt-w-64" aria-label="Chats">
<div class="vt-side-nav-body">
<div class="vt-side-nav-section open" data-vt-sidebar-collapsible="">
<button type="button" class="vt-nav-item" aria-expanded="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-nav-item-icon" aria-hidden="true">
<path d="M1.99609 10.5C1.99609 9.72921 2.00956 8.97679 2.03519 8.2503C2.11892 5.87683 2.16078 4.69009 3.12616 3.71745C4.09154 2.74481 5.31179 2.6926 7.75229 2.58819C9.09126 2.5309 10.517 2.5 11.9961 2.5C13.4752 2.5 14.9009 2.5309 16.2399 2.58819C18.6804 2.6926 19.9006 2.74481 20.866 3.71745C21.8314 4.69009 21.8733 5.87683 21.957 8.2503C21.9826 8.97679 21.9961 9.72921 21.9961 10.5C21.9961 11.2708 21.9826 12.0232 21.957 12.7497C21.8733 15.1232 21.8314 16.3099 20.866 17.2826C19.9006 18.2552 18.6804 18.3074 16.2398 18.4118C15.5059 18.4432 14.7459 18.4667 13.9654 18.4815C13.2242 18.4955 12.8537 18.5026 12.5281 18.6266C12.2025 18.7506 11.9285 18.9855 11.3806 19.4553L9.20113 21.3242C9.06882 21.4376 8.90029 21.5 8.726 21.5C8.32289 21.5 7.99609 21.1732 7.99609 20.7701V18.4219C7.91451 18.4186 7.83324 18.4153 7.75229 18.4118C5.31179 18.3074 4.09154 18.2552 3.12616 17.2825C2.16078 16.3099 2.11892 15.1232 2.03519 12.7497C2.00956 12.0232 1.99609 11.2708 1.99609 10.5Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg> <span class="vt-nav-item-label">Chats</span> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-nav-item-chevron" aria-hidden="true">
<path d="M18 9.00005C18 9.00005 13.5811 15 12 15C10.4188 15 6 9 6 9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg></button>
<div class="vt-side-nav-children">
<a href="#" class="vt-nav-item-sub"><span class="vt-nav-item-label">Quarterly plan</span></a>
<a href="#" class="vt-nav-item-sub"><span class="vt-nav-item-label">Design review</span> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-nav-item-end-icon" aria-hidden="true" aria-label="Favorite">
<path d="M12.7972 2.90494C13.2554 3.57043 13.9479 4.70769 14.6514 6.04507C15.1942 7.07701 15.4657 7.59298 15.8551 7.86959C16.2444 8.14621 16.812 8.2313 17.9472 8.40149C19.5204 8.63736 20.6806 8.89214 21.3467 9.05516C21.735 9.15017 21.9976 9.50036 21.9976 9.9001C21.9976 10.1262 21.9127 10.344 21.7606 10.5113C21.0637 11.2777 20.3487 12.0836 19.4701 12.961C18.605 13.8249 18.1724 14.2569 18.0253 14.7261C17.8781 15.1954 17.9834 15.7792 18.1939 16.9469C18.3735 17.9433 18.5569 19.1306 18.6921 20.4219C18.7528 21.0024 18.2921 21.5 17.7085 21.5C17.6522 21.5 17.5967 21.4962 17.542 21.4824C17.0502 21.3578 15.919 20.7845 14.1246 19.7243C13.0722 19.1025 12.5461 18.7917 11.9993 18.7917C11.4526 18.7917 10.9265 19.1026 9.87427 19.7244C8.08025 20.7845 6.94977 21.3578 6.45797 21.4824C6.40334 21.4962 6.34784 21.5 6.29148 21.5C5.70788 21.5 5.24716 21.0024 5.30793 20.4219C5.44314 19.1306 5.6265 17.9433 5.80612 16.9469C6.01661 15.7792 6.12186 15.1954 5.97471 14.7261C5.82756 14.2569 5.395 13.8249 4.52987 12.961C3.65132 12.0836 2.93633 11.2777 2.23944 10.5113C2.08729 10.344 2.00244 10.1262 2.00244 9.9001C2.00244 9.50036 2.265 9.15017 2.65328 9.05516C3.31945 8.89214 4.4796 8.63736 6.05284 8.40149C7.18801 8.2313 7.75559 8.14621 8.14498 7.86958C8.53437 7.59295 8.80577 7.07698 9.34859 6.04505C10.0521 4.70768 10.7445 3.57044 11.2026 2.90495C11.3825 2.64364 11.6827 2.5 11.9999 2.5C12.3171 2.5 12.6173 2.64364 12.7972 2.90494Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg></a>
<div class="vt-nav-item-row">
<a href="#" class="vt-nav-item-sub vt-active" aria-current="page"><span class="vt-nav-item-label">Launch checklist</span></a>
<div class="vt-nav-item-actions vt-nav-item-actions-hover">
<button type="button" class="vt-btn vt-btn-ghost vt-btn-icon vt-btn-sm" aria-label="More"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-w-4 vt-h-4" aria-hidden="true">
<path d="M12 12H12.5M19 12H19.5M5 12H5.5M12 13C12.5523 13 13 12.5523 13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12C11 12.5523 11.4477 13 12 13ZM19 13C19.5523 13 20 12.5523 20 12C20 11.4477 19.5523 11 19 11C18.4477 11 18 11.4477 18 12C18 12.5523 18.4477 13 19 13ZM5 13C5.55228 13 6 12.5523 6 12C6 11.4477 5.55228 11 5 11C4.44772 11 4 11.4477 4 12C4 12.5523 4.44772 13 5 13Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg></button>
</div>
</div>
<div class="vt-nav-item-row">
<a href="#" class="vt-nav-item-sub"><span class="vt-nav-item-label">Hiring notes</span></a>
<div class="vt-nav-item-actions vt-nav-item-actions-hover">
<button type="button" class="vt-btn vt-btn-ghost vt-btn-icon vt-btn-sm" aria-label="More"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-w-4 vt-h-4" aria-hidden="true">
<path d="M12 12H12.5M19 12H19.5M5 12H5.5M12 13C12.5523 13 13 12.5523 13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12C11 12.5523 11.4477 13 12 13ZM19 13C19.5523 13 20 12.5523 20 12C20 11.4477 19.5523 11 19 11C18.4477 11 18 11.4477 18 12C18 12.5523 18.4477 13 19 13ZM5 13C5.55228 13 6 12.5523 6 12C6 11.4477 5.55228 11 5 11C4.44772 11 4 11.4477 4 12C4 12.5523 4.44772 13 5 13Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg></button>
</div>
</div>
</div>
</div>
</div>
</nav>
Account Row
What leads a row is its Leading slot in Figma: the icon by default, or an avatar — the account in the footer, a button that opens the account menu — or an agent's mascot. In code it is the row's first child; the label keeps the row's color, and the row keeps its hover and its radius.
<nav class="vt-side-nav vt-w-64" aria-label="Account">
<div class="vt-side-nav-footer">
<button type="button" class="vt-nav-item" aria-haspopup="menu">
<div class="vt-avatar vt-avatar-sm">J</div>
<span class="vt-nav-item-label">Jane Doe</span>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-nav-item-chevron" aria-hidden="true">
<path d="M18 15C18 15 13.5811 9.00001 12 9C10.4188 8.99999 6 15 6 15" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg>
</button>
</div>
</nav>
Compact
Collapsed sidebar with icon-only navigation.
<nav class="vt-side-nav vt-side-nav-compact vt-h-80" aria-label="Main">
<div class="vt-side-nav-header">
<span class="vt-side-nav-logo">A</span>
</div>
<div class="vt-side-nav-body">
<a href="#" class="vt-nav-item vt-nav-item-compact vt-active" aria-label="Dashboard" aria-current="page"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-nav-item-icon" aria-hidden="true">
<path d="M13 2L2 7" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M12 3V22H7C5.11438 22 4.17157 22 3.58579 21.4142C3 20.8284 3 19.8856 3 18V7" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M12 7L22 12" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M10 21.9997H17C18.8856 21.9997 19.8284 21.9997 20.4142 21.4139C21 20.8281 21 19.8853 21 17.9997V11.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M18 10L18 7" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M7 11H8M7 15H8" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M16 14H17" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M16.5 22V18" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg></a>
<a href="#" class="vt-nav-item vt-nav-item-compact" aria-label="Projects"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-nav-item-icon" aria-hidden="true">
<path d="M2.49634 5.5C2.49634 4.08579 2.49634 3.37868 2.93568 2.93934C3.37502 2.5 4.08212 2.5 5.49634 2.5H6.99616C8.41037 2.5 9.11748 2.5 9.55682 2.93934C9.99616 3.37868 9.99616 4.08579 9.99616 5.5V10C9.99616 11.4142 9.99616 12.1213 9.55682 12.5607C9.11748 13 8.41037 13 6.99616 13H5.49634C4.08212 13 3.37502 13 2.93568 12.5607C2.49634 12.1213 2.49634 11.4142 2.49634 10V5.5Z" stroke="currentColor" stroke-linejoin="round" stroke-width="1.5"></path><path d="M2.49616 19.2501C2.49613 18.5512 2.49611 18.2017 2.61029 17.926C2.76252 17.5585 3.05454 17.2664 3.42209 17.1142C3.69775 17 4.04722 17 4.74616 17H7.74597C8.44486 17 8.7943 17 9.06996 17.1142C9.43749 17.2664 9.7295 17.5584 9.88175 17.9259C9.99593 18.2016 9.99595 18.551 9.99597 19.2499C9.996 19.9488 9.99602 20.2983 9.88184 20.574C9.72961 20.9415 9.43759 21.2336 9.07004 21.3858C8.79438 21.5 8.44491 21.5 7.74597 21.5H4.74616C4.04727 21.5 3.69783 21.5 3.42217 21.3858C3.05464 21.2336 2.76263 20.9416 2.61038 20.5741C2.4962 20.2984 2.49618 19.949 2.49616 19.2501Z" stroke="currentColor" stroke-linejoin="round" stroke-width="1.5"></path><path d="M13.9962 4.75C13.9962 4.05109 13.9962 3.70163 14.1103 3.42597C14.2626 3.05843 14.5546 2.76642 14.9221 2.61418C15.1978 2.5 15.5472 2.5 16.2462 2.5H19.246C19.9449 2.5 20.2943 2.5 20.57 2.61418C20.9375 2.76642 21.2296 3.05843 21.3818 3.42597C21.496 3.70163 21.496 4.05109 21.496 4.75C21.496 5.44891 21.496 5.79837 21.3818 6.07403C21.2296 6.44157 20.9375 6.73358 20.57 6.88582C20.2943 7 19.9449 7 19.246 7H16.2462C15.5472 7 15.1978 7 14.9221 6.88582C14.5546 6.73358 14.2626 6.44157 14.1103 6.07403C13.9962 5.79837 13.9962 5.44891 13.9962 4.75Z" stroke="currentColor" stroke-linejoin="round" stroke-width="1.5"></path><path d="M13.9962 14.0001C13.9962 12.5858 13.9962 11.8787 14.4355 11.4393C14.8749 11 15.582 11 16.9962 11H18.496C19.9102 11 20.6173 11 21.0567 11.4393C21.496 11.8787 21.496 12.5858 21.496 13.9999L21.4961 18.4999C21.4961 19.9142 21.4961 20.6213 21.0568 21.0607C20.6175 21.5 19.9103 21.5 18.4961 21.5H16.9963C15.5821 21.5 14.875 21.5 14.4357 21.0607C13.9963 20.6213 13.9963 19.9142 13.9963 18.5001L13.9962 14.0001Z" stroke="currentColor" stroke-linejoin="round" stroke-width="1.5"></path>
</svg></a>
<a href="#" class="vt-nav-item vt-nav-item-compact" aria-label="Team"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-nav-item-icon" aria-hidden="true">
<path d="M16.5 20V16.9852C16.5 16.364 16.2184 15.7658 15.6838 15.4494C14.1574 14.546 12.1714 14 10 14C7.82863 14 5.84261 14.546 4.31618 15.4494C3.78162 15.7658 3.5 16.364 3.5 16.9852V20" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><circle cx="10" cy="7.5" r="3.5" stroke="currentColor" stroke-width="1.5"></circle><path d="M20.5 20.001V16.9862C20.5 16.365 20.2184 15.7667 19.6838 15.4504C19.171 15.1468 18.6062 14.8837 18 14.668" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M15 4.14453C16.4457 4.57481 17.5 5.91408 17.5 7.49959C17.5 9.0851 16.4457 10.4244 15 10.8547" stroke="currentColor" stroke-linecap="round" stroke-width="1.5"></path>
</svg></a>
<span class="vt-notification-badge">
<a href="#" class="vt-nav-item vt-nav-item-compact" aria-label="Notifications (new)"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-nav-item-icon" aria-hidden="true">
<path d="M16 18C16 20.2091 14.2091 22 12 22C9.79086 22 8 20.2091 8 18" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M4.43654 18H19.5625C20.2903 18 20.6542 18 20.8648 17.8951C21.274 17.6913 21.4929 17.2359 21.3964 16.789C21.3468 16.559 21.1194 16.2749 20.6648 15.7066L20.4951 15.4944C20.0392 14.9246 19.8113 14.6397 19.6184 14.3409C19.0187 13.4119 18.6477 12.354 18.5356 11.254C18.4995 10.9002 18.4995 10.5353 18.4995 9.8056V8.5C18.4995 8.03572 18.4995 7.80358 18.4867 7.60758C18.2898 4.60304 15.8965 2.20977 12.892 2.01285C12.696 2 12.4638 2 11.9995 2C11.5353 2 11.3031 2 11.1071 2.01285C8.10258 2.20977 5.70931 4.60304 5.51239 7.60758C5.49954 7.80358 5.49954 8.03572 5.49954 8.5V9.8056C5.49954 10.5353 5.49954 10.9002 5.46349 11.254C5.35143 12.354 4.98035 13.4119 4.38067 14.3409C4.18779 14.6397 3.95985 14.9246 3.50401 15.4944L3.33427 15.7066C2.87964 16.2749 2.65233 16.559 2.60268 16.789C2.50621 17.2359 2.72509 17.6913 3.13431 17.8951C3.3449 18 3.70878 18 4.43654 18Z" stroke="currentColor" stroke-width="1.5"></path>
</svg></a>
<span class="vt-notification-dot"></span>
</span>
</div>
<div class="vt-side-nav-footer">
<a href="#" class="vt-nav-item vt-nav-item-compact vt-muted" aria-label="Settings"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-nav-item-icon" aria-hidden="true">
<path d="M3.95631 10.5829L3.03254 9.07084C2.74505 8.60024 2.7389 8.00978 3.01652 7.5333L3.63533 6.47124C3.90953 6.00064 4.41721 5.71571 4.96162 5.7269L6.69131 5.76245C6.92616 5.76728 7.15379 5.68727 7.34333 5.54846C7.79531 5.21745 8.28334 4.93276 8.80042 4.70139C9.01191 4.60675 9.19222 4.45165 9.30469 4.24903L10.1203 2.77965C10.3847 2.30328 10.8865 2.00781 11.4312 2.00781H12.6937C13.2384 2.00781 13.7403 2.30329 14.0047 2.77966L14.8202 4.24902C14.9327 4.45165 15.113 4.60675 15.3245 4.70139C15.8416 4.93274 16.3296 5.2174 16.7815 5.54838C16.9711 5.68718 17.1987 5.76718 17.4336 5.76235L19.1634 5.72676C19.7078 5.71557 20.2155 6.00049 20.4897 6.47111L21.1085 7.53314C21.3862 8.00963 21.38 8.60009 21.0925 9.07068L20.1687 10.5828C20.0481 10.7803 20.002 11.0134 20.0235 11.2439C20.0707 11.7486 20.0707 12.267 20.0235 12.7717C20.002 13.0022 20.0481 13.2353 20.1687 13.4329L21.0924 14.9448C21.3799 15.4154 21.3861 16.0058 21.1084 16.4823L20.4896 17.5444C20.2154 18.015 19.7077 18.2999 19.1633 18.2887L17.4338 18.2531C17.1989 18.2483 16.9713 18.3283 16.7817 18.4671C16.3297 18.7982 15.8416 19.0829 15.3245 19.3142C15.113 19.4089 14.9327 19.564 14.8202 19.7666L14.0047 21.236C13.7403 21.7123 13.2384 22.0078 12.6937 22.0078H11.4312C10.8866 22.0078 10.3847 21.7123 10.1203 21.236L9.30468 19.7665C9.19222 19.5639 9.01191 19.4088 8.80042 19.3142C8.28329 19.0828 7.79519 18.798 7.34316 18.467C7.15362 18.3282 6.92597 18.2482 6.69111 18.253L4.96175 18.2886C4.41733 18.2998 3.90963 18.0148 3.63543 17.5442L3.01663 16.4822C2.739 16.0057 2.74515 15.4152 3.03264 14.9446L3.95631 13.4327C4.07699 13.2351 4.12309 13.002 4.10154 12.7715C4.05437 12.267 4.05438 11.7486 4.10154 11.244C4.12308 11.0135 4.07699 10.7805 3.95631 10.5829Z" stroke="currentColor" stroke-width="1.5"></path><circle cx="12.0625" cy="12.0078" r="3.5" stroke="currentColor" stroke-width="1.5"></circle>
</svg></a>
</div>
</nav>
Floating
Off the screen edge, with space around it: vt-side-nav-floating gives it a full border and rounded corners.
<nav class="vt-side-nav vt-side-nav-floating vt-w-64" aria-label="Floating example">
<div class="vt-side-nav-header">
<span class="vt-side-nav-logo">A</span>
<span class="vt-side-nav-title">Acme Inc</span>
</div>
<div class="vt-side-nav-body">
<a href="#" class="vt-nav-item vt-active" aria-current="page"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-nav-item-icon" aria-hidden="true">
<path d="M13 2L2 7" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M12 3V22H7C5.11438 22 4.17157 22 3.58579 21.4142C3 20.8284 3 19.8856 3 18V7" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M12 7L22 12" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M10 21.9997H17C18.8856 21.9997 19.8284 21.9997 20.4142 21.4139C21 20.8281 21 19.8853 21 17.9997V11.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M18 10L18 7" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M7 11H8M7 15H8" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M16 14H17" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M16.5 22V18" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg> <span class="vt-nav-item-label">Dashboard</span></a>
<a href="#" class="vt-nav-item"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-nav-item-icon" aria-hidden="true">
<path d="M2.49634 5.5C2.49634 4.08579 2.49634 3.37868 2.93568 2.93934C3.37502 2.5 4.08212 2.5 5.49634 2.5H6.99616C8.41037 2.5 9.11748 2.5 9.55682 2.93934C9.99616 3.37868 9.99616 4.08579 9.99616 5.5V10C9.99616 11.4142 9.99616 12.1213 9.55682 12.5607C9.11748 13 8.41037 13 6.99616 13H5.49634C4.08212 13 3.37502 13 2.93568 12.5607C2.49634 12.1213 2.49634 11.4142 2.49634 10V5.5Z" stroke="currentColor" stroke-linejoin="round" stroke-width="1.5"></path><path d="M2.49616 19.2501C2.49613 18.5512 2.49611 18.2017 2.61029 17.926C2.76252 17.5585 3.05454 17.2664 3.42209 17.1142C3.69775 17 4.04722 17 4.74616 17H7.74597C8.44486 17 8.7943 17 9.06996 17.1142C9.43749 17.2664 9.7295 17.5584 9.88175 17.9259C9.99593 18.2016 9.99595 18.551 9.99597 19.2499C9.996 19.9488 9.99602 20.2983 9.88184 20.574C9.72961 20.9415 9.43759 21.2336 9.07004 21.3858C8.79438 21.5 8.44491 21.5 7.74597 21.5H4.74616C4.04727 21.5 3.69783 21.5 3.42217 21.3858C3.05464 21.2336 2.76263 20.9416 2.61038 20.5741C2.4962 20.2984 2.49618 19.949 2.49616 19.2501Z" stroke="currentColor" stroke-linejoin="round" stroke-width="1.5"></path><path d="M13.9962 4.75C13.9962 4.05109 13.9962 3.70163 14.1103 3.42597C14.2626 3.05843 14.5546 2.76642 14.9221 2.61418C15.1978 2.5 15.5472 2.5 16.2462 2.5H19.246C19.9449 2.5 20.2943 2.5 20.57 2.61418C20.9375 2.76642 21.2296 3.05843 21.3818 3.42597C21.496 3.70163 21.496 4.05109 21.496 4.75C21.496 5.44891 21.496 5.79837 21.3818 6.07403C21.2296 6.44157 20.9375 6.73358 20.57 6.88582C20.2943 7 19.9449 7 19.246 7H16.2462C15.5472 7 15.1978 7 14.9221 6.88582C14.5546 6.73358 14.2626 6.44157 14.1103 6.07403C13.9962 5.79837 13.9962 5.44891 13.9962 4.75Z" stroke="currentColor" stroke-linejoin="round" stroke-width="1.5"></path><path d="M13.9962 14.0001C13.9962 12.5858 13.9962 11.8787 14.4355 11.4393C14.8749 11 15.582 11 16.9962 11H18.496C19.9102 11 20.6173 11 21.0567 11.4393C21.496 11.8787 21.496 12.5858 21.496 13.9999L21.4961 18.4999C21.4961 19.9142 21.4961 20.6213 21.0568 21.0607C20.6175 21.5 19.9103 21.5 18.4961 21.5H16.9963C15.5821 21.5 14.875 21.5 14.4357 21.0607C13.9963 20.6213 13.9963 19.9142 13.9963 18.5001L13.9962 14.0001Z" stroke="currentColor" stroke-linejoin="round" stroke-width="1.5"></path>
</svg> <span class="vt-nav-item-label">Projects</span></a>
<a href="#" class="vt-nav-item"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-nav-item-icon" aria-hidden="true">
<path d="M16.5 20V16.9852C16.5 16.364 16.2184 15.7658 15.6838 15.4494C14.1574 14.546 12.1714 14 10 14C7.82863 14 5.84261 14.546 4.31618 15.4494C3.78162 15.7658 3.5 16.364 3.5 16.9852V20" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><circle cx="10" cy="7.5" r="3.5" stroke="currentColor" stroke-width="1.5"></circle><path d="M20.5 20.001V16.9862C20.5 16.365 20.2184 15.7667 19.6838 15.4504C19.171 15.1468 18.6062 14.8837 18 14.668" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M15 4.14453C16.4457 4.57481 17.5 5.91408 17.5 7.49959C17.5 9.0851 16.4457 10.4244 15 10.8547" stroke="currentColor" stroke-linecap="round" stroke-width="1.5"></path>
</svg> <span class="vt-nav-item-label">Team</span></a>
</div>
</nav>
Guidelines
Anatomy
nav.vt-side-nav ← Panel (+ vt-side-nav-compact)
├── div.vt-side-nav-header
│ ├── span.vt-side-nav-logo
│ └── span.vt-side-nav-title
├── div.vt-side-nav-body
│ └── div.vt-side-nav-group ← Optional labeled group
│ ├── p.vt-section-label
│ ├── a.vt-nav-item(.vt-active)
│ │ ├── svg.vt-nav-item-icon
│ │ └── span.vt-count-badge ← Optional count
│ └── div.vt-side-nav-section[data-vt-sidebar-collapsible](.open)
│ ├── button.vt-nav-item ← Toggle, ends in svg.vt-nav-item-chevron
│ └── div.vt-side-nav-children
│ └── a.vt-nav-item-sub
└── div.vt-side-nav-footer
└── a.vt-nav-item.vt-muted
API Reference
| Class | Type | Description |
|---|---|---|
vt-side-nav |
Base | The panel on the screen edge — a column on the card surface with one border, facing the content, and no corners; its width comes from the layout |
vt-side-nav-floating |
Modifier | Inset panel for a sidebar that stands off the edge: full border and the card radius |
vt-side-nav-header |
Part | Top row, 64px tall — as tall as a page header, so their dividers line up — with the logo mark and the title |
vt-side-nav-logo |
Part | 28px brand mark |
vt-side-nav-title |
Part | App or workspace name — Label/MD |
vt-side-nav-body |
Part | Nav items, 2px apart; takes the free height and scrolls |
vt-side-nav-group |
Part | A labeled group of items (vt-section-label first); 16px above the next group |
vt-nav-item-row |
Part | A row with actions: the link (vt-nav-item) and vt-nav-item-actions beside it, hovering as one row; buttons never go inside a link |
vt-nav-item-actions |
Part | Icon buttons at the end of a row with actions (vt-btn vt-btn-ghost vt-btn-icon vt-btn-sm), over the link's end; the link keeps room for them (--vt-nav-item-actions-width: 64px by default, 32px for a single button) |
vt-nav-item-actions-hover |
Modifier | The actions show only on hover, on keyboard focus and on the current row (a More menu on each chat); they lie over the end of the label, which keeps its full width, on the row background so the label does not show through |
vt-nav-item-end-icon |
Part | A 16px state mark at the end of a row, inside the link (a pin on a pinned chat), centered on the row |
vt-side-nav-section |
Part | Collapsible section (data-vt-sidebar-collapsible): a vt-nav-item toggle and its vt-side-nav-children; .open shows them |
vt-side-nav-children |
Part | Nested links (vt-nav-item-sub), indented under the toggle's label |
vt-side-nav-footer |
Part | Bottom row pinned under the body, divided from it |
vt-nav-item |
Part | A link; vt-active marks the current page (--vt-state-selected, hover is --vt-state-hover — both neutral, independent of the brand color), vt-muted a secondary link. vt-active-neutral is deprecated: an alias of vt-active |
vt-nav-item-icon |
Part | 20px icon of a nav item (16px in vt-nav-item-sm) |
vt-nav-item-label |
Part | The label of a nav item: one line, a long one cut with an ellipsis (without it the row still stays on one line) |
vt-nav-item-chevron |
Part | Chevron at the end of a section toggle; turns when the section is open |
vt-count-badge |
Part | Count at the end of a nav item |
vt-side-nav-compact |
Variant | Icon-only rail of 40px vt-nav-item vt-nav-item-compact squares, centered with no side padding so a 64px rail (vt-w-16) never scrolls sideways — highlighted like the full menu: vt-active (the neutral --vt-state-selected wash) for the current page, vt-muted in the footer |
vt-nav-item-compact |
Modifier | Icon-only nav item: a 44px square around its 20px icon; needs an aria-label |
Accessibility
| Feature | Details |
|---|---|
| Landmark | vt-side-nav is a nav element with an aria-label ("Main", "Workspace") |
| Current | The active item has aria-current="page" |
| Collapsible | The section toggle is a button; the bundle keeps its aria-expanded in step with .open |
| Compact | Icon-only items need an aria-label (and a tooltip helps sighted users); the current one keeps aria-current="page" |
| Keyboard | All links focusable via Tab, sections toggle via Enter/Space |