{"id":15089909,"url":"https://github.com/raresail/react-ionicons","last_synced_at":"2026-04-12T11:02:30.748Z","repository":{"id":229660604,"uuid":"777120322","full_name":"RaresAil/react-ionicons","owner":"RaresAil","description":"This packages uses the svg icons from ionic-team/ionicons and builds them as React Components to be used in the application","archived":false,"fork":false,"pushed_at":"2025-04-08T08:05:20.000Z","size":508,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-08T08:41:58.498Z","etag":null,"topics":["components","icons","ionic","ionic-framework","ionicons","ionicons-icons","react"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@raresail/react-ionicons","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RaresAil.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2024-03-25T08:38:46.000Z","updated_at":"2025-04-08T07:49:26.000Z","dependencies_parsed_at":"2025-04-08T08:40:36.441Z","dependency_job_id":null,"html_url":"https://github.com/RaresAil/react-ionicons","commit_stats":null,"previous_names":["raresail/react-ionicons"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaresAil%2Freact-ionicons","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaresAil%2Freact-ionicons/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaresAil%2Freact-ionicons/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaresAil%2Freact-ionicons/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RaresAil","download_url":"https://codeload.github.com/RaresAil/react-ionicons/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248868767,"owners_count":21174758,"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":["components","icons","ionic","ionic-framework","ionicons","ionicons-icons","react"],"created_at":"2024-09-25T09:03:31.667Z","updated_at":"2026-04-12T11:02:30.656Z","avatar_url":"https://github.com/RaresAil.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @raresail/react-ionicons\n\n### The current version uses the ionicons version `7.3.0`\n\nThis packages uses the svg icons from [ionic-team/ionicons](https://github.com/ionic-team/ionicons) and builds them as React Components to be used in the application\n\n### Usage\n\nInstall the module\n\n```bash\nnpm install --save @raresail/react-ionicons;\n```\n\n```bash\nyarn add @raresail/react-ionicons;\n```\n\nImport the icons\n\n```ts\nimport { AddCircleOutline } from '@raresail/react-ionicons';\n```\n\nUse the icon, to change the size of the icon use the `font-size` CSS property and for the color (fill or stroke) use the `color` CSS property\n\n```tsx\nfunction Component() {\n  return (\n    \u003cAddCircleOutline\n      // To change any style related to the svg, font size or color\n      style={{\n        fontSize: '20px',\n        color: 'red'\n      }}\n      // For icons that use strokeWidth you can change it like this\n      strokeWidth={32}\n      // to add a class name to the svg\n      className=\"your class\"\n      // All the props are forwarded to the SVG component\n    /\u003e\n  );\n}\n```\n\n### Props\n\n| Name        | Type             | Default  |\n| ----------- | ---------------- | -------- |\n| style       | CSSProperties    | {}       |\n| strokeWidth | number \\| string | 32 or 16 |\n| className   | string           |          |\n| ...         | Other SVG Props  |          |\n\n### Animations\n\n#### Spin\n\nTo spin a icon add the `spin` prop, if you want to adjust the speed, use the `animation-duration` css property\n\n```tsx\nfunction() {\n  return \u003cSyncOutline spin /\u003e;\n}\n```\n\n#### Beat\n\nTo spin a icon add the `beat` prop, if you want to adjust the speed, use the `animation-duration` css property\n\n```tsx\nfunction() {\n  return \u003cSyncOutline beat /\u003e;\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraresail%2Freact-ionicons","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraresail%2Freact-ionicons","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraresail%2Freact-ionicons/lists"}