Sections
All-AccessNewCanvasA working bag drawn as a bunch of flowers being wrapped: every stem in the cart is in the bunch, the hand gathers them, and the twine wound round the stems is the free-delivery meter.
Use it for the bag or cart step of a shop, after the product page, when the order itself can be drawn: quantities you can see, a free-delivery threshold and a delivery slot.
pnpm dlx shadcn@latest add @motionkit-pro/bunchednpx shadcn@latest add @motionkit-pro/bunchedyarn dlx shadcn@latest add @motionkit-pro/bunchedbunx --bun shadcn@latest add @motionkit-pro/bunchedRequires an All-Access or Signature license and the @motionkit-pro registry with your token. See Installation.
The files land in components/sections/.
import { Bunched } from "@/components/sections/bunched"
export default function Page() {
return <Bunched items={ITEMS} variant="bunch" />
}bunch (default): preview it with ?demo=default.rows: preview it with ?demo=rows.posy: preview it with ?demo=posy.Every text, button names included, lives in one typed content prop; keys you leave out keep the demo copy shown above.
<Bunched items={ITEMS} content={{ title: "Your title" }} />Prop
Type
Every colour is a prop and takes any CSS colour: hex, RGB, HSL or OKLCH.
<Bunched
items={ITEMS}
colors={{
bench: "#ecf5fb",
wrap: "#c5e7da",
blush: "#a4deda",
coral: "#00bb9d",
lime: "#a6c9ff",
cosmos: "#008e38",
gum: "#a37693",
stalk: "#68559b",
twine: "#7ebcd0",
ink: "#182704",
}}
/>use-prefers-reduced-motion, fx-runtime, motion-presets, motion-kit, section-runtime.stack: columns stack, text first. Vertical scroll is never blocked.
The bunch lies still with its twine already wound; stems appear and leave by cross-fade and the totals change without rolling.
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, motion.
—
The bunch lies still with its twine already wound; stems appear and leave by cross-fade and the totals change without rolling.
No keyboard interaction of its own.
Last 2 versions of Chrome, Edge, Firefox and Safari (iOS 16.4+)