Sections
All-AccessNewAn end-of-season sale hero whose three giant round price stickers are the tier links: the colour is the discount, and the hand lifts the nearest sticker's edge.
Use it as the opening of a sale: a shop with a few discount tiers and an end date, where the hero should already be the way into the goods.
pnpm dlx shadcn@latest add @motionkit-pro/price-dotsnpx shadcn@latest add @motionkit-pro/price-dotsyarn dlx shadcn@latest add @motionkit-pro/price-dotsbunx --bun shadcn@latest add @motionkit-pro/price-dotsRequires an All-Access or Signature license and the @motionkit-pro registry with your token. See Installation.
The files land in components/sections/.
import { PriceDots } from "@/components/sections/price-dots"
export default function Page() {
return <PriceDots variant="trio" />
}trio (default): preview it with ?demo=default.single: preview it with ?demo=single.row: preview it with ?demo=row.Every text, button names included, lives in one typed content prop; keys you leave out keep the demo copy shown above.
<PriceDots content={{ title: "Your title" }} />Prop
Type
Every colour is a prop and takes any CSS colour: hex, RGB, HSL or OKLCH.
<PriceDots
colors={{
wall: "#dceaf4",
first: "#00a680",
second: "#00cde9",
third: "#80e6ff",
ink: "#071e22",
cream: "#ecf7fe",
}}
/>use-prefers-reduced-motion, fx-runtime, motion-presets, motion-kit.stack: columns stack, text first. Vertical scroll is never blocked.
Every sticker lies flat on the paper wall except the second, which keeps a small curl at its upper edge; the counts and the countdown still show their values and links keep their press.
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 sticker lies flat on the paper wall except the second, which keeps a small curl at its upper edge; the counts and the countdown still show their values and links keep their press.
No keyboard interaction of its own.
Last 2 versions of Chrome, Edge, Firefox and Safari (iOS 16.4+)