Overview

Introduction

What Trame UI is, how it is built, and the rules every block follows.

Trame UI is a design system for websites and apps, in Vue and React. It gives you three things:

  • Blocks: 1,586 whole page sections (heroes, pricing, product pages, checkout, dashboards, settings…) in 62 categories, each one look in one file.
  • Components: 100 components in the shadcn style, the pieces the blocks are built from.
  • Themes: 25 ready-made themes, all generated from the same set of tokens.

You install them with the shadcn CLI. The code is copied into your project and becomes yours.

Trame UI is not related to Kitware’s « trame », the Python framework for visual analytics.

Vue first, React the same

The Vue blocks are the reference implementation. Each React block is ported from its Vue twin with the same props schema, the same demo data and the same HTML: the same words, elements, attributes and classes. A parity check renders both on the server and compares them.

Vue uses shadcn-vue and Reka UI, for Nuxt or Vite. React uses shadcn/ui and Radix, for Next.js or Vite.

Tokens and themes

Every colour, font, radius, shadow and motion is a token. The tokens have one definition (DTCG), and the CSS is generated from it. Components and blocks use only the tokens, never a fixed colour, so a new theme changes everything at once, in light and dark.

Every theme is checked: each text pair reads at 4.5:1 or more, in light, dark and every mood. See Styling.

Blocks ask their host

A block never knows the app it runs in. It asks its host for what only the app knows, through one context:

  • the address an action leads to;
  • the words of the interface, in the app’s language;
  • how to format a price;
  • what to do when the visitor submits a form, adds to cart or saves a record.

A block’s props name actions ("subscribe", "start-trial"); your app decides what each one does. See Using blocks.

The rules every block follows

  • Complete server render. Every word a visitor reads is in the server HTML, fully visible. Nothing waits for a script to appear. No window or document before the page mounts.
  • Honesty. A block never invents reviews, quotes, ratings, logos, partners, figures, offers, stock or dates. It takes them as props, and hides what you leave out. Demo data names no real brand or person.
  • Light and calm. Motion goes through shared presets, within a budget per kind of block. Nothing auto-advances by default, nothing keeps running on an idle page, and large pictures load on demand.
  • Accessible. Real buttons and links, a visible focus, a keyboard path, alt on content pictures. axe passes with nothing serious or critical, in light and dark.
  • One block, one intention. A block does one thing (collect an email, show products). The blocks that serve the same use in different looks form a group, and read the same props.

Made for AI agents

Trame UI is built so an AI coding agent can use it well:

  • every block has a props schema, and every string in it says what it holds: your words, a picture, an action name, records from your data, or a layout choice;
  • every block comes with one sentence that says when it fits;
  • each block is one file, short enough for an agent to read whole and change safely;
  • the MCP server lets your agent search the blocks, read their props and get the install command.

Next