{"id":26116161,"url":"https://github.com/yjb94/react-store-badges","last_synced_at":"2026-03-02T04:02:11.362Z","repository":{"id":38175374,"uuid":"235307015","full_name":"yjb94/react-store-badges","owner":"yjb94","description":"react store badges for apple app store and google play store. supports localization","archived":false,"fork":false,"pushed_at":"2023-05-07T19:46:32.000Z","size":1347,"stargazers_count":12,"open_issues_count":11,"forks_count":5,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-11-04T08:14:54.344Z","etag":null,"topics":["apple","appstore","badge","badge-generator","google","google-play-store","react","react-store-badges","reactjs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/yjb94.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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-01-21T09:41:07.000Z","updated_at":"2025-09-08T19:53:03.000Z","dependencies_parsed_at":"2024-06-21T14:28:05.396Z","dependency_job_id":"e3c71b1c-f427-4afd-846c-f967a6c6acf9","html_url":"https://github.com/yjb94/react-store-badges","commit_stats":{"total_commits":34,"total_committers":4,"mean_commits":8.5,"dds":0.08823529411764708,"last_synced_commit":"0a095216e0a30e6861d43f3b740cd8f428022d1d"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/yjb94/react-store-badges","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjb94%2Freact-store-badges","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjb94%2Freact-store-badges/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjb94%2Freact-store-badges/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjb94%2Freact-store-badges/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yjb94","download_url":"https://codeload.github.com/yjb94/react-store-badges/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjb94%2Freact-store-badges/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29992286,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T01:47:34.672Z","status":"online","status_checked_at":"2026-03-02T02:00:07.342Z","response_time":60,"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":["apple","appstore","badge","badge-generator","google","google-play-store","react","react-store-badges","reactjs"],"created_at":"2025-03-10T08:26:44.489Z","updated_at":"2026-03-02T04:02:11.343Z","avatar_url":"https://github.com/yjb94.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-store-badges\n\n[![Travis][build-badge]][build]\n[![npm package][npm-badge]][npm]\n[![Coveralls][coveralls-badge]][coveralls]\n\n![](https://raw.githubusercontent.com/yjb94/react-store-badges/master/img/main.png)\n\nreact-store-badges is a React.js component displaying badges for App Store and Google Play Store. react-store-badge serves locale(localization) setting for each country.\n\nreact-store-badge uses SVG files, (optimized by svgo) so no worries about image going wrong.\n\n## Getting started\n\n```\n  npm install --save react-store-badges\n```\n\n## Usage\n\n```\n  import React, {Component} from 'react'\n\n  import ReactStoreBadges from 'react-store-badges'\n\n  class App extends Component {\n    render() {\n      return \u003cdiv\u003e\n        \u003cReactStoreBadges\n          platform={'ios'}\n          url={'YOUR_APP_STORE_URL'}\n          locale={'en-us'}\n        /\u003e\n\n        \u003cReactStoreBadges\n          platform={'android'}\n          url={'YOUR_PLAY_STORE_URL'}\n          locale={'ko-kr'}\n        /\u003e\n      \u003c/div\u003e\n    }\n  }\n```\n\n## props\n\n| Name         |               Type                |  Default   | Description                     |\n| :----------- | :-------------------------------: | :--------: | :------------------------------ |\n| **url**      |        \u003ccode\u003estring\u003c/code\u003e        | `required` | url of App Store and Play Store |\n| **platform** | \u003ccode\u003e'ios'\u0026#124;'android'\u003c/code\u003e | `required` | url of App Store and Play Store |\n| **defaultLocale** | \u003ccode\u003estring\u003c/code\u003e | 'en-us' | default locale code |\n| **locale** | \u003ccode\u003estring\u003c/code\u003e | 'en-us' | locale name |\n| **width** | \u003ccode\u003enumber\u003c/code\u003e | 135 | width for badge size |\n| **height** | \u003ccode\u003enumber\u003c/code\u003e | 40 | height for badge size |\n| **target** | \u003ccode\u003e'_self'\u0026#124;'_blank'\u0026#124;'_parent'\u0026#124;'_top'\u003c/code\u003e | '_self' | target for url to be opened |\n## Localization\n\n### Supported locales\n\n[Apple locales list](https://www.apple.com/itunes/marketing-on-itunes/identity-guidelines.html#itunes-store-badges#LocalizedBadges)\n\n[Google locales list](https://github.com/yjb94/google-play-badge-svg/tree/master/img)\n\n### Localization tip\n\n- iOS uses full code of their locale. (ex. en-us) and google uses short code of their locale(ex. en). So if you want your badge in only one store, you can customize it anyway.\n\n## Badge Guidelines\n\nplease note that you have to follow the guidelines below\n\n[Apple Badge Guidelines](https://developer.apple.com/app-store/marketing/guidelines/)\n\n[Google Badge Guidelines](https://play.google.com/intl/en_us/badges/)\n\n[build-badge]: https://img.shields.io/travis/yjb94/react-store-badge/master.png?style=flat-square\n[build]: https://travis-ci.org/yjb94/react-store-badge\n[npm-badge]: https://img.shields.io/npm/v/npm-package.png?style=flat-square\n[npm]: https://www.npmjs.org/package/npm-package\n[coveralls-badge]: https://img.shields.io/coveralls/yjb94/react-store-badges/master.png?style=flat-square\n[coveralls]: https://coveralls.io/github/yjb94/react-store-badges\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyjb94%2Freact-store-badges","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyjb94%2Freact-store-badges","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyjb94%2Freact-store-badges/lists"}