Docs layout
- from @docscn
DocsLayout: the docs layout on the shadcn/ui sidebar, with the page tree, search, layout tabs, links, a theme switch and a mobile navbar.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @docscn/docs-layoutLive preview
No live preview has been built for this component yet.
Registry dependencies11
- sidebar
- button
- @docscn/docs-sidebar
- @docscn/sidebar-tabs
- @docscn/theme-switch
- @docscn/search-trigger
- @docscn/tree-context
- @docscn/layout-shared
- @docscn/docs-utils
- @docscn/i18n-context
- @docscn/language-select
