{"id":25269904,"url":"https://github.com/javascript-pro/react-playing-cards","last_synced_at":"2025-10-27T07:32:01.731Z","repository":{"id":39217593,"uuid":"241741084","full_name":"javascript-pro/react-playing-cards","owner":"javascript-pro","description":"Customisable SVG based Playing Card graphics","archived":false,"fork":false,"pushed_at":"2022-12-18T06:04:36.000Z","size":30546,"stargazers_count":13,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-29T15:28:59.182Z","etag":null,"topics":["cards","poker","react"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"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/javascript-pro.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":"2020-02-19T22:33:01.000Z","updated_at":"2024-04-08T00:26:10.000Z","dependencies_parsed_at":"2023-01-29T18:45:54.844Z","dependency_job_id":null,"html_url":"https://github.com/javascript-pro/react-playing-cards","commit_stats":null,"previous_names":["javascript-pro/react-playing-cards"],"tags_count":null,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javascript-pro%2Freact-playing-cards","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javascript-pro%2Freact-playing-cards/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javascript-pro%2Freact-playing-cards/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javascript-pro%2Freact-playing-cards/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/javascript-pro","download_url":"https://codeload.github.com/javascript-pro/react-playing-cards/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238463091,"owners_count":19476639,"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":["cards","poker","react"],"created_at":"2025-02-12T11:27:56.427Z","updated_at":"2025-10-27T07:32:00.521Z","avatar_url":"https://github.com/javascript-pro.png","language":"JavaScript","readme":"\n## React Playing Cards\n\n[github.io docs](https://listingslab.github.io/react-playing-cards/)\n\nA framework for creating responsive animated SVG graphics in react implemented as a deck of playing cards. It has no need for jQuery or bitmap graphics. It's lightweight and easily deployable within any JS project\n\n- [Animated with Greensock](./animation/README.md)\n- Newfangled SVG graphic system; no bitmaps\n- Material UI desgin system\n\n#### Install \u0026 Run Demo\n\n```bash\ngit clone https://github.com/listingslab/react-playing-cards.git\ncd react-playing-cards\nyarn \u0026\u0026 yarn start\n```\n\n#### Add to an existing project\n\n- Copy `/Cards` directory and paste it anywhere you need in your app\n- Install the Greensock animation package\n\n```yarn add gsap```\n\n### Implement\n\n- Copy `/Cards` directory from [react-playing-cards](https://github.com/listingslab/react-playing-cards) \n\n- Import \u0026 Use in an existing component\n\n```bash\nimport { CardSingle } from '\u003cpath\u003e/Cards'\n\n\u003cCardSingle\n    id={`S_A`}\n    card={ {\n        suit: `S`, \n        rank: `A`, \n        backColor: `#1A1919`,\n        color: item.suit === 'D' || item.suit === 'H' ? `#D33E43` : `#1A1919`\n    } }\n/\u003e\n\u0026trade; should __just work__ \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjavascript-pro%2Freact-playing-cards","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjavascript-pro%2Freact-playing-cards","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjavascript-pro%2Freact-playing-cards/lists"}