Blocks

Detail page

Breadcrumbs, header, and tabbed sections.

Full screen

Installation

Registry CLI

Requires a one-time components.json registry entry for @feature-kit/blocks-detail-page.

pnpm dlx shadcn@latest add https://feature-kits.vercel.app/r/blocks-detail-page.json

Namespaced: npx shadcn@latest add @feature-kit/blocks-detail-page

Manual installation

Monorepo consumers can depend on workspace:* packages instead of the registry CLI.

pnpm add layout theme ui

Dependencies

// apps/your-app/package.json
"dependencies": {
    "layout": "workspace:*"
    "theme": "workspace:*"
    "ui": "workspace:*"
}

Transpile (Next.js)

// next.config.ts
transpilePackages: ["layout", "theme", "ui"]

Import

import { DetailPageBlock } from "@/components/blocks/detail-page-block"

On this page