EFFECT79Cardverse Install free

Components / Services

Expanded Cards

Slivers that open on hover. The image is uncovered from its centre and follows the cursor.

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-expanded-cards theme="light">
  <script type="application/json">
    [
      {
        "kicker": "Chapter 01 · Material",
        "title": "Soft Light",
        "desc": "Matte surfaces that hold colour the way paper holds ink.",
        "icon": "spark",
        "tags": [
          "Material",
          "Study"
        ],
        "media": "/img/img/x3.webp",
        "link": "/your/page",
        "mediaTall": "/img/img/g3.webp"
      },
      {
        "kicker": "Chapter 02 · Form",
        "title": "Quiet Forms",
        "desc": "Rounded volumes built from one radius rule, tuned for touch.",
        "icon": "leaf",
        "tags": [
          "Form",
          "3D"
        ],
        "media": "/img/img/x6.webp",
        "link": "/your/page",
        "mediaTall": "/img/img/g6.webp"
      }
    ]
  </script>
</e79-expanded-cards>

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

Set the look visually: open Expanded Cards 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 (sized for the open card, never stretched).
titlenoTitle.
kickernoSmall line above the title.
descnoDescription.
iconnospark · leaf · wave · grid · bolt · eye · orbit
tagsnoUp to 3 chips.
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
Content
cardsCards53 – 7
orientationDirectionAuto: a row on wide screens, an accordion on narrow ones."auto"auto row column
triggerOpen on"hover"hover click
Shape
heightHeight460280 – 620 px
sliverSliver widthSize of a closed card.8452 – 150 px
gapGap120 – 28 px
paddingPadding2412 – 44 px
radiusCorner radius260 – 44 px
iconSizeIcon size2216 – 40 px
Media
fitPhoto fitAuto fills the open card unless that would crop much of the photo (a tall photo in a wide card); then the whole photo shows over a soft blur of itself."auto"auto cover contain
imageZoomImage zoomClosed cards are zoomed in; the image settles as it opens.1.21 – 1.5
parallaxParallaxThe open image drifts against the cursor.180 – 48 px
shadeClosed shade0.420 – 0.85
Caption
captionDelayCaption delay1600 – 700 ms
captionStaggerLine stagger550 – 160 ms
showDescDescriptiontruetrue / false
Autoplay
autoplayAutoplayOpens the next card on its own; pauses while you hover.truetrue / false
intervalInterval52 – 12 s
progressProgress bartruetrue / false
Motion
responseSpeedTime a move takes to settle.0.620.2 – 1.4 s
bounceBounceOvershoot.0.10 – 0.5

Theming

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

Also for services