Launch countdown
A pre-launch section with the launch date and a slot for your waitlist form.
Preview
A live clock counts down, each changed digit dropping in. The clock starts after the page loads, has a pause button, and gives way to a launched line once the date has passed. With reduced motion turned on, it renders the plain layout.
Something new is on the way
One email on launch day, nothing before. Sample copy.
Launching
Something new is on the way
One email on launch day, nothing before. Sample copy.
Launching
Installation
Run this in a project that already uses shadcn/ui. It adds the component and anything it needs; the motion version also adds the plain one and the motion package.
Usage
import { LaunchCountdown } from "@/components/custom/launch-countdown/launch-countdown";
<LaunchCountdown title="Something new is on the way" launchDate="2027-06-01T15:00:00Z">
<WaitlistForm />
</LaunchCountdown>import { LaunchCountdownMotion } from "@/components/custom/launch-countdown/launch-countdown-motion";
<LaunchCountdownMotion title="Something new is on the way" launchDate="2027-06-01T15:00:00Z">
<WaitlistForm />
</LaunchCountdownMotion>Props
| Prop | Type | Default | Description |
|---|---|---|---|
| title* (required) | string | – | Main heading. |
| launchDate* (required) | string | – | ISO date or date-time. A bare date means midnight UTC. Use your real date. |
| children | ReactNode | – | Your waitlist form, or anything else, under the date. |
| titleAs | "h1" | "h2" | "h2" | Use h1 when this is the page's main heading. |
| description | string | – | Line under the heading. |
| badge | string | "Coming soon" | Small label above the heading. |
| ...props | React.ComponentProps<"section"> | – | Any other section attribute (id, aria-*, data-*, ref) goes to the root element. |
| Prop | Type | Default | Description |
|---|---|---|---|
| title* (required) | string | – | Main heading. |
| launchDate* (required) | string | – | ISO date or date-time. A bare date means midnight UTC. Use your real date. |
| children | ReactNode | – | Your waitlist form, or anything else, under the date. |
| titleAs | "h1" | "h2" | "h2" | Use h1 when this is the page's main heading. |
| description | string | – | Line under the heading. |
| badge | string | "Coming soon" | Small label above the heading. |
| ...props | React.ComponentProps<"section"> | – | Any other section attribute (id, aria-*, data-*, ref) goes to the root element. |
| launchedBadge | string | "Live now" | Badge text once the date has passed. |
| launchedMessage | string | "We have launched. Come and have a look." | Line shown instead of the clock once the date has passed. |
Accessibility
- The date is text in a time element, shown in UTC with a fixed locale so server and browser match.
- The motion version follows the visitor's reduced-motion setting and never hides content before it animates.