{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "keyline-icons-keyline-icons--react-app-keyline-icons",
 "repo": "keyline-icons/keyline-icons",
 "repo_url": "https://github.com/keyline-icons/keyline-icons",
 "repo_slug": "keyline-icons-keyline-icons",
 "title": "Use Keyline icons in a React or React Native app",
 "page_title": "How to use Keyline icons in a React or React Native app with Keyline Icons",
 "summary": "Install the React package and import named icons, with style entry points and currentColor sizing.",
 "who": "A front-end developer building a React or React Native screen who needs a consistent set of icons in several styles.",
 "problem": "Hand-picking SVGs for each screen is slow, and mixing icon sets makes the interface look uneven.",
 "outcome": "Icons from one 24x24 grid render as components in your app, in the style and corner treatment you choose.",
 "steps": [
  "Run `npm i @keyline-icons/react` in your React project.",
  "Import icons by name from `@keyline-icons/react`, and import the style you want from an entry point such as `@keyline-icons/react/duotone` or `@keyline-icons/react/sharp/fill`.",
  "Set the size with the `size` prop and the colour through CSS, since the components colour from `currentColor`.",
  "For React Native, run `npm i @keyline-icons/react-native react-native-svg` and pass the colour with the `color` prop."
 ],
 "agent_prompt": "In the repo <path to your React project>, install @keyline-icons/react, add an import for the Check and Folder icons, and render them in a component. Report the import lines you wrote and confirm that Folder is imported from an entry point that exists for the style you chose.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "The README says Check exists only in the stroke and sharp entry points, so check each style before you import a name.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "Node.js with npm for the package installs",
  "A React, React Native or shadcn/ui project to add the icons to",
  "A Figma account if you want the plugin or Community file"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/keyline-icons-keyline-icons/react-app-keyline-icons/",
 "md": "https://dedupedai.com/use-cases/keyline-icons-keyline-icons/react-app-keyline-icons/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/keyline-icons-keyline-icons--react-app-keyline-icons.json",
 "api_version": "v1"
}
