Open in a new tab
View code
tsx
<DocsLayout
	sidebar={<DocsNav tree={tree} activePath={url.pathname} />}
	toc={anchors}
	tocLabel="On this page"
	menuLabel="Menu"
	drawerLabel="Documentation"
	closeLabel="Close menu"
	header={<SiteHeader … />}
	stickyTop="4rem"
>
	<h1>Install the CLI</h1>
	…
</DocsLayout>