🃏 Customizable playing card web component. This web component follows the open-wc recommendation.
npm i paper-card
<script type="module">
import 'paper-card/paper-card.js';
</script>
<paper-card
front="front-img-scr.png"
back="back-img-scr.png"
height="175px"
width="125px"
isDraggable
isFlippable
></paper-card>
To run a local development server that serves the basic demo located in demo/index.html
cd paper-card
npm start