Sections
All-AccessNewCanvasE-paper bus-stop timetables (Wellington): release sheets pinned in a glazed case, each faded by its real age; lift a foot to see the unfaded band
Use Fugitive for release notes where age matters: every release is a sheet pinned in a glazed outdoor case and faded by its real age and by the sun on each part of it (magenta goes first, yellow next, cyan holds, black never moves). Each newer sheet covers the foot of the one before; lifting it shows the unfaded band.
pnpm dlx shadcn@latest add @motionkit-pro/fugitivenpx shadcn@latest add @motionkit-pro/fugitiveyarn dlx shadcn@latest add @motionkit-pro/fugitivebunx --bun shadcn@latest add @motionkit-pro/fugitiveRequires an All-Access or Signature license and the @motionkit-pro registry with your token. See Installation.
The files land in components/sections/.
import { Fugitive } from "@/components/sections/fugitive"
export default function Page() {
return (
<Fugitive
content={{
eyebrow: "Tally · release notes",
title: (
<>
What changed, <em>and when.</em>
</>
),
lede: "Old notes fade; the type stays black.",
note: "Each version is printed the day it ships.",
releases: [
{
version: "3.2",
name: "Exports",
date: "2026-10-01",
ref: "TL-0320",
notes: [
{ kind: "added", text: "CSV and PDF exports." },
{ kind: "fixed", text: "Totals no longer round twice." },
],
},
],
}}
/>
)
}today fixes the day the sheets are aged to (ISO date); without it the visitor's clock is read
after hydration, and the server render ages them from the newest release. initialCount sheets are
pinned at first, the rest wait on the sill; stripAge ages the title strip; anchorPrefix prefixes
each sheet's permalink id.
Every text sits in one typed content prop; each key you pass replaces the default copy (e-paper
bus-stop timetables in Wellington).
| Key | Type | Notes |
|---|---|---|
releases | { version, name?, date, ref?, scope?, notes }[] | Newest first; notes are { kind, text }, kind added, changed or fixed. |
eyebrow | ReactNode | Engraved on the case's top rail. |
title | ReactNode | The title strip (h2); <em> is set in italic. |
lede | ReactNode | One line on the title strip. |
note | ReactNode | Small print on the sill, beside the legend. |
kinds | { added, changed, fixed } | The note keywords and the legend. |
kicker | string | Line above a version without scope. |
lift, lower | string | The foot button, up and down. |
liftName | (version, under) => string | Accessible name of the foot button. |
copied | string | Announced when a permalink is copied. |
age | (days) => string | "9 days in the sun". |
older, olderAction, pinned | (count) => string, string, (count) => string | The sill stack of older sheets. |
legend, list, keys | string | Accessible names of the legend and list, and the keyboard hint. |
case (default): every sheet faded by its age and the sun. Preview it with ?demo=default.fresh: every sheet at day zero, in first-day colour. Preview it with ?demo=fresh.blueline: cyan and black only, halftone tints; age shows in the paper. Preview it with
?demo=blueline.Prop
Type
Every colour is a prop and takes any CSS colour: hex, RGB, HSL or OKLCH. paper is the fresh sheet
(keep it light: the type sits on it), ink every word, masthead and rule the printed bands on
the day of printing, cyan the ink that survives, frame the case's aluminium, board the back of
the case, brass the pins. The fade is computed from these colours.
<Fugitive
colors={{
paper: "#f7f4ea",
ink: "#1a1d26",
masthead: "#d2432c",
rule: "#f2d64b",
cyan: "#4aa8d8",
frame: "#46505e",
board: "#24334a",
brass: "#c9a043",
}}
/>use-prefers-reduced-motion, fx-runtime, section-runtime.stack: the sheets hang one under another, each overlapping the foot of the next. On touch screens
a tap on a sheet's foot or its "Lift the foot" button lifts it; vertical scroll is never blocked.
Every sheet hangs faded by its age with its foot lifted a few millimetres; lifting a foot shows the unfaded band at once, without the curl.
pnpm size).Main spring of each temperament. Set it with the temperament prop or MotionKitProvider; the default is lively.
Not measured yet · budget 16.0 kB gzip
Component and MotionKit helpers; excludes react, react-dom.
—
Every sheet hangs faded by its age with its foot lifted a few millimetres; lifting a foot shows the unfaded band at once, without the curl.
No keyboard interaction of its own.
Last 2 versions of Chrome, Edge, Firefox and Safari (iOS 16.4+)