EFFECT79Cardverse Install free

Components / Story

Focus Reveal

The word you hover stays sharp in brackets; the rest softens. Linked words show a card.

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-focus-reveal theme="light">
  <script type="application/json">
    {
      "text": "Good interfaces feel {inevitable|inevitable}. Every surface knows its weight, every move can be interrupted, and nothing…",
      "cards": {}
    }
  </script>
</e79-focus-reveal>

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

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

Content

An object 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
textyesParagraphs (blank line = new paragraph). Link a word to a card: {word|key}.
cardsno{ key: { title, desc, media, link } } — previews for linked words.
gridno[ { media, title, tag } ] for the Cards mode.

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.

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
modeFocus on"text"text grid
tilesCards84 – 8
widthMax width880420 – 1100 px
Type
fontFont"serif"serif sans mono
sizeSize4018 – 64 px
lineHeightLine height1.31 – 1.9
wordGapWord gap0.02-0.1 – 0.6 em
Focus
blurBlur3.60 – 12 px
dimDim0.320 – 0.85
falloffNeighboursWords next to the focus stay a little sharper.0.40 – 1
fadeFade time4200 – 900 ms
previewWord previewsUnderlined words open a small card.truetrue / false
Frame
frameToneColour"accent"accent ink blue amber
padXPad X70 – 20 px
padYPad Y30 – 16 px
cornerCorner size125 – 26 px
thicknessThickness21 – 4 px
Driving
manualManual focusHold the focus on one word (for screenshots and tuning).falsetrue / false
wordWord80 – 80
autoReadAuto-readWalks the text word by word; hovering takes over.falsetrue / false
wpmReading speed230100 – 500 wpm
Motion
responseSpeedHow fast the frame glides.0.360.15 – 1 s
bounceBounceOvershoot.0.160 – 0.5

Theming

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