An open API service indexing awesome lists of open source software.

https://github.com/javascript-pro/react-playing-cards

Customisable SVG based Playing Card graphics
https://github.com/javascript-pro/react-playing-cards

cards poker react

Last synced: 8 months ago
JSON representation

Customisable SVG based Playing Card graphics

Awesome Lists containing this project

README

          

## React Playing Cards

[github.io docs](https://listingslab.github.io/react-playing-cards/)

A 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

- [Animated with Greensock](./animation/README.md)
- Newfangled SVG graphic system; no bitmaps
- Material UI desgin system

#### Install & Run Demo

```bash
git clone https://github.com/listingslab/react-playing-cards.git
cd react-playing-cards
yarn && yarn start
```

#### Add to an existing project

- Copy `/Cards` directory and paste it anywhere you need in your app
- Install the Greensock animation package

```yarn add gsap```

### Implement

- Copy `/Cards` directory from [react-playing-cards](https://github.com/listingslab/react-playing-cards)

- Import & Use in an existing component

```bash
import { CardSingle } from '/Cards'

™ should __just work__