Skip to content
Browse docs and components

Getting started

Two flows

The same system, two readers: the human flow that installs and designs, and the agent flow that keeps every change inside the rails.

2 min read · 3 sections

Forme has two readers: you, and the agent you work with. Both get the same system — the tokens, the radius ladder, the motion rules — through two different doors. This page is the map. The doors are installation and agent skills.

The human flow — build it yourself#

You are in the file, choosing and designing.

  1. Register the registry in components.json and install a component:
bash
npx shadcn@latest add @forme/button

The first install pulls forme-foundation — the token file and its motion module. Every Forme file lands under components/forme/ in your repo, and it is yours to edit.

  1. Import the tokens after Tailwind, in your global stylesheet:
css
@import "tailwindcss";
@import "./components/forme/foundation.css";
  1. Flip dark mode with one class on <html>. Every token is a single light-dark() declaration, so .dark is the whole switch:
js
document.documentElement.classList.toggle("dark");
  1. Retheme by editing one variable. Every interactive state is mixed from --primary, so this line rebrands the buttons, the selection, the links and the focus ring at once:
css
:root { --primary: oklch(55% 0.17 155); }
  1. Build your own pieces with the same vocabulary the components use — a card is flat and lit, a field sinks, a floating panel casts the one shadow, a filled action wears the mark recipe:
html
<div class="rounded-xl border border-border bg-card p-4 lit edge">…</div>
<input class="well h-9 rounded-md border border-border bg-card text-body-medium" />
<div class="floating rounded-xl">…</div>
<button class="bg-button-primary h-9 rounded-md px-3.5 text-body-medium text-primary-foreground">Save</button>

The references you will come back to: installation, theming, and the catalogue.

The agent flow — let the agent carry the rules#

You are in the reviewer's chair; the agent is in the file. The skill is what keeps its changes inside the rails.

  1. Install the skill — two lines, any repo:
bash
mkdir -p .claude/skills/forme-ui
curl -s https://formeui.com/r/skills/forme/SKILL.md -o .claude/skills/forme-ui/SKILL.md
  1. Or paste the entry point into AGENTS.md, CLAUDE.md, or your Cursor rules. Every skill file is plain markdown on purpose: readable, diffable, greppable.
  1. Give it the live catalogue through the MCP server at https://formeui.com/mcp, so it searches real components instead of guessing names.

What the agent gets, so you never have to repeat it: the rules — tokens only, the radius ladder, no colour transitions, gradients in their three homes — and the review greps that catch a hard-coded hex or an animated colour in a diff before you review it.

They compose#

The flows are not a fork. Humans install and design; agents keep every change after the first one inside the rails. The strongest setup is both: you choose the accent and build the first screen, the skill keeps the next hundred edits — yours and the agent's — looking like Forme.