Docs Site Shell
Frame shared by every page of a developer documentation site: header with search, version switcher and theme, footer.
Choose the primitives library your project already uses. Both look the same: your theme, not the variant, controls colors, shape, type and motion.
About this layout
What it's for
- Frame shared by every page of a developer documentation site: header with search, version switcher and theme, footer.
- Docs site shell with command palette search opened by Ctrl K.
Includes
- Sticky header
- Active section link
- Mobile menu sheet
- Command palette search
- Version switcher
- Theme switch
- Dismissible announcement
- Skip link
Works with
- Radix UI and Base UI primitives (pick the one your project uses)
- React 19 and Tailwind CSS 4 in Next.js (App Router), Vite, React Router or TanStack Start, installed with the agentic-ui or shadcn CLI
- Your theme tokens, in light and dark mode
- 1 template or blueprint on this site use it (below)
Install
Included with Agentic UI Kit (one-time license). Install needs your license key: see pricing · connect your project.
Agentic UI CLI
agentic-ui add docs-site-shellInstalls through shadcn and adapts the component to your design tokens.
shadcn CLI
npx shadcn@4.17.0 add @agentic-ui/docs-site-shellUsed in
- Type
- Layout
- Variants
- Radix UI and Base UI
- Themes
- Light and dark
- Widths
- Preview it at desktop, tablet and mobile widths above.
- Motion
- Animated, with a reduced-motion fallback
- npm packages
lucide-reactnext-themes- Registry dependencies
lib-primitivesmarketing-announcement-barmarketing-footersearch-global-palette- Files
29 files
- components/agentic-ui/docs-site-shell/components/docs-shell.tsx
- components/agentic-ui/docs-site-shell/components/docs-search.tsx
- components/agentic-ui/docs-site-shell/components/docs-context.tsx
- components/agentic-ui/docs-site-shell/components/use-stored-version.ts
- components/agentic-ui/docs-site-shell/lib/versions.ts
- components/agentic-ui/docs-site-shell/lib/types.ts
- components/agentic-ui/docs-site-shell/content/versions.ts
- components/agentic-ui/docs-site-shell/lib/search-index.tsx
- components/agentic-ui/docs-site-shell/lib/nav.ts
- components/agentic-ui/docs-site-shell/content/docs.ts
- components/agentic-ui/docs-site-shell/content/docs-sdks-live.ts
- components/agentic-ui/docs-site-shell/lib/doc-nodes.ts
- components/agentic-ui/docs-site-shell/lib/slug.ts
- components/agentic-ui/docs-site-shell/content/docs-guides-sending.ts
- components/agentic-ui/docs-site-shell/content/docs-guides-operations.ts
- components/agentic-ui/docs-site-shell/content/docs-getting-started.ts
- components/agentic-ui/docs-site-shell/lib/doc-text.ts
- components/agentic-ui/docs-site-shell/lib/inline.ts
- components/agentic-ui/docs-site-shell/lib/api-model.ts
- components/agentic-ui/docs-site-shell/content/changelog.ts
- components/agentic-ui/docs-site-shell/content/api.ts
- components/agentic-ui/docs-site-shell/content/api-resources.ts
- components/agentic-ui/docs-site-shell/content/api-messages.ts
- components/agentic-ui/docs-site-shell/content/api-params.ts
- components/agentic-ui/docs-site-shell/content/api-config.ts
- components/agentic-ui/docs-site-shell/components/docs-header.tsx
- components/agentic-ui/docs-site-shell/components/version-switcher.tsx
- components/agentic-ui/docs-site-shell/components/theme-switch.tsx
- components/agentic-ui/docs-site-shell/content/brand.tsx
Related components
Agency Portfolio Shell
Frame shared by every page of a design studio portfolio: header, announcement and wordmark footer.
Details and live previewAI Workspace Sidebar Nav
Main navigation of an AI and agents platform.
Details and live previewApp Launch Shell
Frame shared by every page of a mobile app launch site: header, announcement and footer.
Details and live previewBooking Hub Shell
Application frame of a scheduling product with sidebar navigation and a workspace switcher.
Details and live preview