The redesign, before and after
We rebuilt this page around one idea: show, don’t tell. Drag the seam and compare the two layouts yourself.
Editorial React components · installed by asking · MIT
Editorial React components for technical writing: scrollytelling, margin notes, sparklines, annotated code. No package to install. Tell Claude what you need and the files land in your repo.
npx shadcn@latest add https://mocoui.site/r/compare.json
This is real. Add the moco MCP server and ask. Set it up
Drag, scroll, and press things. Each caption links to install paths and full source.
Latency trended down over the quarter, error rate spiked once , and cache hit rate sits at 82%.
Suppose 2,000 requests a day hit the same prompt — that is $2,520 a month.
function greet(name) {
return "Hello, " + name + "!";
}let count = 0;export const inc = () => ++count;
export const get = () => count;First: the request arrives.
A = P(1 + r)ⁿ
Compound growth: the final amount is the start times the rate, applied once per period.
After one period: A₁ = P(1 + r). Each subsequent period multiplies by (1 + r) again, so after n periods the factors stack: A = P(1 + r)ⁿ.
Margin notes number themselves in document orderThis is a margin note. On wide screens it sits in the right gutter; on narrow ones it becomes this tap-to-expand disclosure.and a termA short inline definition that appears on hover or keyboard focus, flipping sides near the viewport edge. reveals its definition without leaving the sentence.
A second noteCounters need no registration — this one is “2” automatically. keeps counting on its own.
| Strategy | $/month | vs. baseline |
|---|---|---|
| No caching | $1,284 | 1.00× |
| 5-minute TTL | $212 | 6.06× |
| 1-hour TTL | $318 | 4.04× |
| Best | $212 | 6.06× |
The MCP server is the short path. The shadcn CLI and plain copy-paste land the exact same files if you would rather.
Add the server to your MCP config, then ask for what you need. Claude writes the files into your repo.
{
"mcpServers": {
"moco": { "command": "npx", "args": ["-y", "moco-mcp"] }
}
}moco is a standard shadcn-format registry. Add any item by URL.
npx shadcn@latest add https://mocoui.site/r/compare.jsonEvery component is a .tsx and .css pair with full source on its page. Take the files. They're yours.
components/moco/compare.tsx
components/moco/compare.cssSmall, sharp components. Plain React, plain CSS, nothing to eject from.
No package to install. Components land as .tsx and .css files in your repo. Edit them like anything else you wrote.
moco ships an MCP server. Describe what you need and the component shows up in your repo, imports wired.
A standard shadcn-format registry. npx shadcn add works with every item, no custom tooling.
ARIA roles, keyboard support, and prefers-reduced-motion are handled inside every component.