tailthemes
all-access
docs · relay

Relay owner's guide

Everything from the download to your own palette, read from the files this theme ships.

2.7.2
version
7
pages
42
components
64 × 2 modes
tokens
4
workflows
from zip to running
unzip relay-2.7.2.zip
cd relay-2.7.2
bun install
bun dev

The download is a complete Next.js project, not a folder of snippets. It carries 7 routes, the token file, 42 components and the agent kit.

See the price

Install

Three ways in: the zip, the shadcn registry, or your agent over MCP.

the zip

The artifact is versioned and immutable, so the file you get is relay-2.7.2.zip. Unzip it, run the four commands above, and the site is on localhost:3000.

The link arrives with your license, and stays valid for every future version.

the registry

Every theme is a registry item the real shadcn CLI installs. Files land under src/tailthemes/relay/, mirroring the tree below.

Relay is paid, so the request has to carry your license key. Put it in TAILTHEMES_LICENSE_KEY in your .env.local, then add this to components.json. The CLI expands the variable and sends the key as a header, so it never enters a URL.

{
  "registries": {
    "@tailthemes": {
      "url": "https://tailthemes.com/r/{name}.json",
      "headers": {
        "Authorization": "Bearer ${TAILTHEMES_LICENSE_KEY}"
      }
    }
  }
}
bunx shadcn add @tailthemes/relay

An all-access key works on every slug. A single-theme key works on the theme it was bought for.

A registry item is JSON, so image assets cannot travel with it. Themes that import images need the zip as well.

over mcp

Point any MCP client at https://tailthemes.com/api/mcp and your agent can read the manifest, both token tables and AGENTS.md before it touches a file.

the four tools

What unzips

One directory, laid out the way you would lay it out yourself.

relay-2.7.2/
app/generated routes, one per page
globals.csstailwind, the tokens, the semantic bridge
layout.tsxapplies the theme's own faces
page.tsx/ · 8 sections
product/page.tsx/product · 8 sections
security/page.tsx/security · 6 sections
pricing/page.tsx/pricing · 6 sections
contact/page.tsx/contact · 4 sections
templates/page.tsx/templates · 4 sections
components/page.tsx/components · 21 sections
src/the theme, copied verbatim
app/7 pages, one file each · 7 files
assets/the imagery, and the prompts that made it · 4 files
components/21 sections, one file each, no cross-imports · 66 files
fonts/self-hosted woff2 with their licenses · 4 files
fonts.tswires the faces to the font tokens
theme.cssevery design decision: 64 tokens, both modes
.claude/workflows your agent can run
skills/rebrand · add-section · add-page · check-quality · 4 files
AGENTS.mdthe agent contract: invariants, file map, what never to touch
README.mdthe human quick start
theme.jsonthe manifest: pages, components, both token tables
package.jsongenerated, carrying this repo's exact versions
tsconfig.jsongenerated
next.config.tsgenerated
postcss.config.mjsgenerated
env.d.tsgenerated, so a fresh extract typechecks before first run
.gitignoregenerated
every file
app/generated routes, one per page
globals.csstailwind, the tokens, the semantic bridge
layout.tsxapplies the theme's own faces
page.tsx/ · 8 sections
product/page.tsx/product · 8 sections
security/page.tsx/security · 6 sections
pricing/page.tsx/pricing · 6 sections
contact/page.tsx/contact · 4 sections
templates/page.tsx/templates · 4 sections
components/page.tsx/components · 21 sections
src/the theme, copied verbatim
app/7 pages, one file each
components.tsx
contact.tsx
home.tsx
pricing.tsx
product.tsx
security.tsx
templates.tsx
assets/the imagery, and the prompts that made it
agent-loop.wire.json
hero-routing.png
README.md
scope-model.wire.json
components/21 sections, one file each, no cross-imports
ui/the shared primitives
_tt/
accordion-disclosure.axes.ts
accordion-disclosure.fixtures.ts
accordion-disclosure.tsx
capture.ts
field-ids.ts
field.axes.ts
field.capture.ts
field.fixtures.ts
field.tsx
form-error-summary.axes.ts
form-error-summary.fixtures.ts
form-error-summary.tsx
form.axes.ts
form.fixtures.ts
form.part.tsx
form.ts
ids.ts
recipe.ts
roving.ts
toggle-group.axes.ts
toggle-group.fixtures.ts
toggle-group.tsx
accordion-disclosure.tsx
badge.tsx
boundary-matrix.tsx
button.tsx
chat-turn.tsx
container.tsx
example-run.tsx
field.tsx
form-error-summary.tsx
form.tsx
handoff-contract.tsx
logo.tsx
mode-toggle.tsx
page-hero.tsx
relay-fixtures.ts
section-heading.tsx
template-checklist.tsx
template-summary.tsx
toggle-group.tsx
tool-call.tsx
ui.config.ts
unavailable-action.tsx
wire-figure.tsx
agent-flow.tsx
agent-hero.tsx
audit-record.tsx
boundary-grid.tsx
conversation-thread.tsx
cta.tsx
faq.tsx
guardrails.tsx
handoff-panel.tsx
how-it-works.tsx
integrations.tsx
outcome-band.tsx
price-estimator.tsx
pricing-table.tsx
request-form.tsx
scope-ledger.tsx
site-footer.tsx
site-header.tsx
support-desk.tsx
template-index.tsx
tool-timeline.tsx
fonts/self-hosted woff2 with their licenses
JetBrainsMono-Variable.woff2
OFL-JetBrainsMono.txt
OFL-PublicSans.txt
PublicSans-Variable.woff2
fonts.tswires the faces to the font tokens
theme.cssevery design decision: 64 tokens, both modes
.claude/workflows your agent can run
skills/rebrand · add-section · add-page · check-quality
add-page/
SKILL.md
add-section/
SKILL.md
check-quality/
SKILL.md
rebrand/
SKILL.md
AGENTS.mdthe agent contract: invariants, file map, what never to touch
README.mdthe human quick start
theme.jsonthe manifest: pages, components, both token tables
package.jsongenerated, carrying this repo's exact versions
tsconfig.jsongenerated
next.config.tsgenerated
postcss.config.mjsgenerated
env.d.tsgenerated, so a fresh extract typechecks before first run
.gitignoregenerated

Three of these do the work: src/theme.css holds every design decision, AGENTS.md is the contract your agent reads first, and .claude/skills/ holds the 4 workflows it can run.

Screenshots are not in the download. They are generated by the publish pipeline and live on the listing, not in your project.

Using it

Every page is a plain component, and the tokens are scoped to one class.

the pages
  • /Relay — the billing agent that hands off8 sections
  • /productProduct — inside one agent run8 sections
  • /securitySecurity — every scope, every record6 sections
  • /pricingPricing — billed on tickets it closes6 sections
  • /contactContact — who answers, and when4 sections
  • /templatesTemplates for bounded billing workflows4 sections
  • /componentsThe parts — living styleguide21 sections
dropping it into an existing app

Tokens are declared on .tt-relay as well as :root, so an install cannot repaint components you already have. Wrap the page in <div className="tt-relay"> and everything inside picks them up.

Dark mode is a dark class on <html>. There is no second stylesheet and no dark: utility in the components.

The HTML edition

The same site again, with no framework under it.

Everything under html/ is a second, independently authored edition of the theme. html/dist/ is 7 compiled routes with local fonts and vanilla JavaScript — copy it to any static host and it is live, with no build step and no Node on the server. html/src/ is the Nunjucks source those routes compile from.

the two commands

bun run build:html recompiles html/dist/ after you change the source or the tokens. bun run preview:html serves the compiled edition locally. Both ship in the download's package.json, backed by the two files in scripts/.

One token file drives both editions, so a rebrand made in src/theme.css reaches the HTML edition the next time you run the build — dist/ carries compiled CSS and never updates by itself.

The two editions are kept in step by the publish gate: every route in the manifest must have a compiled counterpart before a version ships, so the 7 pages you saw above exist in both.

Making it yours

Tokens are the API: change the values, never the names.

the rebrand loop
  1. Edit the values. All 64 tokens live in src/theme.css, in a light block and a dark one. Nothing in src/components/ carries a colour.
  2. Watch it land. Open /components. The styleguide reads every swatch, type step and radius live, so you see what the change did to the whole system at once.
  3. Re-check contrast. Run the check-quality workflow. The palette ships verified to WCAG AA in both modes and a rebrand should keep it there.
the workflows that ship inside
  • .claude/skills/add-page

    A Relay page is a plain exported component in src/app/ that stacks sections. No data fetching, no client state, no Next-specific APIs — the theme ships as source a buyer drops into their own router.

  • .claude/skills/add-section

    One section is one file in src/components/, self-contained, server-rendered. Follow the patterns already there rather than inventing new ones — the theme's value is that all twenty sections look like one person made them.

  • .claude/skills/check-quality

    Ten checks. All of them are mechanical — none is "look at it and decide".

  • .claude/skills/rebrand

    Relay is a design system wearing a fictional billing agent. A rebrand swaps the name, the palette and the story.

Those summaries are the files' own opening lines. They are written against this repo, so where one names themes/relay/ your copy has the project root instead.

For your agent

The theme brought its own rules, so nothing has to be reverse-engineered.

AGENTS.md is 1198 lines of invariants, the file map, the type and spacing scale, and what never to touch. It opens like this.

AGENTS.md, first 35 lines
# AGENTS.md — Relay

Rules for any agent (or human) editing this theme. They are not style
suggestions; the publish gate and the extension skills in `.claude/skills/`
assume them.

## What Relay is

A landing page for an **AI agent product** that ships the agent UI with it. The
fictional product is an AI support agent for a subscription company's **billing
queue**: it reads Stripe, a read replica of the accounts table and the help
center, closes the routine tickets, and hands the rest to a named person with
the research attached.

The positioning line every piece of copy descends from:

> For support leads at subscription SaaS who cannot let an AI near billing,
> Relay closes routine billing tickets from sample Stripe and account state and
> hands the rest to a human with the research already attached.

## The signature — **one ticket, told four ways**

Ticket `ZD-4821` arrives as a sample card in the hero, replays as a full
transcript, replays again as a timed rail, and replays a third time as a forked
decision graph. Home carries a fourth trace in `outcome-band`: the run's own
numbers, in the ops-sheet voice. The same eight facts, four registers, three
routes.

It is structural, it survives a rebrand, it survives a palette change, and it is
the actual reason to buy Relay over any other agent-landing template. Two
conditions keep it honest, and both are load-bearing:

1. **The four tellings must agree.** They are reconciled by the spine table in
   `.claude/skills/check-quality/`, not by hope. Changing a number in one place
   means changing it in every place that table lists.

The kit is plain markdown, so the work continues on your machine and your own account. Nothing calls back here.