Hero Wave

A full-height hero on animated waves with a word-by-word headline and a magnetic button.

Open

Installation

Installs the block and every component it uses.

npx shadcn@latest add https://ombakui.com/r/hero-wave.json

Usage

Every prop has a default, so it renders as shown. Pass your own copy and links.

import { HeroWave } from "@/components/hero-wave";

export default function Page() {
  return <HeroWave />;
}

Props

PropTypeDefaultDescription
badgestring–Small label in the pill above the headline.
titlestring–Main headline. Revealed word by word on load.
descriptionstring–Supporting paragraph under the headline.
primary{ label: string; href: string }–Primary call to action.
secondary{ label: string; href: string }–Secondary text link.
colorsstring[]–Wave colors, back to front.
classNamestring–