{"id":19757110,"url":"https://github.com/dreamsparkx/parallex-image","last_synced_at":"2025-07-28T14:08:35.852Z","repository":{"id":49759399,"uuid":"123400220","full_name":"dreamsparkx/Parallex-Image","owner":"dreamsparkx","description":"Parallex Image is a port of atvImg library in react. It gives you Apple TV 3D parallex effect.","archived":false,"fork":false,"pushed_at":"2018-03-01T10:20:15.000Z","size":32,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-30T12:31:51.984Z","etag":null,"topics":["component","parallex","react"],"latest_commit_sha":null,"homepage":"","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/dreamsparkx.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}},"created_at":"2018-03-01T07:42:03.000Z","updated_at":"2023-11-23T07:43:34.000Z","dependencies_parsed_at":"2022-09-02T21:01:55.081Z","dependency_job_id":null,"html_url":"https://github.com/dreamsparkx/Parallex-Image","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dreamsparkx/Parallex-Image","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamsparkx%2FParallex-Image","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamsparkx%2FParallex-Image/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamsparkx%2FParallex-Image/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamsparkx%2FParallex-Image/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dreamsparkx","download_url":"https://codeload.github.com/dreamsparkx/Parallex-Image/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamsparkx%2FParallex-Image/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267527835,"owners_count":24102019,"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","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"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":["component","parallex","react"],"created_at":"2024-11-12T03:18:08.062Z","updated_at":"2025-07-28T14:08:35.833Z","avatar_url":"https://github.com/dreamsparkx.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Parallex-Image\nParallex Image is a port of [atvImg library](https://github.com/drewwilson/atvImg \"atvImg library\") in react. It gives you Apple TV 3D parallex effect.\n\n## Install\n`npm install parallex-image --save`\n\n## API\n**Data**\n- `layers`: This is required. The images will be stacked on top of each other and the last element will be at the top.\n- `isStatic`: This is optional. When you pass `true`, it disables the parallex effect, and shows the flattened image (`staticFallback`) instead.\n- `staticFallback`: This is optional. Pass the flattened image that contains all the layers.\n\n## Example\n\n``` javascript\nimport ParallexImage from 'parallex-image';\n\n\u003cParallexImage\n  layers={[\n    '/assets/images/back.png',\n    '/assets/images/front.png',\n  ]}\n  staticFallback=\"/assets/images/icon-flattened.png\"\n  isStatic={false}\n  style={{ flex: 0.21, height: 100, textAlign: 'center' }}\n/\u003e\n```\n\n## License\n\n[MIT](http://spdx.org/licenses/MIT.html \"MIT\")","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdreamsparkx%2Fparallex-image","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdreamsparkx%2Fparallex-image","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdreamsparkx%2Fparallex-image/lists"}