Loading...
Loading...
Convert Stitch designs into production React + Vite dashboards with TanStack Query, accessible tokens from DESIGN.md, and Web3-ready patterns (ethers/viem).
npx skill4agent add google-labs-code/stitch-skills react-vite-dashboardDESIGN.mddesign-mdnpm create vite@latestlist_toolsstitch:[prefix]:get_screen.stitch/designs/{screen}.html.pngcolors.*typography.*spacing.*src/index.csssrc/components/src/pages/src/hooks/| Pattern | Implementation |
|---|---|
| Layout grid / flex | Tailwind utilities or CSS modules aligned to DESIGN.md spacing tokens |
| Cards / panels | |
| Tables | Semantic |
| Buttons | |
| Forms | |
| Loading | Skeleton components; |
| Wallet connect | Isolate in |
/* src/index.css — example token bridge */
:root {
--color-primary: /* from DESIGN.md colors.primary */;
--font-body: /* typography.body-md.fontFamily */;
}npx @google/design.md lint DESIGN.mduseReadContractContractqueryFnformatUnitstxHasheth_callsrc/
├── components/ # Presentational UI from Stitch
├── pages/ # Route-level screens
├── hooks/ # useQuery wrappers, wallet hooks
├── lib/ # ABI helpers, formatters
└── styles/ # Token CSS variablesVITE_*anyhttps://stitch.withgoogle.com/docs/...