Setting the file. One moment.
Skill 01 · Stitch::react Components
Subchapter 1.9
resources/stitch-api-reference.mdMarkdown1 KBView on GitHub
This document describes the data structures returned by the Stitch MCP server to ensure accurate component mapping.
When calling get_screen, the server returns a JSON object with these key properties:
downloadUrldownloadUrl for the visual design. Use this to verify layout intent that might not be obvious in the raw HTML.DESKTOP. All generated components should prioritize the corresponding viewport (2560px width) as the base layout.data-stitch-id attributes as comments in the TSX to allow for future design synchronization.mockData.ts rather than hardcoding them into the component styles.<head> contains a localized tailwind.config. This config must be merged with the local project theme to ensure colors like primary and background-dark render correctly.