Page Layout
The shell a page is built in: a top bar, a sidebar, the content and a footer, in three common arrangements.
Stacked
Top bar, content, footer — a site or a simple app.
html
Acme
<div class="vt-h-96">
<div class="vt-page-layout">
<header class="vt-page-layout-header">
<div class="vt-page-layout-brand">
<div class="vt-icon-badge vt-icon-badge-sm vt-icon-badge-square"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-icon-badge-icon" aria-hidden="true">
<path d="M12 22C11.1818 22 10.4002 21.6698 8.83693 21.0095C4.94564 19.3657 3 18.5438 3 17.1613C3 16.7742 3 10.0645 3 7M12 22C12.8182 22 13.5998 21.6698 15.1631 21.0095C19.0544 19.3657 21 18.5438 21 17.1613V7M12 22L12 11.3548" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M8.32592 9.69138L5.40472 8.27785C3.80157 7.5021 3 7.11423 3 6.5C3 5.88577 3.80157 5.4979 5.40472 4.72215L8.32592 3.30862C10.1288 2.43621 11.0303 2 12 2C12.9697 2 13.8712 2.4362 15.6741 3.30862L18.5953 4.72215C20.1984 5.4979 21 5.88577 21 6.5C21 7.11423 20.1984 7.5021 18.5953 8.27785L15.6741 9.69138C13.8712 10.5638 12.9697 11 12 11C11.0303 11 10.1288 10.5638 8.32592 9.69138Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M6 12L8 13" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M17 4L7 9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg></div>
Acme
</div>
<nav class="vt-page-layout-nav" aria-label="Main">
<a href="#" class="vt-link vt-link-muted">Product</a>
<a href="#" class="vt-link vt-link-muted">Pricing</a>
<a href="#" class="vt-link vt-link-muted">Docs</a>
</nav>
<div class="vt-page-layout-actions">
<button type="button" class="vt-btn vt-btn-primary vt-btn-sm"><span>Sign in</span></button>
</div>
</header>
<main class="vt-page-layout-main" aria-label="Content placeholder">
<div class="vt-skeleton vt-skeleton-card"></div>
<div class="vt-skeleton vt-skeleton-line"></div>
<div class="vt-skeleton vt-skeleton-line"></div>
<div class="vt-skeleton vt-skeleton-line"></div>
</main>
<footer class="vt-page-layout-footer">
<span>© 2026 Acme</span>
<nav class="vt-page-layout-nav" aria-label="Legal">
<a href="#" class="vt-link vt-link-muted">Privacy</a>
<a href="#" class="vt-link vt-link-muted">Terms</a>
</nav>
</footer>
</div>
</div>
Sidebar + Content
An app: the sidebar runs full height, the top bar and the content sit beside it.
html
Dashboard
J
<div class="vt-h-96">
<div class="vt-page-layout">
<div class="vt-page-layout-body">
<nav class="vt-side-nav vt-page-layout-sidebar" aria-label="Main">
<div class="vt-side-nav-header">
<span class="vt-side-nav-logo">A</span>
<span class="vt-side-nav-title">Acme</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="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>
<div class="vt-page-layout-content">
<header class="vt-page-layout-header">
<h1 class="vt-page-layout-title">Dashboard</h1>
<div class="vt-page-layout-actions">
<button type="button" class="vt-btn vt-btn-ghost vt-btn-sm vt-btn-icon" aria-label="Search"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" aria-hidden="true">
<path d="M17 17L21 21" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M19 11C19 6.58172 15.4183 3 11 3C6.58172 3 3 6.58172 3 11C3 15.4183 6.58172 19 11 19C15.4183 19 19 15.4183 19 11Z" 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-sm vt-btn-icon" aria-label="Notifications"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" 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></button>
<div class="vt-avatar vt-avatar-sm"><span>J</span></div>
</div>
</header>
<main class="vt-page-layout-main" aria-label="Content placeholder">
<div class="vt-skeleton vt-skeleton-card"></div>
<div class="vt-skeleton vt-skeleton-line"></div>
<div class="vt-skeleton vt-skeleton-line"></div>
<div class="vt-skeleton vt-skeleton-line"></div>
</main>
</div>
</div>
</div>
</div>
Holy Grail
Top bar, a sidebar, the content, an aside and a footer — documentation.
html
Acme Docs
J
<div class="vt-h-96">
<div class="vt-page-layout">
<header class="vt-page-layout-header">
<div class="vt-page-layout-brand">
<div class="vt-icon-badge vt-icon-badge-sm vt-icon-badge-square"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-icon-badge-icon" aria-hidden="true">
<path d="M12 22C11.1818 22 10.4002 21.6698 8.83693 21.0095C4.94564 19.3657 3 18.5438 3 17.1613C3 16.7742 3 10.0645 3 7M12 22C12.8182 22 13.5998 21.6698 15.1631 21.0095C19.0544 19.3657 21 18.5438 21 17.1613V7M12 22L12 11.3548" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M8.32592 9.69138L5.40472 8.27785C3.80157 7.5021 3 7.11423 3 6.5C3 5.88577 3.80157 5.4979 5.40472 4.72215L8.32592 3.30862C10.1288 2.43621 11.0303 2 12 2C12.9697 2 13.8712 2.4362 15.6741 3.30862L18.5953 4.72215C20.1984 5.4979 21 5.88577 21 6.5C21 7.11423 20.1984 7.5021 18.5953 8.27785L15.6741 9.69138C13.8712 10.5638 12.9697 11 12 11C11.0303 11 10.1288 10.5638 8.32592 9.69138Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M6 12L8 13" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M17 4L7 9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg></div>
Acme Docs
</div>
<nav class="vt-page-layout-nav" aria-label="Main">
<a href="#" class="vt-link vt-link-muted">Guides</a>
<a href="#" class="vt-link vt-link-muted">API</a>
<a href="#" class="vt-link vt-link-muted">Blog</a>
</nav>
<div class="vt-page-layout-actions">
<div class="vt-avatar vt-avatar-sm"><span>J</span></div>
</div>
</header>
<div class="vt-page-layout-body">
<nav class="vt-side-nav vt-page-layout-sidebar" aria-label="Docs">
<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="M7.99978 3.5H6.60021C4.43183 3.5 3.34764 3.5 2.67399 4.17362C2.00034 4.84724 2.00029 5.93144 2.00021 8.09982L2 13.3998C1.99992 15.5684 1.99987 16.6526 2.67353 17.3263C3.34719 18 4.43146 18 6.6 18H8.95042C10.4329 18 11.7092 19.0464 11.9999 20.5V5.5C11.0556 4.24097 9.99989 3.5 7.99978 3.5Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M16.0001 3.5H17.3997C19.5681 3.5 20.6523 3.5 21.3259 4.17362C21.9996 4.84724 21.9996 5.93144 21.9997 8.09982L21.9999 13.3998C22 15.5684 22 16.6526 21.3264 17.3263C20.6527 18 19.5684 18 17.3999 18H15.0495C13.567 18 12.2907 19.0464 12 20.5V5.5C12.9443 4.24097 14 3.5 16.0001 3.5Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg> <span class="vt-nav-item-label">Getting started</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">Components</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="M21.8205 10.4127C22.062 11.8519 22.1827 12.5715 21.2423 13.9326C21.1459 14.0722 20.8966 14.3713 20.777 14.4911C19.6103 15.6586 18.4308 15.6586 16.0716 15.6586H14.1392C13.5085 15.6586 13.1931 15.6586 12.9639 15.7142C11.9586 15.9581 11.3031 16.9391 11.453 17.9755C11.4872 18.2118 11.6043 18.5085 11.8386 19.102C11.9345 19.3449 11.9824 19.4664 12.0136 19.7304C12.1292 20.7084 11.0869 21.9508 10.1158 21.9926C9.85358 22.0039 9.83681 22.0002 9.80326 21.9926C7.66174 21.51 5.66204 20.3123 4.18389 18.4421C0.736789 14.0808 1.43146 7.71364 5.73548 4.22064C10.0395 0.727643 16.323 1.43156 19.7701 5.79289C20.868 7.1819 21.5457 8.77438 21.8205 10.4127Z" stroke="currentColor" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-width="1.5"></path><path d="M7.36719 7.74976H7.24219M7.49219 7.74976C7.49219 7.88783 7.38026 7.99976 7.24219 7.99976C7.10412 7.99976 6.99219 7.88783 6.99219 7.74976C6.99219 7.61169 7.10412 7.49976 7.24219 7.49976C7.38026 7.49976 7.49219 7.61169 7.49219 7.74976Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M7.36719 15.7498H7.24219M7.49219 15.7498C7.49219 15.8878 7.38026 15.9998 7.24219 15.9998C7.10412 15.9998 6.99219 15.8878 6.99219 15.7498C6.99219 15.6117 7.10412 15.4998 7.24219 15.4998C7.38026 15.4998 7.49219 15.6117 7.49219 15.7498Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M11.8672 5.74976H11.7422M11.9922 5.74976C11.9922 5.88783 11.8803 5.99976 11.7422 5.99976C11.6041 5.99976 11.4922 5.88783 11.4922 5.74976C11.4922 5.61169 11.6041 5.49976 11.7422 5.49976C11.8803 5.49976 11.9922 5.61169 11.9922 5.74976Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M16.3672 7.74976H16.2422M16.4922 7.74976C16.4922 7.88783 16.3803 7.99976 16.2422 7.99976C16.1041 7.99976 15.9922 7.88783 15.9922 7.74976C15.9922 7.61169 16.1041 7.49976 16.2422 7.49976C16.3803 7.49976 16.4922 7.61169 16.4922 7.74976Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M18.3672 11.7498H18.2422M18.4922 11.7498C18.4922 11.8878 18.3803 11.9998 18.2422 11.9998C18.1041 11.9998 17.9922 11.8878 17.9922 11.7498C17.9922 11.6117 18.1041 11.4998 18.2422 11.4998C18.3803 11.4998 18.4922 11.6117 18.4922 11.7498Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M5.86719 11.7498H5.74219M5.99219 11.7498C5.99219 11.8878 5.88026 11.9998 5.74219 11.9998C5.60412 11.9998 5.49219 11.8878 5.49219 11.7498C5.49219 11.6117 5.60412 11.4998 5.74219 11.4998C5.88026 11.4998 5.99219 11.6117 5.99219 11.7498Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg> <span class="vt-nav-item-label">Theming</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.74416 16.1113L8.66248 12.5982C9.18807 12.2228 9.5 11.6167 9.5 10.9708V7.5C9.5 4.73858 11.7386 2.5 14.5 2.5H18L14.9811 6.81268C14.7029 7.2102 14.7501 7.75013 15.0932 8.09325L15.9068 8.90675C16.2499 9.24987 16.7898 9.29714 17.1873 9.01888L21.5 6V9.5C21.5 12.2614 19.2614 14.5 16.5 14.5H13.0292C12.3833 14.5 11.7772 14.8119 11.4018 15.3375L7.88869 20.2558C7.33099 21.0366 6.43055 21.5 5.47105 21.5C3.83018 21.5 2.5 20.1698 2.5 18.529C2.5 17.5695 2.96338 16.669 3.74416 16.1113Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg> <span class="vt-nav-item-label">Utilities</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</span></a>
</div>
</nav>
<main class="vt-page-layout-main" aria-label="Content placeholder">
<div class="vt-skeleton vt-skeleton-card"></div>
<div class="vt-skeleton vt-skeleton-line"></div>
<div class="vt-skeleton vt-skeleton-line"></div>
<div class="vt-skeleton vt-skeleton-line"></div>
</main>
<aside class="vt-page-layout-aside" aria-label="On this page">
<p class="vt-section-label">On this page</p>
<a href="#" class="vt-link vt-link-muted">Overview</a>
<a href="#" class="vt-link vt-link-muted">Installation</a>
<a href="#" class="vt-link vt-link-muted">Usage</a>
<a href="#" class="vt-link vt-link-muted">API</a>
</aside>
</div>
<footer class="vt-page-layout-footer">
<span>© 2026 Acme</span>
<nav class="vt-page-layout-nav" aria-label="Legal">
<a href="#" class="vt-link vt-link-muted">Privacy</a>
<a href="#" class="vt-link vt-link-muted">Terms</a>
</nav>
</footer>
</div>
</div>
Constrained Width
Bars run edge to edge; the content stops at --vt-container-width (80rem). The demo uses 28rem.
html
Acme
<div class="vt-h-96">
<div class="vt-page-layout vt-page-layout-contained vt-demo-container-narrow">
<header class="vt-page-layout-header">
<div class="vt-page-layout-brand">
<div class="vt-icon-badge vt-icon-badge-sm vt-icon-badge-square"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-icon-badge-icon" aria-hidden="true">
<path d="M12 22C11.1818 22 10.4002 21.6698 8.83693 21.0095C4.94564 19.3657 3 18.5438 3 17.1613C3 16.7742 3 10.0645 3 7M12 22C12.8182 22 13.5998 21.6698 15.1631 21.0095C19.0544 19.3657 21 18.5438 21 17.1613V7M12 22L12 11.3548" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M8.32592 9.69138L5.40472 8.27785C3.80157 7.5021 3 7.11423 3 6.5C3 5.88577 3.80157 5.4979 5.40472 4.72215L8.32592 3.30862C10.1288 2.43621 11.0303 2 12 2C12.9697 2 13.8712 2.4362 15.6741 3.30862L18.5953 4.72215C20.1984 5.4979 21 5.88577 21 6.5C21 7.11423 20.1984 7.5021 18.5953 8.27785L15.6741 9.69138C13.8712 10.5638 12.9697 11 12 11C11.0303 11 10.1288 10.5638 8.32592 9.69138Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M6 12L8 13" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M17 4L7 9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg></div>
Acme
</div>
<div class="vt-page-layout-actions">
<button type="button" class="vt-btn vt-btn-primary vt-btn-sm"><span>Sign in</span></button>
</div>
</header>
<main class="vt-page-layout-main" aria-label="Content placeholder">
<div class="vt-skeleton vt-skeleton-card"></div>
<div class="vt-skeleton vt-skeleton-line"></div>
<div class="vt-skeleton vt-skeleton-line"></div>
<div class="vt-skeleton vt-skeleton-line"></div>
</main>
<footer class="vt-page-layout-footer">
<span>© 2026 Acme</span>
<nav class="vt-page-layout-nav" aria-label="Legal">
<a href="#" class="vt-link vt-link-muted">Privacy</a>
<a href="#" class="vt-link vt-link-muted">Terms</a>
</nav>
</footer>
</div>
</div>
Guidelines
<header><main><div><div>API Reference
| Class | Type | Description |
|---|---|---|
vt-page-layout |
Base | The shell — a column on the page surface that fills its parent’s height; the regions share it |
vt-page-layout-screen |
Modifier | As tall as the viewport (100dvh) — the shell of a whole app |
vt-page-layout-sidebar-wide |
Modifier | A 320px sidebar instead of 256px — a message or mail list |
vt-page-layout-contained |
Modifier | Stacked layout: header, main and footer content stop at --vt-container-width (80rem), centered; bars and dividers stay edge to edge |
vt-page-layout-header |
Part | Top bar, 64px (as tall as vt-side-nav-header, so the dividers line up): brand or title left, nav and actions right, a divider below |
vt-page-layout-brand |
Part | Logo tile (vt-icon-badge-sm vt-icon-badge-square) and the product name — Label/LG |
vt-page-layout-title |
Part | Page title in the top bar of a sidebar layout — Label/LG |
vt-page-layout-nav |
Part | A row of vt-link vt-link-muted links, 24px apart (in the header and in the footer) |
vt-page-layout-actions |
Part | A row of vt-btn buttons and a vt-avatar, 8px apart |
vt-page-layout-body |
Part | A row that takes the height left by the header and footer |
vt-page-layout-sidebar |
Part | On a vt-side-nav in the body: 256px, flush — no frame or rounding, a divider on its inner side |
vt-page-layout-content |
Part | Column beside the sidebar: a header above main |
vt-page-layout-main |
Part | The content column: takes the free space, scrolls on its own, 24px padding, sections 16px apart |
vt-page-layout-aside |
Part | 224px column on the other side (a table of contents), 16px padding, a divider on its inner side |
vt-page-layout-footer |
Part | Bottom bar: Body/SM muted text and a nav, space between, a divider above |
Accessibility
| Feature | Details |
|---|---|
| Landmarks | Regions are <header>, <nav>, <main>, <aside> and <footer>, so screen readers can jump between them |
| Several navs | Give each <nav> and the <aside> an aria-label ("Main", "Legal", "On this page") |
| One main | vt-page-layout-main is the only <main> of the page; its title is the page’s h1 |
| Skip link | Put a "Skip to main content" link first, pointing at the main element |
| Scrolling | main scrolls on its own, header and sidebar stay; keyboard focus scrolls main into view |
| Responsive | On narrow screens hide the sidebar and the aside and open the sidebar in a Sheet |
Built with