Blocks

Top-nav-only app

Application chrome without a sidebar.

Full screen

Installation

Registry CLI

Requires a one-time components.json registry entry for @feature-kit/blocks-top-nav-app.

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

Namespaced: npx shadcn@latest add @feature-kit/blocks-top-nav-app

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 { TopNavAppBlock } from "@/components/blocks/top-nav-app-block"

On this page