{"id":15634637,"url":"https://github.com/ecklf/react-native-heroicons","last_synced_at":"2025-04-05T17:07:51.134Z","repository":{"id":41609870,"uuid":"263317246","full_name":"ecklf/react-native-heroicons","owner":"ecklf","description":"React Native components for heroicons","archived":false,"fork":false,"pushed_at":"2024-02-21T00:06:50.000Z","size":937,"stargazers_count":140,"open_issues_count":1,"forks_count":14,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-29T15:11:23.803Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://heroicons.com","language":"TypeScript","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/ecklf.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":"2020-05-12T11:27:46.000Z","updated_at":"2025-03-28T00:05:27.000Z","dependencies_parsed_at":"2023-12-22T16:00:05.035Z","dependency_job_id":"cbb3b69d-6bf3-4be9-84a6-0491e2371457","html_url":"https://github.com/ecklf/react-native-heroicons","commit_stats":{"total_commits":47,"total_committers":2,"mean_commits":23.5,"dds":0.04255319148936165,"last_synced_commit":"f5289949eed3bcd67e4503ab376a03c37a37c3d0"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecklf%2Freact-native-heroicons","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecklf%2Freact-native-heroicons/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecklf%2Freact-native-heroicons/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecklf%2Freact-native-heroicons/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ecklf","download_url":"https://codeload.github.com/ecklf/react-native-heroicons/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247369952,"owners_count":20927928,"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":[],"created_at":"2024-10-03T10:54:58.842Z","updated_at":"2025-04-05T17:07:51.111Z","avatar_url":"https://github.com/ecklf.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![npm version](https://img.shields.io/npm/v/react-native-heroicons.svg)](https://www.npmjs.com/package/react-native-heroicons)\n[![npm downloads](https://img.shields.io/npm/dm/react-native-heroicons.svg)](https://www.npmjs.com/package/react-native-heroicons)\n\n# React Native Heroicons\n\nHeroicons are designed by [Steve Schoger](https://twitter.com/steveschoger) and published by [Tailwind Labs](https://github.com/tailwindlabs/heroicons).\n\nA full directory of all available icons can be found here:\n\nhttps://heroicons.com/\n\n## Installation\n\n**react-native-heroicons requires react-native-svg v9 or higher**\n\n### yarn\n\n```sh\nyarn add react-native-heroicons react-native-svg\n```\n\n### npm\n\n```sh\nnpm i react-native-heroicons react-native-svg\n```\n\n## Usage\n\nSpecific icons:\n\n```tsx\nimport React from \"react\";\nimport { View } from \"react-native\";\nimport { SparklesIcon as SparklesIconMicro } from \"react-native-heroicons/micro\";\n// Old solid style from heroicons v1\nimport { SparklesIcon as SparklesIconMini } from \"react-native-heroicons/mini\";\nimport { SparklesIcon } from \"react-native-heroicons/solid\";\nimport { SparklesIcon as SparklesIconOutline } from \"react-native-heroicons/outline\";\n\nconst App = () =\u003e {\n  return (\n    \u003cView\u003e\n      \u003cSparklesIconMicro /\u003e\n      \u003cSparklesIconMini /\u003e\n      \u003cSparklesIcon /\u003e\n      \u003cSparklesIconOutline /\u003e\n    \u003c/View\u003e\n  );\n};\n\nexport default App;\n```\n\nEntire icon pack:\n\n```tsx\nimport React from \"react\";\nimport * as Icons from \"react-native-heroicons/solid\";\n\nconst App = () =\u003e {\n  return \u003cIcons.SparklesIcon /\u003e;\n};\n\nexport default App;\n```\n\n## Customization\n\nIcons can be adjusted with the `size` prop.\n\nDefaults are `16` for `micro`, `20` for `mini` and `24` for `solid`/`outline`):\n\n```tsx\nimport { SparklesIcon as SparklesIconOutline } from \"react-native-heroicons/outline\";\n// ...\n\u003cSparklesIconOutline color=\"red\" fill=\"black\" size={42} /\u003e;\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecklf%2Freact-native-heroicons","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fecklf%2Freact-native-heroicons","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecklf%2Freact-native-heroicons/lists"}