{"id":15390618,"url":"https://github.com/solidzoro/react-icons-builder","last_synced_at":"2025-04-04T21:15:03.077Z","repository":{"id":83683938,"uuid":"409184100","full_name":"SolidZORO/react-icons-builder","owner":"SolidZORO","description":"build custom react-icons svg icons collection.","archived":false,"fork":false,"pushed_at":"2021-09-22T15:17:00.000Z","size":32,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-12T20:39:38.228Z","etag":null,"topics":["builder","gen","generator","icons","react-icons","react-icons-builder"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SolidZORO.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-22T11:50:37.000Z","updated_at":"2022-11-26T02:11:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"6e062c07-83a7-46c1-8a71-7bf1f819e94a","html_url":"https://github.com/SolidZORO/react-icons-builder","commit_stats":{"total_commits":14,"total_committers":1,"mean_commits":14.0,"dds":0.0,"last_synced_commit":"0e875f30cd23a795a9ca4f7fb07401ba7ba84501"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SolidZORO%2Freact-icons-builder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SolidZORO%2Freact-icons-builder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SolidZORO%2Freact-icons-builder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SolidZORO%2Freact-icons-builder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SolidZORO","download_url":"https://codeload.github.com/SolidZORO/react-icons-builder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247249538,"owners_count":20908212,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["builder","gen","generator","icons","react-icons","react-icons-builder"],"created_at":"2024-10-01T15:07:14.395Z","updated_at":"2025-04-04T21:15:03.051Z","avatar_url":"https://github.com/SolidZORO.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-icons-builder\n\nbuild custom `react-icons` svg icons collection.\n\n\n## Installation\n\n```sh\nyarn add -D react-icons-builder\n```\n\n\n## Usage\n\n1. copy `*.svg` files to `src/icons` (example path)\n\n2. create a index.js to `src/icons`\n\n```javascript\nconst path = require('path');\n\nmodule.exports = {\n  icons: [\n    {\n      id: 'li',\n      name: 'LocalIcon',\n      contents: [\n        {\n          files: path.resolve(__dirname, './*.svg'),\n          formatter: (name) =\u003e `Li${name}`,\n        },\n      ],\n      license: 'MIT',\n      projectUrl: 'https://li.local',\n      licenseUrl: 'https://li.local',\n    },\n  ],\n};\n```\n\n\n3. add a script to project package.json `scripts`:\n\n```\n\"scripts\": {\n  \"build-icons\": \"react-icons-builder --src ./src/icons --dist ./src/libs/react-icons-ext\",\n},\n```\n\n4. yarn build-icons\n\n5. use for code:\n\n```tsx\nimport { RiAbc } from 'react-icons/ri';\nimport { LiXzy } from '@/libs/react-icons-ext/li'; // `@` aliase src dir\n\nexport default () =\u003e {\n  return (\n    \u003cdiv\u003e\n      \u003cRiAbc color=\"red\" /\u003e\n      \u003cLiXzy color=\"blue\" /\u003e\n    \u003c/div\u003e\n  );\n};\n```\n\n\n## License\n\n© [MIT](./LICENSE)\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolidzoro%2Freact-icons-builder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsolidzoro%2Freact-icons-builder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolidzoro%2Freact-icons-builder/lists"}