A tab list as a pop-up book: the headline stands on the gutter as die-cut v-folds, the hand's height sets the opening angle and each tab turns the page.
Twelve titles a year, every mechanism tested a thousand openings before it is glued.
Cut, scored and folded by hand · 300 gsm card
Use it as the tab list of a hero with two to four sections; every section is one object in spreads, with its pop-up headline, printed copy and call to action. Effects are visual
pieces rather than controls: they do not replace the Interface components in dashboards and forms.
pnpm dlx shadcn@latest add @motionkit-pro/v-foldnpx shadcn@latest add @motionkit-pro/v-foldyarn dlx shadcn@latest add @motionkit-pro/v-foldbunx --bun shadcn@latest add @motionkit-pro/v-foldRequires a Pro license and the @motionkit-pro registry with your token. See Installation.
The files land in components/effects/.
import { VFold } from "@/components/effects/v-fold"
export function Section() {
return (
<VFold
spreads={[
{
tab: "Spring list",
lines: ["Books that", "stand up."],
kicker: "Spring list",
body: "Twelve titles a year, every mechanism tested a thousand openings before it is glued.",
facts: ["12 titles", "From 38 EUR", "Ships in March"],
cta: { label: "See the list", href: "#list" },
aside: "Read the colophon",
figure: "v-fold",
caption: "Fig. 1 V-fold, plan",
},
{
tab: "Workshops",
lines: ["Learn the", "v-fold."],
kicker: "Workshops",
body: "One sheet of card, a scalpel and a bone folder. You leave with a book that opens.",
facts: ["Six people", "Three hours", "Card included"],
cta: { label: "Book a Saturday", href: "#book" },
aside: "See the dates",
figure: "steps",
caption: "Fig. 2 One sheet, three gestures",
},
]}
brand="Linea Press"
className="h-96 w-full"
preset="petrol"
/>
)
}petrol (default): 3 colors, intensity 1.ruby: 3 colors, intensity 0.8.moss: 3 colors, intensity 1.15.temperament (calm, lively, playful) scales speed and strength on top of the preset. An explicit
prop always wins over the preset.
Color props take any CSS color: hex, RGB, HSL or OKLCH.
<VFold
spreads={[
{
tab: "Spring list",
lines: ["Books that", "stand up."],
kicker: "Spring list",
body: "Twelve titles a year, every mechanism tested a thousand openings before it is glued.",
facts: ["12 titles", "From 38 EUR", "Ships in March"],
cta: { label: "See the list", href: "#list" },
aside: "Read the colophon",
figure: "v-fold",
caption: "Fig. 1 V-fold, plan",
},
{
tab: "Workshops",
lines: ["Learn the", "v-fold."],
kicker: "Workshops",
body: "One sheet of card, a scalpel and a bone folder. You leave with a book that opens.",
facts: ["Six people", "Three hours", "Card included"],
cta: { label: "Book a Saturday", href: "#book" },
aside: "See the dates",
figure: "steps",
caption: "Fig. 2 One sheet, three gestures",
},
]}
brand="Linea Press"
className="h-96 w-full"
colors={["#e5f0f7", "#743355", "#2b1b12"]}
/>Prop
Type
A static spread open at 150 degrees; tabs switch without the page turn. The VFold hooks read usePrefersReducedMotion, so the MotionKitProvider setting applies too.
pnpm size).Main spring of each temperament. Set it with the temperament prop or MotionKitProvider; the default is lively.
Not measured yet · budget 18.0 kB gzip
Component and MotionKit helpers; excludes react, react-dom.
pointer movement, click
A static spread open at 150 degrees; tabs switch without the page turn.
Last 2 versions of Chrome, Edge, Firefox and Safari (iOS 16.4+)