{"id":51523558,"url":"https://github.com/huytdps13400/react-native-iconify","last_synced_at":"2026-07-08T18:02:23.676Z","repository":{"id":327618524,"uuid":"1097021062","full_name":"huytdps13400/react-native-iconify","owner":"huytdps13400","description":"200K+ icons for React Native. Native caching via SDWebImage \u0026 Glide. Zero config. New Arch support.","archived":false,"fork":false,"pushed_at":"2026-01-19T04:52:10.000Z","size":872,"stargazers_count":8,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-19T13:41:29.630Z","etag":null,"topics":["iconify","iconify-icons","iconifyicons","react-native","react-native-iconify"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@huymobile/react-native-iconify","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/huytdps13400.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-15T11:43:57.000Z","updated_at":"2026-01-19T04:52:14.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/huytdps13400/react-native-iconify","commit_stats":null,"previous_names":["huytdps13400/react-native-iconify"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/huytdps13400/react-native-iconify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huytdps13400%2Freact-native-iconify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huytdps13400%2Freact-native-iconify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huytdps13400%2Freact-native-iconify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huytdps13400%2Freact-native-iconify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/huytdps13400","download_url":"https://codeload.github.com/huytdps13400/react-native-iconify/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huytdps13400%2Freact-native-iconify/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35273524,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-08T02:00:06.796Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["iconify","iconify-icons","iconifyicons","react-native","react-native-iconify"],"created_at":"2026-07-08T18:02:22.392Z","updated_at":"2026-07-08T18:02:23.658Z","avatar_url":"https://github.com/huytdps13400.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @huymobile/react-native-iconify\n\n\u003e 200,000+ icons for React Native with native caching and zero configuration\n\n[![npm version](https://img.shields.io/npm/v/@huymobile/react-native-iconify)](https://www.npmjs.com/package/@huymobile/react-native-iconify)\n[![npm downloads](https://img.shields.io/npm/dm/@huymobile/react-native-iconify)](https://www.npmjs.com/package/@huymobile/react-native-iconify)\n[![license](https://img.shields.io/npm/l/@huymobile/react-native-iconify)](https://www.npmjs.com/package/@huymobile/react-native-iconify)\n\n---\n\n## Why react-native-iconify?\n\nTraditional icon libraries require you to **bundle all icons** at build time, leading to:\n- ❌ Large bundle sizes (even if you use only 10 icons)\n- ❌ Manual imports for each icon\n- ❌ Limited icon selection per library\n\n**react-native-iconify** takes a different approach:\n- ✅ **200,000+ icons** from 150+ icon sets (Material Design, Feather, Heroicons, Phosphor, Lucide, and more)\n- ✅ **Load icons by name** - no imports needed\n- ✅ **Zero bundle size impact** in development\n- ✅ **Automatic bundling** for production builds\n- ✅ **Native caching** with SDWebImage (iOS) and Glide (Android)\n\n---\n\n## Features\n\n| Feature | Description |\n|---------|-------------|\n| 🎨 **200,000+ Icons** | Access to 150+ icon sets from [Iconify](https://iconify.design) |\n| ⚡ **Zero Config** | Works out of the box - no manual bundling required |\n| 📦 **Auto-Bundling** | Icons automatically bundled during production builds (APK/IPA) |\n| 💾 **Native Caching** | SDWebImage (iOS) + Glide (Android) for persistent storage |\n| 🏗️ **New Architecture** | Full support for React Native 0.68+ New Architecture |\n| 📱 **Old Architecture** | Backward compatible with React Native 0.60+ |\n| 🚀 **Expo Support** | Works with Expo development builds and EAS |\n| 🔧 **React Native CLI** | Full support for bare React Native projects |\n\n---\n\n## Compatibility\n\n| Platform | Minimum Version |\n|----------|-----------------|\n| React Native | 0.68.0+ |\n| React Native (Old Arch) | 0.60.0+ |\n| Expo SDK | 49+ |\n| iOS | 13.0+ |\n| Android | API 21+ (Android 5.0) |\n\n---\n\n## Installation\n\n```bash\n# Using npm\nnpm install @huymobile/react-native-iconify react-native-svg\n\n# Using yarn\nyarn add @huymobile/react-native-iconify react-native-svg\n\n# Using pnpm\npnpm add @huymobile/react-native-iconify react-native-svg\n\n# Using bun\nbun add @huymobile/react-native-iconify react-native-svg\n```\n\n### iOS Setup\n\n```bash\ncd ios \u0026\u0026 pod install\n```\n\n### Expo Setup\n\n```bash\nnpx expo install react-native-svg\nnpx expo prebuild\n```\n\n\u003e **Note:** react-native-iconify requires a development build. It will not work with Expo Go.\n\n---\n\n## Quick Start\n\n```tsx\nimport React from 'react';\nimport { View } from 'react-native';\nimport { IconifyIcon } from '@huymobile/react-native-iconify';\n\nexport default function App() {\n  return (\n    \u003cView style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}\u003e\n      {/* Material Design Icons */}\n      \u003cIconifyIcon name=\"mdi:home\" size={32} color=\"#333\" /\u003e\n\n      {/* Heroicons */}\n      \u003cIconifyIcon name=\"heroicons:user-solid\" size={32} color=\"blue\" /\u003e\n\n      {/* Feather Icons */}\n      \u003cIconifyIcon name=\"feather:settings\" size={32} color=\"green\" /\u003e\n\n      {/* Phosphor Icons */}\n      \u003cIconifyIcon name=\"ph:heart-fill\" size={32} color=\"red\" /\u003e\n    \u003c/View\u003e\n  );\n}\n```\n\n### Finding Icons\n\nBrowse and search icons at **[icon-sets.iconify.design](https://icon-sets.iconify.design/)**\n\nIcon names follow the format: `{prefix}:{icon-name}`\n\nExamples:\n- `mdi:home` - Material Design Icons\n- `heroicons:user` - Heroicons\n- `feather:settings` - Feather Icons\n- `lucide:camera` - Lucide Icons\n- `ph:heart` - Phosphor Icons\n\n---\n\n## API\n\n### IconifyIcon Props\n\n| Prop | Type | Default | Description |\n|------|------|---------|-------------|\n| `name` | `string` | **required** | Icon name in format `prefix:name` |\n| `size` | `number` | `24` | Icon size (width \u0026 height) |\n| `color` | `string` | `#000` | Icon color |\n| `rotate` | `number` | `0` | Rotation in degrees |\n| `flip` | `'horizontal' \\| 'vertical' \\| 'both'` | - | Flip the icon |\n| `style` | `ViewStyle` | - | Additional styles |\n| `onLoad` | `() =\u003e void` | - | Called when icon loads successfully |\n| `onError` | `(error: Error) =\u003e void` | - | Called when icon fails to load |\n| `fallback` | `ReactNode` | - | Fallback component while loading |\n| `testID` | `string` | - | Test ID for testing |\n\n### Examples\n\n```tsx\n// Basic usage\n\u003cIconifyIcon name=\"mdi:home\" size={24} color=\"blue\" /\u003e\n\n// With rotation\n\u003cIconifyIcon name=\"mdi:arrow-right\" size={24} rotate={90} /\u003e\n\n// With flip\n\u003cIconifyIcon name=\"mdi:arrow-left\" size={24} flip=\"horizontal\" /\u003e\n\n// With custom fallback\n\u003cIconifyIcon\n  name=\"mdi:home\"\n  size={24}\n  fallback={\u003cActivityIndicator size=\"small\" /\u003e}\n/\u003e\n\n// With callbacks\n\u003cIconifyIcon\n  name=\"mdi:home\"\n  size={24}\n  onLoad={() =\u003e console.log('Icon loaded!')}\n  onError={(err) =\u003e console.error('Failed:', err)}\n/\u003e\n```\n\n---\n\n## Icon Sets\n\nreact-native-iconify supports **150+ icon sets** with over **200,000 icons**.\n\n### Popular Icon Sets\n\n| Icon Set | Prefix | Icons | License |\n|----------|--------|-------|---------|\n| [Material Design Icons](https://icon-sets.iconify.design/mdi/) | `mdi` | 7,000+ | Apache 2.0 |\n| [Heroicons](https://icon-sets.iconify.design/heroicons/) | `heroicons` | 290+ | MIT |\n| [Feather Icons](https://icon-sets.iconify.design/feather/) | `feather` | 280+ | MIT |\n| [Phosphor](https://icon-sets.iconify.design/ph/) | `ph` | 7,000+ | MIT |\n| [Lucide](https://icon-sets.iconify.design/lucide/) | `lucide` | 1,400+ | ISC |\n| [Tabler Icons](https://icon-sets.iconify.design/tabler/) | `tabler` | 4,400+ | MIT |\n| [Bootstrap Icons](https://icon-sets.iconify.design/bi/) | `bi` | 1,900+ | MIT |\n| [Font Awesome](https://icon-sets.iconify.design/fa6-solid/) | `fa6-solid` | 1,400+ | CC BY 4.0 |\n| [Remix Icons](https://icon-sets.iconify.design/ri/) | `ri` | 2,700+ | Apache 2.0 |\n| [Carbon](https://icon-sets.iconify.design/carbon/) | `carbon` | 2,000+ | Apache 2.0 |\n\nBrowse all icon sets at [icon-sets.iconify.design](https://icon-sets.iconify.design/)\n\n---\n\n## Architecture Support\n\n### New Architecture (Fabric + TurboModules)\n\nreact-native-iconify fully supports React Native's New Architecture:\n\n- ✅ TurboModules for native cache access\n- ✅ Fabric-compatible rendering\n- ✅ Concurrent features support\n\n### Old Architecture (Bridge)\n\nBackward compatible with the bridge-based architecture:\n\n- ✅ Works with React Native 0.60+\n- ✅ Standard Native Modules\n- ✅ Full feature parity\n\n---\n\n## Expo Support\n\n### Development Builds\n\n```bash\n# Install\nnpx expo install @huymobile/react-native-iconify react-native-svg\n\n# Create development build\nnpx expo prebuild\nnpx expo run:ios\n# or\nnpx expo run:android\n```\n\n### EAS Build\n\n```bash\n# Build for production\neas build --platform all\n```\n\n### Expo Go\n\n\u003e ⚠️ **Not Supported**: react-native-iconify requires native modules and will not work with Expo Go. Use a development build instead.\n\n---\n\n## Performance\n\n| Scenario | Load Time |\n|----------|-----------|\n| Bundled icon (production) | **0ms** |\n| Native cache hit | **15-35ms** |\n| API fetch (first load) | **200-500ms** |\n\n---\n\n## Troubleshooting\n\n### Icons not loading\n\n1. Check internet connection (for API fetches)\n2. Verify icon name format: `prefix:icon-name`\n3. Check if icon exists at [icon-sets.iconify.design](https://icon-sets.iconify.design/)\n\n### iOS build errors\n\n```bash\ncd ios \u0026\u0026 pod install --repo-update\n```\n\n### Android build errors\n\n```bash\ncd android \u0026\u0026 ./gradlew clean\n```\n\n### Metro bundler issues\n\n```bash\nnpx react-native start --reset-cache\n```\n\n---\n\n## Credits\n\n- [Iconify](https://iconify.design/) - The universal icon framework\n- [react-native-svg](https://github.com/software-mansion/react-native-svg) - SVG rendering for React Native\n- [SDWebImage](https://github.com/SDWebImage/SDWebImage) - iOS image caching\n- [Glide](https://github.com/bumptech/glide) - Android image caching\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuytdps13400%2Freact-native-iconify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhuytdps13400%2Freact-native-iconify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuytdps13400%2Freact-native-iconify/lists"}