Sections
All-AccessNewCanvasClients of a printer of gummed paper tape, Leipzig: six rolls, pull a tail
Use it as the client or logo wall of a business that makes or prints something: each client is a roll of tape printed with their mark, and pulling a tail to the left unrolls it.
pnpm dlx shadcn@latest add @motionkit-pro/gummednpx shadcn@latest add @motionkit-pro/gummedyarn dlx shadcn@latest add @motionkit-pro/gummedbunx --bun shadcn@latest add @motionkit-pro/gummedRequires an All-Access or Signature license and the @motionkit-pro registry with your token. See Installation.
The files land in components/sections/ (gummed.tsx and gummed-marks.tsx, the six default marks).
import { Gummed } from "@/components/sections/gummed"
export default function Page() {
return (
<Gummed
content={{
heading: [
<>
Six shops <em>trust</em>
</>,
"our tape.",
],
lede: "Pull any tail to the left.",
clients: [
{
name: "Northwind",
trade: "coffee by post",
print: "brown on kraft",
href: "/cases/northwind",
ink: "#5b3a1e",
mark: <circle cx="24" cy="24" r="18" fill="currentColor" />,
},
// one entry per client, up to eight read well
],
}}
/>
)
}Every text sits in one typed content prop; each key you pass replaces the default copy (a tape
printer in Leipzig), so pass at least heading, lede and clients.
| Key | Type | Notes |
|---|---|---|
clients | GummedClient[] | One roll each; single prints them all on one tail. |
heading | ReactNode[] | One entry per strip of white tape; <em> is set in the accent italic. |
lede | ReactNode | Line beside the heading. |
listLabel | string | Accessible name of the list. |
counter | [string, string] | Text before and after the metres pulled. |
announce | (metres) => string | Polite announcement once the tape stops. |
keyHint | string | Screen-reader hint on each link (Left arrow pulls). |
describe | (client) => string | Accessible name of a client link, before caseNote. |
caseNote | string | Ends every link name. |
ruleStamp | string | Stamped on the brass rule (hidden below 640 px). |
singleLine | ReactNode | Pencil line under the single tail. |
A client is { name, trade, print, href, ink, mark, tape?, lettering?, width? }. mark is SVG
children in a 48×48 box drawn with currentColor (it is printed in ink); tape is "kraft" or
"white" (default alternating); lettering sets the font of the name printed on the tape.
None: marks are SVG, the paper and the rolls are drawn. Keep marks to solid shapes and strokes of at least 2 units in the 48×48 box: they print small, in one ink, on fibrous paper.
bench (default): six rolls on pegs, pull any tail. Preview it with ?demo=default.single: one wide roll carrying every client in turn. Preview it with ?demo=single.sealed: the tapes stuck across a carton lid, still, no rolls. Preview it with ?demo=sealed.Prop
Type
Every colour is a prop and takes any CSS colour: hex, RGB, HSL or OKLCH. kraft and white are the
two tape stocks, ink and accent the heading inks, steel the rule, engrave its engraving and the
wound layers (the paper fibre takes it too), core the cardboard cores, label the names on the
bench, carton the lid of sealed. Shadows are derived from bench; each client's ink is set in
content.clients.
<Gummed
colors={{
bench: "#2b3440",
kraft: "#c49a6c",
white: "#f3eee4",
ink: "#2741a8",
accent: "#e0452b",
steel: "#c9a95c",
pencil: "#cfd5de",
carton: "#a5784a",
engrave: "#4a3420",
core: "#9b8466",
label: "#f4f1ea",
}}
/>use-prefers-reduced-motion, fx-runtime, section-runtime.aria-hidden); links keep a 44 px tall hit area.stack: below 640 px the rolls shrink to the right edge and the captions run full width. On
touch a roll gives a short tug every 9 s on its own; a tap on a tail pulls it; vertical scroll is
never blocked.
A still bench: rolls and tails at rest. A tap or Left arrow advances the tape one repeat at once with a short fade instead of a coast.
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.
—
A still bench with the rolls at rest; a tap or Left arrow advances a tape one repeat at once, with a short fade.
No keyboard interaction of its own.
Last 2 versions of Chrome, Edge, Firefox and Safari (iOS 16.4+)