Description
react-components is an agent skill from Google Labs that converts Stitch design screens into modular React components with TypeScript interfaces. It retrieves design assets through MCP tools, maps the Tailwind config from the design HTML head, and runs AST validation on each generated component before serving a dev preview. The page says a bundled fetch script handles the Google Cloud Storage redirects and security handshakes that standard AI fetch tools fail on, so full-resolution screenshots download reliably. Example jobs are converting a Stitch screen into a typed React component with isolated hooks and a data file, pulling full-resolution screenshots from Google Cloud Storage, syncing Tailwind values from Stitch HTML exports into a local style-guide.json, splitting a multi-section design into component, hook and mock-data files, and running AST validation to catch problems in generated code. It is aimed at front-end developers who take designs from Stitch into a React codebase. Install it with npx skills add https://github.com/google-labs-code/react-components --skill react-components. The source is on GitHub under google-labs-code, and the page labels it official.…
Highlights
- Stitch screens to typed React components
- Pulls design assets through MCP tools
- Maps Tailwind config into the project
- AST validation before a dev preview
- Bundled script for full-resolution screenshots
Ratings & Reviews
No ratings yet
Be the first to rate google-labs-code/react-components.
People also visit
google-labs-code/react-components FAQ
What does it produce?
Modular React components with TypeScript interfaces, plus hooks and mock data files, from a Stitch screen.
How do I install it?
Run npx skills add https://github.com/google-labs-code/react-components --skill react-components.
Does it check the generated code?
Yes. The page says it runs AST validation on each component before serving a dev preview.
Why is a bundled script needed?
The page says it handles Google Cloud Storage redirects and handshakes that standard fetch tools fail on.
Who publishes it?
Google Labs, on GitHub under google-labs-code. The page labels it official.
What are the best google-labs-code/react-components alternatives?
Popular alternatives to google-labs-code/react-components include react-vite-dashboard, react-best-practices and react-dev. See all google-labs-code/react-components alternatives



















