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.
- Register the registry in
components.jsonand install a component:
npx shadcn@latest add @forme/buttonThe 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.
- Import the tokens after Tailwind, in your global stylesheet:
@import "tailwindcss";
@import "./components/forme/foundation.css";- Flip dark mode with one class on
<html>. Every token is a singlelight-dark()declaration, so.darkis the whole switch:
document.documentElement.classList.toggle("dark");- 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:
:root { --primary: oklch(55% 0.17 155); }- 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:
<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.
- Install the skill — two lines, any repo:
mkdir -p .claude/skills/forme-ui
curl -s https://formeui.com/r/skills/forme/SKILL.md -o .claude/skills/forme-ui/SKILL.md- 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.
- 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.