BetterMech ENPUBLIC · REV 0.1
Рецепта · сайт

Хиро с движение от Figma (Claude + Figma MCP)

Тенденции: Целенасочени микровзаимодействия + Тъмна тема по подразбиране + Огромни заглавия, малко текст. Концепция на Better Mechanics по рецептата — не е официалният сайт на марката.

Отвори сайта на живо →
Началото на сайта „Хиро с движение от Figma (Claude + Figma MCP)“

Доказателството

WEB · BOOSTWORKERS-FIGMA-DVIZHENIEREV 0.1
axe serious
0
overflow 360
0 px
weight
71 KB
h1
1
lang
bg
date
2026-11-22
провереноaxe (WCAG 2.2 AA) в светла и тъмна тема · 360 px · автоматично; ръчният преглед предстои

(а) Многократният промпт (EN, неутрален към марката)

Use the Figma MCP server to take a brand from its brand book to a moving hero section in code.
Load the Figma skills first: figma-use, figma-generate-design, figma-use-motion, figma-design-to-code,
figma-implement-motion.

1. VARIABLES. Create a variable collection "<brand> · brand" from the brand book tokens: every colour as a
   COLOR variable with explicit scopes (backgrounds: FRAME_FILL/SHAPE_FILL, text: TEXT_FILL, accents also
   STROKE_COLOR) and a small spacing scale as FLOAT variables (GAP/WIDTH_HEIGHT). Never leave ALL_SCOPES.
2. HERO. Build a 1440×820 hero frame bound to those variables: a label, a two-line headline, one sentence,
   one primary button made as a COMPONENT and placed as an instance, and one visual idea on the right.
   Auto-layout frames get fills = [] (they default to white). Check fonts with listAvailableFontsAsync.
3. MOTION in Figma Motion (one 3 s timeline): text enters in a stagger (opacity 0→1, translateY 24→0,
   0.6 s ease-out, 0.15–0.2 s apart), the main object ignites (scale 0.4→1) then breathes (1→1.08→1),
   secondary rings fade in and rotate slowly (linear), one small accent blinks. Animate children,
   never the top-level frame.
4. CODE. get_design_context for structure, get_motion_context(recursive) for the motion: use its CSS
   @keyframes values (timing, easing, transform-origin) as they are. Download assets locally — the Figma
   asset URLs expire. Entrances play once on a real page; loops (rotation, breathing) stay infinite.
   Respect prefers-reduced-motion. Make the layout responsive (two columns → one column under 760 px),
   no overflow at 360 px, WCAG 2.2 AA contrast, one h1, lang set, fonts served locally.

DON'T
- Hard-code hex values in Figma when a variable exists; hand-redraw Figma assets in code;
  loop the text entrance forever; scale a fixed 1440 px canvas down on phones instead of real layout.

(б) Брифът за Better Mechanics

  • Марка: BoostWorkers (агенция за видимост): тъмен фон, розово и виолетово, Manrope.
  • Какво доказва: един и същ източник на цветовете минава от бранд книгата през Figma до кода, а движението се пренася с точните времена, без да се преписва на ръка.
  • Измерено при пробата (22.11.2026): Figma файл с 14 променливи (8 цвята, 6 разстояния), бутон като компонент, 10 анимирани елемента на линия от 3 s; get_motion_context върна CSS и motion.dev за всичките 10. Работи на безплатния план на Figma.
  • Отклонение, записано съзнателно: във Figma линията се върти в кръг; в кода влизането се играе веднъж.