Docs Page

A Tailwind documentation page layout with a table of contents sidebar, prose with anchored headings, a copyable install command and an info callout.

src/registry/blocks/docs-page.tsx/r/docs-page.json

Installation#

bash
npx shadcn@latest add @minidev/docs-page

MiniDev UI is in the shadcn registry directory, so the short form works with no setup. Older CLI versions can use the full URL: npx shadcn@latest add https://ui.minidev.pro/r/docs-page.json

Usage#

tsx
import { DocsPage } from "@/components/ui/docs-page"

export function Example() {
  return <DocsPage />
}

API reference#

DocsPage takes no props. It ships with realistic sample content: install it, then edit the copy and data in the file directly. The file is yours.

Dependencies#

npm

React only
All Developer tool UI components for React