❍Woodblock Hero

Woodblock Hero

A woodblock-print sunrise hero — vermillion sun rising behind layered indigo hills, paper-coloured mist between the ridges, and gentle depth parallax as the cursor moves.

Installation

▸ Run the following command

npx shadcn@latest add https://www.mellowui.com/r/woodblock-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/woodblock-hero.tsx
  4. Import and use.

API Reference

PropTypeDefaultDescription
headlinestring—Main headline set over the sky.
kickerstring—Small mono line above the headline.
subheadlinestring—Supporting line under the headline.
childrenReact.ReactNode—CTA row rendered under the subheadline.
heightnumber560Hero height in px.
parallaxnumber1Parallax strength multiplier — 0 disables.
classNamestring—Additional CSS classes.