Staaarter

Marquee Launch Hero

A centered coming-soon hero with a giant, low-opacity text marquee looping horizontally behind the content. On top sits a monospace eyebrow, a bold wordmark, a tagline, and a working email-notify form with a success state.

By Staaarter Team
Coming Soon
Docs
Live preview

Docs

Installation

A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its dependencies and any missing npm packages, and installs them straight into your project.

npx shadcn add https://staaarter.com/r/marquee-launch-hero.json

Prefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/coming-soon/comingsoon47.tsx instead.

Usage

The file also exports comingsoon47Demo, the exact props behind the preview above. Spread it to get a working section in one line, then replace it with your own data.

import { ComingSoon47, comingsoon47Demo } from "@/components/blocks/coming-soon/comingsoon47";

export default function Page() {
  return <ComingSoon47 {...comingsoon47Demo} />;
}

Props

PropTypeDefaultDescription
eyebrowstring"(coming soon)"Monospace parenthetical eyebrow.
wordmarkstring"LAUNCHING SOON"Bold foreground heading.
taglinestring"Something new is on the way..."Supporting copy under the wordmark.
marqueeTextstring"COMING SOON"Text repeated in the looping background marquee.
marqueeSpeednumber28Marquee loop duration in seconds, lower is faster.
classNamestringnoneExtra classes for the outer section element.

Behavior notes

  • The marquee is pure CSS: a scoped @keyframes translateX loop on a duplicated, doubled-width text row (aria-hidden, non-interactive), no JavaScript animates it.
  • The marqueeSpeed prop only changes the CSS animation-duration via an inline style, it is not read in any effect or event handler.
  • The email form is the only real client state in this block: submitting sets `submitted` and swaps the form for a success message, nothing is sent over the network.