Skip to content

Wave glass

Dark hero with blue light rising through fluted glass.

Usage

Usage
import { HeroWave } from '@/components/blocks/hero-section-09'


<HeroWave />


<HeroWave
  brand="Harbor"
  headline={['Ship calmer', 'with your whole team']}
  eyebrow="Now in beta"
  colors={{ accent: '#10b981', highlight: '#a7f3d0', core: '#ecfdf5' }}
  speed={0.7}
  waveAmplitude={1.3}
/>

Install

pnpm dlx shadcn@latest add @pastaui-pro/hero-section-09

Source

Props

Wave glass props
PropTypeDefaultDescription
brand / brandHrefstring= Tideline / #Brand name and link next to the logo mark.
navLinks{ label: string; href: string; active?: boolean; items?: { label: string; href: string }[] }[]= Home, Features, Updates, About UsLinks in the frosted pill. active draws the current-page pill; items turns a link into a dropdown. Collapses to a burger below md.
cta{ label: string; href: string }= Get startedWhite pill on the right of the nav.
eyebrowstring= —Optional small line above the headline.
headlinestring[]= ['Built for teams', 'that move in sync']One entry per headline line.
descriptionstring= One calm workspace…Supporting copy under the headline.
primaryAction{ label: string; href: string }= Get startedOutlined pill with a white arrow chip.
colors{ base?: string; accent?: string; highlight?: string; core?: string }= { base: '#0a0a0a', accent: '#2b7fff', highlight: '#8ec5ff', core: '#eef6ff' }Hex colours for the base, glow, flute highlights and bottom core.
speednumber= 1How fast the wave travels across the flutes.
fluteWidthnumber= 44Flute width in CSS pixels. Narrows automatically on small screens.
waveAmplitudenumber= 1How far the glow swells and recedes. 0 is flat.
classNamestring= —Additional classes for the section.
styleCSSProperties= —Override the --pp-* theme and type variables inline.