figma-to-page
Generates React code for a full page based on pasted Figma 'Inspect' details. Uses the page scaffolder.
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
Purpose
Generates React code (TSX/CSS) for a full page based on pasted Figma 'Inspect' details, utilizing the standard page scaffolder for structure.
When to Use
- When migrating high-fidelity designs from Figma to the React codebase.
- When needing to rapidly prototype pages from existing design specifications.
- When ensuring structural consistency between design and implementation.
Process
-
Page Identification: Acquire the page name in
PascalCase. - Input Ingestion: Collect Figma 'Inspect' details for the entire page.
-
Scaffolding: Run the
.claude/skills/react-page-scaffolder/scripts/create-page.shscript. - Code Generation: Transform Figma specs into TSX and CSS modules.
-
Finalization: Write files, overwrite templates, and run
yarn lint:fix.
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-03-03
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!