Components / Services
Folder
Folders that peek on hover and open into real documents: images, links, files.
Install
npm install @effect79/cardverseUsage
<script src="https://cdn.jsdelivr.net/npm/@effect79/cardverse@1/dist/cardverse.min.js"></script>
<e79-folder-card theme="light">
<script type="application/json">
[
{
"num": "01",
"tab": "Identity",
"title": "Brand System",
"desc": "Logo, type and colour — one source of truth for every launch.",
"tone": "deep",
"color": "#5B4CF0",
"subject": "/img/img/knot.webp",
"meta": [
"12 files",
"Updated 2d ago"
],
"link": "/your/page"
},
{
"num": "02",
"tab": "Campaign",
"title": "Launch Kit",
"desc": "Decks, assets and copy for release day, ready to ship.",
"tone": "paper",
"color": "#FF6A3D",
"subject": "/img/img/slabs.webp",
"meta": [
"8 files",
"Due Fri"
],
"link": "/your/page"
}
]
</script>
</e79-folder-card>import { FolderCard } from '@effect79/cardverse/react';
const items = [
{
"num": "01",
"tab": "Identity",
"title": "Brand System",
"desc": "Logo, type and colour — one source of truth for every launch.",
"tone": "deep",
"color": "#5B4CF0",
"subject": "/img/img/knot.webp",
"meta": [
"12 files",
"Updated 2d ago"
],
"link": "/your/page"
},
{
"num": "02",
"tab": "Campaign",
"title": "Launch Kit",
"desc": "Decks, assets and copy for release day, ready to ship.",
"tone": "paper",
"color": "#FF6A3D",
"subject": "/img/img/slabs.webp",
"meta": [
"8 files",
"Due Fri"
],
"link": "/your/page"
}
];
export default function Section() {
return <FolderCard theme="light" items={items} config={{ /* from the Studio */ }} />;
}// app/page.jsx — a Server Component can render it; the wrapper is a client component
import '@effect79/cardverse/fonts.css'; // once, e.g. in app/layout.jsx
import { FolderCard } from '@effect79/cardverse/react';
const items = [
{
"num": "01",
"tab": "Identity",
"title": "Brand System",
"desc": "Logo, type and colour — one source of truth for every launch.",
"tone": "deep",
"color": "#5B4CF0",
"subject": "/img/img/knot.webp",
"meta": [
"12 files",
"Updated 2d ago"
],
"link": "/your/page"
},
{
"num": "02",
"tab": "Campaign",
"title": "Launch Kit",
"desc": "Decks, assets and copy for release day, ready to ship.",
"tone": "paper",
"color": "#FF6A3D",
"subject": "/img/img/slabs.webp",
"meta": [
"8 files",
"Due Fri"
],
"link": "/your/page"
}
];
export default function Page() {
return <FolderCard theme="light" items={items} />;
}<script setup>
import '@effect79/cardverse'; // registers <e79-folder-card> (once, anywhere in your app)
const items = [
{
"num": "01",
"tab": "Identity",
"title": "Brand System",
"desc": "Logo, type and colour — one source of truth for every launch.",
"tone": "deep",
"color": "#5B4CF0",
"subject": "/img/img/knot.webp",
"meta": [
"12 files",
"Updated 2d ago"
],
"link": "/your/page"
},
{
"num": "02",
"tab": "Campaign",
"title": "Launch Kit",
"desc": "Decks, assets and copy for release day, ready to ship.",
"tone": "paper",
"color": "#FF6A3D",
"subject": "/img/img/slabs.webp",
"meta": [
"8 files",
"Due Fri"
],
"link": "/your/page"
}
];
const config = {}; // from the Studio
</script>
<template>
<e79-folder-card theme="light" :items.prop="items" :config.prop="config" />
</template>// vite.config.js — tell Vue that <e79-…> tags are web components
import { defineConfig } from 'vite';
import vue from '@vitejs/plugin-vue';
export default defineConfig({
plugins: [vue({ template: { compilerOptions: { isCustomElement: (tag) => tag.startsWith('e79-') } } })],
});// nuxt.config.ts — then use the same tag inside <ClientOnly> … </ClientOnly>
export default defineNuxtConfig({
vue: { compilerOptions: { isCustomElement: (tag) => tag.startsWith('e79-') } },
});
// plugins/cardverse.client.ts
import '@effect79/cardverse';
export default defineNuxtPlugin(() => {});<script setup>
const items = [
{
"num": "01",
"tab": "Identity",
"title": "Brand System",
"desc": "Logo, type and colour — one source of truth for every launch.",
"tone": "deep",
"color": "#5B4CF0",
"subject": "/img/img/knot.webp",
"meta": [
"12 files",
"Updated 2d ago"
],
"link": "/your/page"
},
{
"num": "02",
"tab": "Campaign",
"title": "Launch Kit",
"desc": "Decks, assets and copy for release day, ready to ship.",
"tone": "paper",
"color": "#FF6A3D",
"subject": "/img/img/slabs.webp",
"meta": [
"8 files",
"Due Fri"
],
"link": "/your/page"
}
];
const config = {}; // from the Studio
</script>
<template>
<e79-folder-card theme="light" :items.prop="items" :config.prop="config" />
</template><script>
import '@effect79/cardverse'; // registers <e79-folder-card>
const items = [
{
"num": "01",
"tab": "Identity",
"title": "Brand System",
"desc": "Logo, type and colour — one source of truth for every launch.",
"tone": "deep",
"color": "#5B4CF0",
"subject": "/img/img/knot.webp",
"meta": [
"12 files",
"Updated 2d ago"
],
"link": "/your/page"
},
{
"num": "02",
"tab": "Campaign",
"title": "Launch Kit",
"desc": "Decks, assets and copy for release day, ready to ship.",
"tone": "paper",
"color": "#FF6A3D",
"subject": "/img/img/slabs.webp",
"meta": [
"8 files",
"Due Fri"
],
"link": "/your/page"
}
];
const config = {}; // from the Studio
</script>
<e79-folder-card theme="light" {items} {config}></e79-folder-card>import { Component, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import '@effect79/cardverse'; // registers <e79-folder-card>
@Component({
selector: 'app-root',
standalone: true,
schemas: [CUSTOM_ELEMENTS_SCHEMA], // lets Angular accept <e79-…> tags
template: `<e79-folder-card theme="light" [items]="items" [config]="config"></e79-folder-card>`,
})
export class AppComponent {
items = [
{
"num": "01",
"tab": "Identity",
"title": "Brand System",
"desc": "Logo, type and colour — one source of truth for every launch.",
"tone": "deep",
"color": "#5B4CF0",
"subject": "/img/img/knot.webp",
"meta": [
"12 files",
"Updated 2d ago"
],
"link": "/your/page"
},
{
"num": "02",
"tab": "Campaign",
"title": "Launch Kit",
"desc": "Decks, assets and copy for release day, ready to ship.",
"tone": "paper",
"color": "#FF6A3D",
"subject": "/img/img/slabs.webp",
"meta": [
"8 files",
"Due Fri"
],
"link": "/your/page"
}
];
config = {}; // from the Studio
}---
const items = [
{
"num": "01",
"tab": "Identity",
"title": "Brand System",
"desc": "Logo, type and colour — one source of truth for every launch.",
"tone": "deep",
"color": "#5B4CF0",
"subject": "/img/img/knot.webp",
"meta": [
"12 files",
"Updated 2d ago"
],
"link": "/your/page"
},
{
"num": "02",
"tab": "Campaign",
"title": "Launch Kit",
"desc": "Decks, assets and copy for release day, ready to ship.",
"tone": "paper",
"color": "#FF6A3D",
"subject": "/img/img/slabs.webp",
"meta": [
"8 files",
"Due Fri"
],
"link": "/your/page"
}
];
const config = {}; // from the Studio
---
<e79-folder-card theme="light" config={JSON.stringify(config)}>
<script type="application/json" is:inline set:html={JSON.stringify(items)}></script>
</e79-folder-card>
<script>
import '@effect79/cardverse'; // registers <e79-folder-card> in the browser
</script>WordPress, Webflow, Shopify, Framer, Wix: use the HTML tab in a custom-code / embed block. More in the Docs.
Set the look visually: open Folder 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.
| Field | Required | What it does |
|---|---|---|
title | yes | Folder title. |
desc | no | Description. |
tab | no | Tab label. |
num | no | Big number (01…). |
tone | no | deep · paper · tint |
color | no | Folder colour (#hex). |
subject | no | Object image that rises out of the folder. |
meta | no | Up to 3 small chips. |
docs | no | Up to 3 documents: { kind: image | link | file | swatches | type | lines | grid | chart, title, note, media, href, size }. |
link | no | Where the card's call to action goes: /page, https://…, mailto:…. Unsafe URLs are dropped. |
target | no | _blank opens in a new tab. |
cta | no | Button text (a sensible default otherwise). |
video | no | mp4/webm that plays while the card is in focus. Never with reduced motion. |
poster | no | First frame for the video. |
Links & 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.
| Key | Setting | Default | Range / options |
|---|---|---|---|
| Content | |||
cards | CardsHow many folders are shown. | 3 | 1 – 3 |
style | StyleColour treatment of the front pocket. | "mixed" | mixed deep paper tint |
| Shape | |||
silhouette | SilhouetteMorphs smoothly between shapes. | "folder" | folder bookmark ticket tag |
width | Width | 288 | 220 – 380 px |
aspect | AspectWidth ÷ height. | 0.76 | 0.6 – 0.95 |
radius | Corner radius | 24 | 6 – 40 px |
tabWidth | Tab width | 0.44 | 0.24 – 0.72 |
tabHeight | Tab height | 18 | 6 – 34 px |
tabSoft | Tab curve | 26 | 6 – 56 px |
pocketTop | Pocket heightShare of the card covered by the front pocket. | 0.64 | 0.42 – 0.78 |
pocketDip | Thumb notch | 9 | 0 – 20 px |
frosted | Frosted glassBlurs what is behind the pocket. | true | true / false |
blur | Blur | 16 | 2 – 30 px |
peekTilt | Peek tilt | 7 | 0 – 24 ° |
openTilt | Open tilt | 20 | 6 – 50 ° |
| Subject | |||
subject | Show subject | true | true / false |
subjectSize | Size | 0.62 | 0.4 – 1.1 |
subjectRise | Rise | 84 | 0 – 160 px |
subjectSpin | Spin | 8 | 0 – 30 ° |
parallax | Parallax | 14 | 0 – 40 px |
| Documents | |||
docs | Documents | 3 | 0 – 3 |
docPeek | Peek | 14 | 0 – 40 px |
fanSpread | Fan spread | 78 | 0 – 140 px |
fanRotate | Fan rotate | 8 | 0 – 22 ° |
| Motion | |||
response | SpeedTime a move takes to settle. Lower is snappier. | 0.5 | 0.18 – 1.2 s |
bounce | BounceOvershoot. 0 is calm, 0.4+ is playful. | 0.16 | 0 – 0.6 |
stagger | Stagger | 45 | 0 – 140 ms |
lift | Lift | 10 | 0 – 28 px |
tilt | 3D tilt | 6 | 0 – 16 ° |
Theming
theme="light" | "dark" | "auto". Override tokens on the element, e.g. e79-folder-card { --accent: #ff5a36; --bg: #0b0b0f; --e79-font: 'Inter' }. Methods: el.replay(), el.pin('state'). States: idle peek open.