Skip to content
Browse blocks

A hero for scheduling and calendar products: your team pinned on a live map of day and night. The daylight sweeps across it until everyone is working, and that hour books itself.

Used forTeam scheduling and meeting toolsInterview and recruiting schedulersBooking links and AI calendar assistantsRemote-work and global HR products

Install with the shadcn CLI

$ npx shadcn@latest add @hairline-pro/daylight-hero

A premium block, included with All-Access (see what’s inside). Add the @hairline-pro registry once, with the token from your account settings. Set it up

Templates

Need the whole page?

65 Next.js landing pages, each designed from scratch. Try any of them live; one is $39, all of them $159, and 8 are free.

Where it’s used

  • Team scheduling and meeting tools

    The hero runs the product's whole promise in three seconds: seven time zones, one shared hour, booked.

  • Interview and recruiting schedulers

    A candidate in one zone, a loop of interviewers in others, and the first hour they all share.

  • Booking links and AI calendar assistants

    Shows the product finding the time on its own, instead of a screenshot of a week view.

  • Remote-work and global HR products

    A distributed team on a live map of day and night, in the buyer's own cities.

What it handles for you

Time-zone pictures are usually a flat world map with a few dots on it, or a row of clocks: nothing shows when people are actually awake, and nothing happens.

Instead of wiring upworld map illustrationcalendar screenshottime zone clockshero background videoLottie animation
  1. The real day and night

    A shader draws the terminator from the sun's real declination and position for your date and minute, with a band of dusk and city lights on the night side.

  2. Your team, in real time zones

    Each person's offset comes from their IANA zone on the date, daylight saving included, and the slot is the first one where everyone is inside their working hours.

  3. Books itself on load

    The day sweeps forward to the shared hour in about 2.4 seconds; the slot fills, the meeting lands on it and the attendees get ticks.

  4. Try another hour

    Drag the map to move the sun, drag the schedule or use the arrow keys to scrub the hour; on release it springs back to the booked slot.

  5. Recomposed for phones

    Narrow screens show the band of the world that holds most of your team at a readable scale, with the schedule below the map instead of on it.

  6. Costs nothing when settled

    The map redraws only when the minute changes or the size does, so once the meeting books, nothing runs. Without WebGL the schedule still plays on the plain ground.

Overview

Scheduling heroes usually show a calendar screenshot, which looks like every other calendar. Daylight hero shows the problem the product solves: people in different time zones. The map is the real earth with the real day and night for a date. Your team is pinned where they live, and under the map each person's working hours sit as a bar in your own day. On load the day runs forward from morning. The daylight sweeps west across the map, each pin lights up when that person's working hours start, and a playhead shows everyone's local time. When everyone is working at once, the shared slot fills in and the meeting books: its title and time land on the slot, the attendees get ticks, and a word of the headline is painted in the same green. Visitors can drag the map to move the sun, or drag the schedule to try another hour; when they let go it springs back to the booked slot. The slot, the offsets and daylight saving are all worked out from real time zones, so your own team just works.

States

arrival
The headline and its line rise 14px over 900ms. Once the hero is a quarter in view and the maps have loaded, the earth fades up from the ground over 800ms.
sweep
From 350ms the day runs from 8 hours before the slot to the slot over 2.4s (ease in and out). The terminator sweeps west, pins and rows light as each person's hours start, and the playhead's local times step in 5-minute increments.
booked
The slot's column fills from the top over 620ms, the meeting's tag rises onto it, the attendees' pins get a green ring and a tick, and the painted headline word wipes to green over 950ms.
try another hour
Dragging the schedule sets the hour under the pointer, and dragging the map moves the sun with it (one degree is four minutes). On release a spring brings the hour back to the booked slot.
reduced motion
The hero is drawn booked: the sun at the slot, the column filled, no rise, sweep or wipe. Scrubbing still works and snaps back on release.

Usage

usage.tsx
import { DaylightHero } from "@/components/daylight-hero";<DaylightHero  brand="Overlap"  headline={["Find the hour that", "works for everyone"]}  paint="everyone"  subheadline="Overlap finds the first slot your whole team shares."  primaryAction={{ label: "Start free", href: "/signup" }}  people={[    { name: "Maya", city: "San Francisco", lat: 37.77, lon: -122.42, timeZone: "America/Los_Angeles", hours: [8, 17] },    { name: "Sam", city: "London", lat: 51.51, lon: -0.13, timeZone: "Europe/London", hours: [9, 18] },  ]}  meeting={{ title: "Weekly sync", minutes: 30 }}/>

Depends on lucide-react, installed for you by the CLI along with the keyframes it needs.

A whole first screen

Nav, copy, earth and schedule are one section. Keep the team in a module constant (or memoise it), put the viewer's index in you, and pick a date so the sun and daylight saving match your story.

example.tsx
import { DaylightHero, type DaylightPerson } from "@/components/daylight-hero";const TEAM: DaylightPerson[] = [  { name: "Maya", city: "San Francisco", lat: 37.77, lon: -122.42, timeZone: "America/Los_Angeles", hours: [8, 17] },  { name: "Jordan", city: "New York", lat: 40.71, lon: -74.01, timeZone: "America/New_York", hours: [9, 18] },  { name: "Sam", city: "London", lat: 51.51, lon: -0.13, timeZone: "Europe/London", hours: [9, 18] },  { name: "Lena", city: "Berlin", lat: 52.52, lon: 13.4, timeZone: "Europe/Berlin", hours: [9, 18] },  { name: "Priya", city: "Bengaluru", lat: 12.97, lon: 77.59, timeZone: "Asia/Kolkata", hours: [12, 21] },];export default function Page() {  return (    <main>      <DaylightHero        className="min-h-dvh"        brand="Overlap"        navLinks={[          { label: "Product", href: "/product" },          { label: "Integrations", href: "/integrations" },          { label: "Pricing", href: "/pricing" },        ]}        navAction={{ label: "Get started", href: "/signup" }}        headline={["Find the hour that", "works for everyone"]}        paint="everyone"        subheadline="Overlap reads your team's calendars and working hours in every time zone and books the first slot that suits all of them."        primaryAction={{ label: "Start scheduling free", href: "/signup" }}        secondaryAction={{ label: "See how it works", href: "/how" }}        people={TEAM}        you={2}        meeting={{ title: "Launch review", minutes: 30 }}        date="2026-05-20"        style={{ "--dl-display": "var(--font-display)", "--dl-signal": "#3ddc84" } as React.CSSProperties}      />    </main>  );}

Props

brand
string
Name in the nav.
logo
ReactNode
Mark beside the name. Defaults to a globe half in daylight.
navLinks
{ label: string; href: string }[]
Links in the nav; under 896px they fold into a menu under the bar.
navAction
{ label: string; href?: string; onClick?: () => void }
The light button at the right of the nav.
headline
string | string[]
The headline; an array sets the line breaks.
paint
string
A word or phrase of the headline that the daylight paints in the signal colour once the meeting books.
subheadline
string
One plain sentence about what the product does.
primaryAction / secondaryAction
{ label: string; href?: string; onClick?: () => void }
A signal-coloured button with an arrow, and a quiet one.
people
{ name; city; lat; lon; timeZone; hours: [start, end]; photo? }[]
The team, in the order of the schedule's rows. hours are local working hours (decimals allowed: 8.5 is 8:30); timeZone is an IANA zone.
you= 0
number
Index of the person whose day the schedule shows and whose city labels it.
meeting
{ title: string; minutes?: number }
Booked in the first slot of that length where everyone works (on a 15-minute grid). With no such slot, the one where most people can make it; the others get no tick.
date= "2026-05-20"
string
The day shown (YYYY-MM-DD): sets the sun's height and each zone's daylight saving.
hour12= true
boolean
12-hour times (4:00 PM) or 24-hour (16:00).
maps
{ day: string; lights: string }
Your own day map and city-lights map, equirectangular and cropped to 75.94°N–59.06°S. By default the NASA maps in daylight-hero-earth.ts load on demand.

Accessibility and motion

  • The earth is one WebGL fragment shader at up to 1.5× device pixels. It redraws only when the minute or the size changes, so a booked hero runs no loop at all.
  • The default maps are NASA Blue Marble (May) and NASA Earth at Night, both public domain, shipped as WebP in daylight-hero-earth.ts (about 150 KB) and loaded with a dynamic import after first paint.
  • Colours are --dl-* variables on the section (ground, raise, ink, line, bar, signal, on-signal, and optional --dl-lights for the cities); the shader reads --dl-ground so the map always melts into your ground. They never read your shadcn theme.
  • The schedule is a slider: arrow keys try times in 15-minute steps (Shift for an hour), Enter or Escape returns to the booked slot, and its value text reads the booked meeting and time.
  • Type follows your page font; set --dl-display for the headline and brand and --dl-font for the rest. The examples use Funnel Display and Funnel Sans.
  • Respects prefers-reduced-motion: the hero is drawn already booked, with no sweep, rise or wipe.

Requirements

React 19, Tailwind CSS v4 and shadcn/ui theme variables (any style, light and dark). Icons from lucide-react.

Source

Part of All-Access

Daylight hero is 1,257 lines of finished work.

  • components/daylight-hero.tsx904 lines
  • components/daylight-hero-gl.ts222 lines
  • components/daylight-hero-time.ts118 lines
  • components/daylight-hero-earth.ts13 lines

Installs with npx shadcn add @hairline-pro/daylight-hero, in your theme, light and dark.

$159once, for everything

The 57 paid templates alone are $2,223 one by one.

  • Daylight hero: the source and the CLI install
  • Every premium block: 20 today, and each one we add
  • All 65 Next.js templates, with live demos
  • Commercial license for unlimited client sites
Get All-Access

Guest checkout · Instant CLI token + downloads · 5 more templates and it goes to $169. Full refund within 14 days, until your first download.

Already have All-Access? Sign in to see the source