Skip to content

karan1276/paper-card

Repository files navigation

Paper Card

🃏 Customizable playing card web component. This web component follows the open-wc recommendation.

Generic badge Generic badge

Installation

npm i paper-card

Usage

<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>

Local Demo

To run a local development server that serves the basic demo located in demo/index.html

cd paper-card
npm start

About

Play card web component

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published