Next.js · App Router · shadcn/ui

Next.js blocks for the App Router

Blocks that respect the server and client boundary: the static parts render as server components, and only what moves is a client island. Install them with the shadcn CLI.

1586 blocks, in Vue and React.

Trame UI for Next.js

How it fits your Next.js project

  • Server components

    A block renders on the server; only its interactive parts are client components.

  • shadcn/ui conventions

    Radix, Tailwind CSS v4 and cva: the blocks read like the rest of your shadcn/ui project.

  • Accessible

    Real links and buttons, a keyboard path and visible focus; axe passes in light and dark.

  • Made for agents

    Ask your coding agent for a page: the MCP server finds the blocks, the CLI installs them.

The catalogue

Next.js blocks for every kind of page

  • 1

    Marketing

    Hero, Features, Call to action, Pricing, Testimonials, Trust and logos….

    442 blocks

  • 2

    Content

    About, Team, Blog, Article, Portfolio, Gallery….

    381 blocks

  • 3

    Storefront

    Storefront.

    409 blocks

  • 4

    Application

    Dashboard, Charts, Table, Record, Activity, Tasks….

    305 blocks

  • 5

    Navigation & shell

    Navbar, Footer, App shell.

    49 blocks

Install in Next.js

Declare the registry once in components.json, then add a component or a block with the shadcn CLI.

Read the installation guide
terminal
# components.json — once
"registries": {
  "@trame": "https://trame-ui.com/r/react/{name}.json"
}

# then a component or a block
npx shadcn@latest add @trame/button
npx shadcn@latest add @trame/steps-cards
  • A component

    With its own pieces and the theme it needs.

  • A block

    One file, its schema and demo, with just what it uses.

Questions

Trame UI and Next.js

Do the blocks work with the Next.js App Router?

Yes. They are written for React server components: the interactive parts are marked as client components, the rest stays on the server.

How do I install a block in Next.js?

Add the @trame registry to components.json, then run npx shadcn@latest add with the block name. The code lands in your project.

What is Trame UI?

Trame UI is a library of 1586 page blocks, 108 components and 20 themes for Vue and React, installed into your project with the shadcn CLI and styled with Tailwind CSS. Its MCP server lets AI coding agents (Claude Code, Cursor, VS Code, Windsurf) search and install the blocks: a design system made for vibe coding. Trame UI (trame-ui.com) is not related to trame, the Python framework by Kitware.

How do themes work?

Every colour, font, radius and motion is a token. A theme is a set of CSS variables: swap the stylesheet and every block follows, light and dark.

Can I change the code?

It is yours once installed. Edit, delete, rename — nothing upstream will overwrite it.

Let your coding agent build the page

Connect the MCP server to Claude Code, Cursor, VS Code or Windsurf: it finds the Next.js blocks, reads their props and installs them.