EFFECT79Cardverse Install free

Components / Proof

Fan Deck

A deck that deals itself: flip cards for results, pull one out, shuffle.

Or drop photos / videos on the demo. They stay in your browser — nothing is uploaded.

Install

Terminal
npm install @effect79/cardverse

Usage

HTML
<script src="https://cdn.jsdelivr.net/npm/@effect79/cardverse@1/dist/cardverse.min.js"></script>

<e79-fan-deck theme="light">
  <script type="application/json">
    [
      {
        "title": "Ember",
        "label": "Brand film",
        "campaign": "Spring ’26",
        "desc": "A 40-second film shot entirely in one warm room.",
        "stat": "2.4M",
        "statLabel": "views",
        "media": "/img/img/g2.webp",
        "link": "/your/page"
      },
      {
        "title": "Quartz",
        "label": "Packaging",
        "campaign": "Spring ’26",
        "desc": "Clear boxes that show the product and hide the plastic.",
        "stat": "−38%",
        "statLabel": "plastic",
        "media": "/img/img/g5.webp",
        "link": "/your/page"
      }
    ]
  </script>
</e79-fan-deck>

WordPress, Webflow, Shopify, Framer, Wix: use the HTML tab in a custom-code / embed block. More in the Docs.

Set the look visually: open Fan Deck in the Studio, change anything, then Copy code. Only changed settings are exported.

Content

A list of rows in the tag's JSON <script>, the items property, or src="content.json". Rows missing a required field are skipped, never break the page; an empty list shows a friendly placeholder.

FieldRequiredWhat it does
mediayesImage.
titlenoTitle.
labelnoLabel.
campaignnoCampaign chip.
descnoText on the back.
statnoResult on the back (e.g. "2.4M").
statLabelnoWhat the stat means.
linknoWhere the card's call to action goes: /page, https://…, mailto:…. Unsafe URLs are dropped.
targetno_blank opens in a new tab.
ctanoButton text (a sensible default otherwise).
videonomp4/webm that plays while the card is in focus. Never with reduced motion.
posternoFirst frame for the video.

Give a row a link and its call to action goes there (on this demo, links point to this section). Add target: "_blank" for a new tab and cta for the button text. Without a link the call to action is hidden — never a button that does nothing. A video (mp4/webm) plays muted and looping while that card is in focus, open or hovered, and never with reduced motion.

Photos that fit every card. Add focus: "30% 20%" to keep a face or product in view when the card crops the photo, and mediaTall (plus videoTall) for a portrait version: each card shows the picture made for its shape, the way streaming apps do. More.

Settings

Pass only what you change, as JSON in the config attribute or the config prop. Every value is validated and clamped.

KeySettingDefaultRange / options
Fan
angleAngleTurn between two cards.8.52 – 20 °
hingeHingeDistance to the point the cards turn around — small = tight fan.760300 – 1600 px
riseFocus rise440 – 90 px
falloffFalloff0.940.6 – 1
reachVisible each side62 – 10
Cards
cardWidthWidth172130 – 240 px
cardRatioHeight ratio1.41.2 – 1.6
cardRadiusCorner radius144 – 24 px
artZoomArt zoom1.081 – 1.6
labelsCorner labelstruetrue / false
chipCampaign chiptruetrue / false
Deck
dealOnStartDeal on startCards are dealt from the pile when the deck appears (and on Replay).truetrue / false
dealSpeedDeal gapTime between two cards while dealing.0.0550.02 – 0.15 s
flipOnClickFlip on clicktruetrue / false
pullOutPull outDrag the centre card up to take it out of the deck.truetrue / false
intervalPlay interval2.21 – 6 s
Motion
responseSpeedTime a move takes to settle.0.50.18 – 1.4 s
bounceBounceOvershoot when a card snaps into place.0.140 – 0.6
sensitivityDrag sensitivity10.3 – 2.5
momentumMomentumHow far a flick carries.10 – 2

Theming

theme="light" | "dark" | "auto". Override tokens on the element, e.g. e79-fan-deck { --accent: #ff5a36; --bg: #0b0b0f; --e79-font: 'Inter' }. Methods: el.replay(), el.pin('state'). States: idle flipped pulled collected.

Also for proof