v1.4.4
Figma ⇄ code ⇄ AI — one source of truth

One source of truth for Figma, code, and AI.

One theme.json that Figma, your code, and your AI agent all read from — plus 63 free components to start today.

$ npm install @uicraft/core
1 Source of truth
2-way Figma sync
MCP AI-native
63 Free components
Figma plugin · variables
⇅ round-trip
theme.json source of truth
"brand": "213 87% 49%",
"radius":  10,
"font":    "Inter"
Code pure CSS · tokens
AI agent MCP server
theme.json → AI agent

The design system your AI agent reads directly

Point your AI assistant at the uicraft MCP server and it stops guessing markup. It pulls your real components, tokens and themes — and builds UIs that match your design system on the first try.

  • 6 tools, live source get_component, get_tokens, get_theme, get_snippet, search — straight from your system, not the model's memory.
  • Same tokens as Figma & code The agent reads the very theme.json your designers and CSS use — no drift between what's designed, shipped and generated.
  • One command to connect Works with any MCP-capable client — Claude, Cursor and more.
$ claude mcp add uicraft -- npx -y @uicraft/mcp-server
AI agent · uicraft MCP connected
Build a pricing card with our design system.
get_component("card") called
get_tokens("colors") called
Using your real uc-card + brand token:

Team plan

Popular
$29 / month
Round-trip

Swap one file. Re-skin everything.

Multi-brand and white-label are usually days of work. With uicraft you change one theme.json — and Figma, your code, and your AI agent all re-skin to match. Minutes, not days.

theme.json

Pick a brand — every target below follows.

Figma
Code
AI
On brand

On a copy-paste library, every brand is a manual re-theme in two places. Here it's one source, three targets.

Free components

63 free components

Production-ready primitives, all wired to the same tokens. Copy, paste, ship.

Button
Blueberry
Apple
Blueberry
Grapes
Pineapple
Select
Input
August 2023
MoTuWeThFrSaSu
Calendar
Switch
Primary Active Pending Failed Beta
Badge
Checkbox
Radio
Lorem ipsum dolor sit amet.
Tooltip
Auth
  1. Link/
  2. Link/
  3. Current
Breadcrumb
Storage68%
Compute91%
Progress

Team plan

Popular
$29/ mo
Card
Tabs
Heads up
Your trial ends in 4 days.
Alert
Design Code AI Tokens
Chip
theme generator live
Brand
Radius
Font
PRO live
brand 213 87% 49% radius 10px font Inter
theme.json → your browser

Make it yours — live, right here

Drag the controls and watch real uicraft components restyle in real time — the same tokens you'd ship. This isn't a screenshot: it's the design system reacting to one source.

  • Real-time tokens Color, radius and font flow straight into the components — nothing is faked.
  • Export ready-to-ship CSS The full generator downloads uicraft.css with your theme baked in.
  • One file for code and design The same theme.json imports into Figma — your library re-themes to match.
theme.json → Figma

Generate uicraft inside Figma

Pick the components you need and the plugin builds them in Figma with every variable already bound — colors, type, spacing, radius and shadows.

01
Select components

Choose only what you need from the uicraft set — buttons, forms, cards, the lot.

02
Generate in Figma

The plugin draws real frames with semantic tokens already wired up.

03
Variables bound

Export theme.json and reuse it on the web — round-trip safe.

uicraft Figma plugin generating components with bound variables
Installation

Start in 30 seconds

Three ways to add uicraft to your project. Pick whichever fits your stack.

Terminal
$ npm install @uicraft/core

Then import the stylesheet in your entry file:

main.ts
import '@uicraft/core/uicraft.css';
HTML <head>
<link rel="stylesheet"
      href="https://cdn.jsdelivr.net/npm/@uicraft/core@latest/uicraft.min.css">

No build step required — drop into any HTML page.

HTML
<link rel="stylesheet" href="uicraft.css">

Download uicraft.css → and host it yourself.

Copy & paste

Each component is clean, self-contained HTML. No installation, no imports.

Semantic tokens

Two-layer token system with Figma-aligned names. Consistent everywhere.

Dark mode built in

Light and dark out of the box using CSS variables and a single .dark class.

Zero runtime

Pure HTML and CSS — no framework, no JS bundle, no hydration.

Get started

One source of truth. Figma, code, and AI in sync.

Free, open source, MIT-licensed. Start with 62 components today — and grow into the design-to-code-to-AI bridge when you're ready.

Copied to clipboard