TOKREPO · Arsenal IA
Nouveau · cette semaine

Kit IA pour Ingénieur Frontend

Dix choix que le dev React/Vue/Svelte sort quand l'IA doit vraiment livrer de l'UI : MCP Figma-vers-code, screenshot-to-code, v0, éditeur visuel Onlook, agent frontend-developer, Tailwind v4, Magic UI, Headless UI, Playwright MCP, testeur d'accessibilité. Ordre : design → scaffold → style → test → a11y.

10 ressources

What's in this pack

This is the stack a React, Vue, or Svelte engineer reaches for when AI actually has to ship the UI — not the 40-tab "AI tools for frontend" listicle. Every pick here covers one rung of the same ladder: get the design into a format an agent can read, scaffold the component, style it with a system the agent already speaks, prove it works in a real browser, and check it doesn't fail an accessibility audit before merge.

The pack is framework-leaning toward React because that's where the tooling is densest right now, but seven of the ten work fine in Vue and Svelte too (Tailwind, Headless UI, Playwright MCP, the a11y agent, the frontend-developer agent, screenshot-to-code, Figma MCP). Magic UI, v0, and Onlook are React-only — swap them for your framework's equivalent if you live elsewhere.

Install in this order (design → component scaffold → style → test → a11y)

  1. Figma Context MCP (#198) — design input. Hand the agent a Figma URL, get back layout tree, styles, spacing, and component hierarchy. This is the upstream tap; without it, every later step is guessing what "the design" means.
  2. Screenshot to Code (#313) — design input, fallback. When the Figma file doesn't exist (legacy app, marketing PNG, competitor page), paste a screenshot and get React + Tailwind back. Pair with Figma MCP, don't pick between them.
  3. v0 by Vercel (#630) — component scaffold. Generates Tailwind+shadcn React from a prompt. Best for first-draft cards, forms, marketing sections you'll then hand-edit. Don't ship v0 output verbatim; it's a starting block.
  4. Onlook (#867) — visual code editor. Click an element in the running app, tell the agent what to change, get a code edit back. The Figma-meets-code workflow that v0 doesn't cover. React-first.
  5. Claude Code Agent: Frontend Developer (#4374) — generalist agent. The orchestrator that calls the MCPs above, reads your existing code, and produces the diff. Use as the daily driver; v0 and Onlook are point tools you invoke through this.
  6. Tailwind CSS v4 (#663) — styling system. Pick this on day one — every AI tool above generates Tailwind classes by default. Fighting that with CSS-in-JS or vanilla CSS is a productivity tax. v4's CSS-first config + zero-runtime is the sweet spot.
  7. Magic UI (#3047) — pre-built animated components. 150+ React + Tailwind + Framer Motion components. When v0 spits out a static hero, drop a Magic UI shimmer/marquee/sparkles in and you've shaved an hour.
  8. Headless UI (#1984) — unstyled accessible primitives. Use for menus, dialogs, comboboxes, listboxes — the components AI generators most often get a11y-wrong. Headless UI ships keyboard nav and ARIA correct; you only style.
  9. Playwright MCP (#3687) — browser test from the agent. After the component lands, the agent drives a real browser, takes a screenshot, asserts visible text, files the bug. Closes the "works in my head" loop.
  10. Claude Code Agent: Accessibility Tester (#4283) — a11y gate. Runs axe-core checks, reports WCAG 2.1 AA violations, suggests fixes. The last step before PR — catches the contrast/aria-label/focus-trap regressions that AI-generated UI fails at most.

How they fit together (ASCII)

   Figma file                Screenshot.png
        │                          │
        ▼                          ▼
  Figma Context MCP ──┐   ┌── Screenshot to Code
        (#198)        │   │       (#313)
                      ▼   ▼
           ┌─ Frontend Developer Agent ─┐
           │          (#4374)            │
           │   ↑                  ↑      │
           │   │                  │      │
           │  v0          Onlook         │
           │ (#630)        (#867)        │
           │ first-draft   in-context    │
           │ scaffold       edits        │
           └─────────┬───────────────────┘
                     ▼
         Tailwind v4 (#663)  ◀── Magic UI (#3047)  ── Headless UI (#1984)
         (utility classes)       (animated comps)    (a11y primitives)
                     │
                     ▼
          Playwright MCP (#3687)
          (browser test in real Chromium)
                     │
                     ▼
          Accessibility Tester (#4283)
          (axe-core + WCAG 2.1 AA)
                     │
                     ▼
                  Merge PR

The critical join is Frontend Developer Agent + Tailwind + Playwright MCP: the agent writes Tailwind classes (which everything in the catalog speaks), Playwright tells the agent whether the rendered DOM matches the design, and the loop closes without you alt-tabbing. Without Playwright MCP, the agent ships code that compiles and looks broken; without Tailwind, every generator outputs CSS that fights your codebase.

Tradeoffs you'll hit

  • Figma Context MCP vs Screenshot to Code — Figma MCP is structurally precise (auto-layout, tokens, component variants) but requires a Figma file with sane naming. Screenshot to Code is forgiving (any PNG) but loses semantic structure. Real teams use Figma MCP for design-system work and screenshot-to-code for the one-off competitor reference. Don't pick one.
  • v0 vs Onlook vs the frontend-developer agent — v0 is best for new components from a prompt (greenfield marketing page). Onlook is best for editing existing rendered UI (click and change). The agent is best for changes inside your existing codebase (read repo, modify three files, run tests). Most days, you'll use the agent and only drop into v0/Onlook for specific moments.
  • Tailwind v4 vs CSS-in-JS — every code-gen tool in this pack outputs Tailwind by default. CSS-in-JS still works, but you'll spend hours rewriting AI output. The framework war is over for AI-assisted frontend; Tailwind won by accident.
  • Magic UI vs writing it yourself — Magic UI is great for hero-section sparkle and very tempting to overuse. A real product page with 8 animated sections feels like a tech demo. Pick 1-2 hero animations; keep the rest still.
  • Headless UI vs Radix UI vs Ark UI — all three solve the same problem. Headless UI is in this pack because it ships with Tailwind Labs, has the smallest API surface, and pairs cleanest with the v0/Magic UI output. Radix is more complete; pick Radix if you're building a design system, Headless UI if you're building an app.
  • Playwright MCP vs Cypress vs Vitest browser mode — Playwright MCP is in this pack because the agent uses it. For human-run tests, Vitest browser mode is faster and Cypress is more mature. The MCP is for the agent's verification loop, not your CI suite (though it can be).
  • Accessibility Tester (axe) vs manual a11y review — automated tools catch ~40% of WCAG violations. The other 60% (keyboard nav flow, screen reader narrative, focus order) still needs a human or a more thorough audit. Don't ship just because axe is green.

Common pitfalls

  • Over-relying on visual generation — v0 and Onlook produce code that looks right and is structurally weird (nested div soup, no semantic HTML, missing labels). Treat their output as a starting block and refactor before merging. The agent (#4374) does this refactor pass if you ask explicitly.
  • Ignoring accessibility until the end — the a11y tester is the gate, not the fix. Use Headless UI primitives during scaffold (step 8) so violations are rare by the time you reach step 10. Fixing 200 axe violations on a finished page is a day; preventing them upstream is 10 minutes.
  • Letting the agent write Tailwind config sprawl — every prompt produces a new color name, a new spacing token, a new font size. After a week your tailwind.config.ts has 80 colors and no system. Define your design tokens first, then make the agent use them via the Figma MCP token export.
  • Skipping Playwright MCP because "the component looks fine" — the most common AI-frontend regression is a button that works visually but doesn't trigger on keyboard / mobile tap / Enter key. The MCP catches these in 30 seconds; staring at the rendered page misses them every time.
  • Picking the wrong scaffold tool for the job — using v0 to edit an existing logged-in dashboard is painful (no auth, no state). Using Onlook to design a fresh marketing page from a prompt is overkill (no rendered app yet). Match tool to phase: greenfield → v0, existing app → Onlook, deep code change → the agent.
  • Treating MCPs as optional plumbing — without Figma MCP, the agent has to guess what "primary button" means in your system. Wire the MCPs first (an afternoon), then the rest of the pack pays off daily.
INSTALLER · UNE COMMANDE
$ tokrepo install pack/frontend-engineer-ai-toolkit
passez-la à votre agent — ou collez-la dans votre terminal
Ce qu'il contient

10 ressources prêtes à installer

MCP#01
Figma Context MCP — Design-to-Code for AI Agents

MCP server that gives AI coding agents access to Figma design context. Provides layout, styles, and component info so agents like Cursor and Claude Code can generate pixel-perfect code. 14K+ stars.

by MCP Hub·137 views
$ tokrepo install figma-context-mcp-design-code-ai-agents-b51a5814
Script#02
Screenshot to Code — Convert Designs to Code

Screenshot to Code converts screenshots, mockups, and Figma designs into clean code using AI. 72.1K+ GitHub stars. HTML, React, Vue, Bootstrap. MIT.

by Script Depot·106 views
$ tokrepo install screenshot-code-convert-designs-code-e8c64554
Skill#03
v0 by Vercel — AI UI Component Generator

AI-powered tool that generates production-ready React and Next.js UI components from text descriptions. Uses shadcn/ui and Tailwind CSS. Copy-paste or install via CLI. 8,000+ stars.

by Vercel·210 views
$ tokrepo install v0-vercel-ai-ui-component-generator-ee124425
Skill#04
Onlook — Visual AI Code Editor for React Apps

Open-source Figma-like visual editor for building React and Next.js apps with AI. Edit visually and code syncs in real-time. Design branching, team collab, deploy. Apache-2.0, 25,000+ stars.

by AI Open Source·224 views
$ tokrepo install onlook-visual-ai-code-editor-react-apps-0d4f9803
Skill#05
Claude Code Agent: Frontend Developer

Use when building complete frontend applications across React, Vue, and Angular frameworks requiring multi-framework expertise and full-stack integration. Specifically:...

by TokRepo精选·28 views
$ tokrepo install claude-code-agent-frontend-developer-79c222c4
Skill#06
Tailwind CSS v4 — Utility-First CSS Framework

The most popular utility-first CSS framework, now with v4 engine rewritten in Rust. 10x faster builds, automatic content detection, and zero-config setup. 90,000+ GitHub stars.

by AI Open Source·190 views
$ tokrepo install tailwind-css-v4-utility-first-css-framework-46f11f5d
Skill#07
Magic UI — Animated React Components for Design Engineers

Magic UI is a free open-source collection of animated React components built with Tailwind CSS, Framer Motion, and shadcn/ui conventions that you copy and paste into your projects.

by AI Open Source·70 views
$ tokrepo install magic-ui-animated-react-components-design-engineers-ca9d165d
Skill#08
Headless UI — Unstyled Accessible UI Components for Tailwind CSS

Completely unstyled, fully accessible UI components for React and Vue designed to integrate with Tailwind CSS, giving you behavior and accessibility without imposing visual design.

by Script Depot·134 views
$ tokrepo install headless-ui-unstyled-accessible-ui-components-tailwind-css-0ecba1d4
MCP#09
Playwright MCP — Browser Automation for Agents

Playwright MCP exposes browser automation via MCP with device emulation; verified 5,510★ and documents 143 device profiles plus `playwright install` setup.

by MCP Hub·82 views
$ tokrepo install playwright-mcp-browser-automation-for-agents
Skill#10
Claude Code Agent: Accessibility Tester

Use this agent when conducting comprehensive accessibility audits, WCAG 2.2 compliance assessments, or evaluating UI components and full codebases for barriers that affect...

by TokRepo精选·26 views
$ tokrepo install claude-code-agent-accessibility-tester-82e71c91
Questions fréquentes

Questions fréquentes

I work in Vue / Svelte / SolidJS — is this pack still useful?

Seven of ten work everywhere: Figma Context MCP (#198), Screenshot to Code (#313, configurable target), Tailwind v4 (#663), Headless UI (#1984, has Vue port), Playwright MCP (#3687), Frontend Developer Agent (#4374), and Accessibility Tester (#4283). The three React-only picks are v0 (#630), Onlook (#867), and Magic UI (#3047). For Vue, substitute the Vue ports of Headless UI plus the Vue+Tailwind community kits; for Svelte, use Skeleton UI as the Tailwind component layer. The pipeline shape is the same.

Do I need every tool, or can I start with three?

Start with three: Figma Context MCP (#198), Frontend Developer Agent (#4374), and Playwright MCP (#3687). With just those, an agent can read a Figma file, generate code against your existing repo, and verify the result in a real browser. Add Tailwind v4 and the accessibility tester next; the visual generators (v0, Onlook, Magic UI) are accelerators you bolt on once the core loop works.

How much does running this whole stack cost?

Most of the cost is the LLM bill behind the agents — budget $20-60/month for Claude or GPT depending on volume. The tools themselves: Figma MCP is free (you provide a Figma personal access token), Playwright MCP is free, the Claude Code agents are part of your Claude Code subscription. v0 has a generous free tier; Onlook is open-source and free to self-host; Magic UI and Headless UI are free. Tailwind v4 is free. The only paid SaaS line item is Vercel/Cursor/Claude depending on which agent shell you live in.

Will the agent actually produce production-quality components, or am I refactoring everything?

Honest answer: first-draft output from v0 or screenshot-to-code needs a pass before merge — naming, prop boundaries, splitting, semantic HTML. The Frontend Developer Agent (#4374) does this refactor pass if you prompt for it explicitly ("now refactor to match existing patterns in /components and add the proper a11y attributes"). Treat AI-generated UI as a 70% solution that compiles and runs; the last 30% (your codebase's conventions, prop API, a11y, tests) is where you earn your title.

Why is there no visual-regression tool (Chromatic, Percy) in this pack?

Playwright MCP (#3687) covers the functional verification loop the agent needs to know if the component works. Visual regression is a separate concern that lives in CI, not in the agent's scaffold loop, and tools like Chromatic / Percy / Lost Pixel are best added once you have a design system mature enough to regress against. For pack v1, the pipeline ends at "axe is green and Playwright assertions pass"; bolt visual regression on after you've shipped 10+ components.

PLUS DANS L'ARSENAL

12 packs · 80+ ressources sélectionnées

Découvrez tous les packs curatés sur la page d'accueil

Retour à tous les packs