@directededges/figma-from-specs
v0.3.0
Published
Spec → Figma: renders component specs onto the Figma canvas
Readme
@directededges/figma-from-specs
Spec → Figma. Renders a structured component spec onto the Figma canvas: variants, properties, anatomy, styles, tokens, and subcomponents.
Part of the Specs design-system tooling ecosystem. This is the reverse direction of @directededges/specs-from-figma (Figma → spec).
Usage
Runs inside a Figma plugin runtime. Consumed by the Specs CLI's render workflow — not intended for direct standalone use.
import { Renderer } from '@directededges/figma-from-specs';
const renderer = new Renderer();
const result = await renderer.render(spec, options);Component spec type definitions come from @directededges/specs-schema.
License
PolyForm Internal Use 1.0.0. Distributed as a bundled artifact; source is not published.
