❍Misprint Hero

Misprint Hero

A hero headline printed as three colour-separation plates that fly in misregistered and spring into register — the cursor pulls the print slightly out of true again.

Installation

▸ Run the following command

npx shadcn@latest add https://www.mellowui.com/r/misprint-hero.json

▸ Or install manually

  1. Install dependencies: pnpm add motion
  2. Copy the source from the Code tab above.
  3. Place it at components/mellow/misprint-hero.tsx
  4. Import and use.

API Reference

PropTypeDefaultDescription
headlinestring—The headline printed in three colour-separation plates.
kickerstring—Small mono line above the headline.
subheadlinestring—Supporting line under the headline.
childrenReact.ReactNode—CTA row rendered under the subheadline.
heightnumber520Hero height in px.
driftnumber7How far the plates drift apart as the cursor moves, in px.
classNamestring—Additional CSS classes.