{
 "schema_version": 1,
 "generated": "2026-10-30",
 "id": "openlabs-so-oa-design--add-design-recipes-to-react-project",
 "repo": "OpenLabs-so/oa-design",
 "repo_url": "https://github.com/OpenLabs-so/oa-design",
 "repo_slug": "openlabs-so-oa-design",
 "title": "Add tested UI recipes to a React project",
 "page_title": "How to add tested UI recipes to a React project with Oa Design",
 "summary": "Copy type-checked Open Analytics components like tab bars and toasts into your app with one command.",
 "who": "A front-end developer building a React dashboard who wants polished navigation, dialogs and toasts without designing the motion from scratch.",
 "problem": "Building tab bars, dialogs, toasts and skeleton loaders with matching spacing, springs and focus states takes days of tuning.",
 "outcome": "Selected recipes land in ./oa-design as source you own, ready to import into your pages.",
 "steps": [
  "Open a terminal in your project folder.",
  "Run `npx getopen-design list` to see the available recipes.",
  "Run `npx getopen-design add tab-bar toast` to copy those recipes into ./oa-design.",
  "Ask your agent to import the copied components into one page and check the result in your dev server.",
  "Replace any values that clash with your own design system, since the README says your system wins."
 ],
 "agent_prompt": "In the repo <project-path>, use the oa-design recipes from the getopen-design CLI (repo OpenLabs-so/oa-design) to add a tab bar and a toast to the page <page-file>. Expected output: the components are imported and the page renders with no type errors. Verify by running the project's typecheck script.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "The README says the recipes were written against React, Tailwind v4 and motion, so other stacks need porting work.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "npm, for the npx commands",
  "git, for cloning the repository",
  "A React and Tailwind v4 project, which the values were written against (the README says the values are plain CSS and can be ported)",
  "A coding agent such as Claude Code, Cursor, or Codex, if you want the agent to apply the design"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/openlabs-so-oa-design/add-design-recipes-to-react-project/",
 "md": "https://dedupedai.com/use-cases/openlabs-so-oa-design/add-design-recipes-to-react-project/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/openlabs-so-oa-design--add-design-recipes-to-react-project.json",
 "api_version": "v1"
}
