Skip to content

Gallery marquee

Centred hero with an edge-to-edge image card marquee.

Usage

Usage
import { HeroGallery } from '@/components/blocks/hero-section-04'


<HeroGallery />


// Change the copy with props. The images live in hero-section-04.tsx, so edit them there.
<HeroGallery title="Your headline here." onPrimaryClick={() => router.push('/signup')} />

Install

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

Source

Props

Gallery marquee props
PropTypeDefaultDescription
titleReactNode= Short headlineThe main heading.
descriptionstring= Short introductionMuted supporting copy below the headline.
primaryLabel / onPrimaryClickstring / () => void= Start designing / —Blue primary button and its click handler.
secondaryLabel / secondaryHrefstring= See examples / #examplesOutline button link.
note / noteDetailstring= Start for free / No credit card requiredSmall line under the buttons; pass empty strings to hide it.
durationnumber= 90Seconds for one full loop; pauses with reduced motion.
classNamestring= —Additional classes for the section.