{"id":4196,"url":"https://github.com/phuochau/react-native-beautiful-image","last_synced_at":"2025-08-04T00:32:31.014Z","repository":{"id":57335720,"uuid":"86967338","full_name":"phuochau/react-native-beautiful-image","owner":"phuochau","description":"The Beautiful Image component that supports fadeIn animation and shows placeholderSource if the main source can't be loaded. More will be implemented.","archived":true,"fork":false,"pushed_at":"2017-04-02T07:59:41.000Z","size":431,"stargazers_count":62,"open_issues_count":2,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-20T07:44:40.858Z","etag":null,"topics":["react-native","react-native-component"],"latest_commit_sha":null,"homepage":"https://github.com/phuochau/","language":"Objective-C","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/phuochau.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}},"created_at":"2017-04-02T06:13:01.000Z","updated_at":"2023-12-27T04:27:02.000Z","dependencies_parsed_at":"2022-09-13T02:22:18.931Z","dependency_job_id":null,"html_url":"https://github.com/phuochau/react-native-beautiful-image","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phuochau%2Freact-native-beautiful-image","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phuochau%2Freact-native-beautiful-image/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phuochau%2Freact-native-beautiful-image/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phuochau%2Freact-native-beautiful-image/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phuochau","download_url":"https://codeload.github.com/phuochau/react-native-beautiful-image/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228576898,"owners_count":17939645,"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":["react-native","react-native-component"],"created_at":"2024-01-05T20:17:04.174Z","updated_at":"2025-08-04T00:32:30.989Z","avatar_url":"https://github.com/phuochau.png","language":"Objective-C","funding_links":[],"categories":["Components","Others"],"sub_categories":["UI"],"readme":"# react-native-beautiful-image\n\nA beautiful image component for React Native with fade-in animation and placeholder support.\n\n## Installation\n\n```bash\nnpm install react-native-beautiful-image\n# or\nyarn add react-native-beautiful-image\n```\n\n## Usage\n\n```typescript\nimport Image from 'react-native-beautiful-image';\n\n// Basic usage\n\u003cImage\n  source={{ uri: 'https://example.com/image.jpg' }}\n  style={{ width: 200, height: 200 }}\n/\u003e\n\n// With placeholder\n\u003cImage\n  source={{ uri: 'https://example.com/image.jpg' }}\n  placeholderSource={require('./assets/placeholder.jpg')}\n  style={{ width: 200, height: 200 }}\n/\u003e\n\n// With callbacks\n\u003cImage\n  source={{ uri: 'https://example.com/image.jpg' }}\n  onLoad={() =\u003e console.log('Image loaded')}\n  onError={() =\u003e console.log('Image failed to load')}\n  style={{ width: 200, height: 200 }}\n/\u003e\n```\n\n## Props\n\n| Prop | Type | Required | Description |\n|------|------|----------|-------------|\n| source | ImageSourcePropType | Yes | The source of the image |\n| style | StyleProp\u003cImageStyle\u003e | No | Style for the image |\n| onLoad | () =\u003e void | No | Callback when image loads successfully |\n| onError | () =\u003e void | No | Callback when image fails to load |\n| placeholderSource | ImageSourcePropType | No | Image to show while loading or on error |\n\n## TypeScript Support\n\nThis library is written in TypeScript and includes type definitions. The main component is exported as:\n\n```typescript\nimport Image, { ImageExtProps } from 'react-native-beautiful-image';\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphuochau%2Freact-native-beautiful-image","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphuochau%2Freact-native-beautiful-image","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphuochau%2Freact-native-beautiful-image/lists"}