Skip to content

Hero Planner

Centered hero with a big rounded headline and pill CTAs above a full-width weekly planner mock-up: five day columns with date numbers and pastel task chips (fewer columns on small screens).

soft-flat/section/hero-planner
Open ↗

Source

import { cn } from "@/lib/utils";

export interface HeroPlannerProps {
  title?: string;
  description?: string;
  primaryCta?: { label: string; href: string };
  secondaryCta?: { label: string; href: string };
  week?: { day: string; date: string; tasks: { text: string; tint: "peach" | "mint" | "lavender" | "butter" }[] }[];
  className?: string;
}

const TINT = {
  peach: "bg-da-accent text-da-accent-fg",
  mint: "bg-da-secondary text-da-secondary-fg",
  lavender: "bg-da-primary/12 text-da-fg",
  butter: "bg-da-warning/25 text-da-fg",
} as const;

const DEFAULT_WEEK: NonNullable<HeroPlannerProps["week"]> = [
  {
    day: "Mon",
    date: "6",
    tasks: [
      { text: "Team kickoff", tint: "lavender" },
      { text: "Write brief", tint: "peach" },
    ],
  },
  { day: "Tue", date: "7", tasks: [{ text: "Design review", tint: "mint" }] },
  {
    day: "Wed",
    date: "8",
    tasks: [
      { text: "Client call", tint: "butter" },
      { text: "Fix onboarding", tint: "peach" },
      { text: "1:1 with Ana", tint: "lavender" },
    ],
  },
  { day: "Thu", date: "9", tasks: [{ text: "Ship v2.1", tint: "mint" }] },
  { day: "Fri", date: "10", tasks: [{ text: "Retro 🎉", tint: "butter" }] },
];

/** Centered hero with a big rounded headline and a full-width weekly planner mock-up (five pastel day columns) under it. */
export function HeroPlanner({
  title = "A calmer way to plan your team’s week",
  description = "Drop tasks on days, not in endless lists. Planta shows everyone what’s happening — and what can wait.",
  primaryCta = { label: "Start planning free", href: "#signup" },
  secondaryCta = { label: "Watch 1-min tour", href: "#tour" },
  week = DEFAULT_WEEK,
  className,
}: HeroPlannerProps) {
  return (
    <section className={cn("bg-da-bg pt-20 pb-16 text-da-fg sm:pt-28", className)}>
      <div className="da-container text-center">
        <h1 className="mx-auto max-w-3xl font-da-display text-[clamp(2.5rem,6.5vw,4.5rem)] leading-[1.03] font-extrabold tracking-da-display text-balance">
          {title}
        </h1>
        <p className="mx-auto mt-5 max-w-xl text-lg text-pretty text-da-muted-fg">{description}</p>
        <div className="mt-8 flex flex-wrap justify-center gap-3">
          <a
            href={primaryCta.href}
            className="da-focus da-transition inline-flex h-13 items-center rounded-da-pill bg-da-primary px-7 font-semibold text-da-primary-fg shadow-da-md hover:-translate-y-0.5"
          >
            {primaryCta.label}
          </a>
          <a
            href={secondaryCta.href}
            className="da-focus da-transition inline-flex h-13 items-center gap-2 rounded-da-pill bg-da-surface px-7 font-semibold shadow-da-sm hover:-translate-y-0.5"
          >
            <span aria-hidden className="grid size-6 place-items-center rounded-full bg-da-accent text-[10px] text-da-accent-fg">
              ▶
            </span>
            {secondaryCta.label}
          </a>
        </div>
      </div>
      <div className="da-container mt-16">
        <figure aria-label="Planta weekly planner example" className="rounded-da-lg bg-da-surface p-4 shadow-da-lg sm:p-6">
          <div className="flex items-center justify-between px-1">
            <p className="font-da-display text-lg font-extrabold">This week</p>
            <p className="rounded-da-pill bg-da-surface-2 px-3 py-1 font-da-mono text-xs text-da-muted-fg">Oct 6 – 10</p>
          </div>
          <div className="mt-5 grid grid-cols-2 gap-3 sm:grid-cols-3 lg:grid-cols-5">
            {week.map((d, i) => (
              <div key={d.day} className={cn("rounded-da-md bg-da-surface-2 p-3 text-left", i > 1 && "max-sm:hidden", i > 2 && "sm:max-lg:hidden")}>
                <p className="flex items-baseline gap-2">
                  <span className="font-da-display text-2xl font-extrabold">{d.date}</span>
                  <span className="text-sm font-medium text-da-muted-fg">{d.day}</span>
                </p>
                <ul className="mt-3 space-y-2">
                  {d.tasks.map((t) => (
                    <li key={t.text} className={cn("rounded-da-sm px-3 py-2.5 text-sm font-medium", TINT[t.tint])}>
                      {t.text}
                    </li>
                  ))}
                </ul>
              </div>
            ))}
          </div>
        </figure>
      </div>
    </section>
  );
}

export default HeroPlanner;

modules/soft-flat/section/hero-planner/index.tsx

Props

PropTypeDefaultDescription
title / descriptionstring—Copy.
primaryCta / secondaryCta{ label, href }—Actions.
week{ day, date, tasks: { text, tint }[] }[]—Planner data (tint: peach | mint | lavender | butter).
classNamestring—Classes.

Other hero variants in Soft Flat

Hero in other art directions

Hero Poster

Poster-style centered hero: gigantic stacked headline alternating solid and outlined words, colored feature stickers scattered around it, two pressable CTAs and a ruled wordmark strip of customer logos.

BrutalistHero

Hero Signup

Conversion hero with the signup form in the fold: headline with a blue highlighted phrase, boxed email capture with pending/success states, checkmark reassurance list and three staggered colored step cards.

BrutalistHero

Hero Stacked

Split hero with a huge stacked uppercase headline (one line boxed in yellow), two pressable CTAs, a stats strip and a changelog window mock with a rotated sticker.

BrutalistHero

Hero Terminal

Developer-first hero: full-width uppercase headline, copyable install command button, and an ink terminal window that replays a git merge → publish session line by line with a blinking yellow cursor.

BrutalistHero

Hero Centered

Centered hero over the mesh: frosted badge, headline with gradient-text ending, gradient + frosted CTAs, then a wide glass ‘live call’ window with four video tiles, live transcript and an AI capture chip.

GlassHero

Hero Mesh

Split hero over the glass mesh: frosted announcement pill, headline with gradient-text second half, gradient + frosted CTAs, and a layered composition of glass cards (AI meeting recap, floating video update, recording pill) gently bobbing.

GlassHero

Hero Stack

Split hero with a fanned 3D stack of three glass cards (AI recap, async video, synced tasks) tilted in perspective, spreading apart with a spring on hover.

GlassHero

Hero Waitlist

Minimal waitlist hero with a central glow: badge, big headline, a glass pill email form with gradient submit (pending, success, error states) and a stack of gradient avatars with the waitlist count.

GlassHero

Hero Cli

Developer-first centered hero on a dotted grid: version badge, headline, an install command field with copy-to-clipboard, a docs button and a terminal window showing the command output.

MinimalHero

Hero Glow

Centered hero with announcement pill, gradient-ink headline, two CTAs, a single soft indigo glow over a masked hairline grid, and an HTML product window (incident list) fading out at the bottom.

MinimalHero

Hero Metrics

Editorial left-aligned hero with an oversized tight headline, copy and CTAs on one baseline, a row of three hairline-separated mono metrics and a text wordmark strip of customers.

MinimalHero

Hero Split

Two-column hero: eyebrow, headline, copy, checklist and two CTAs on the left; on the right a hairline card showing a live incident timeline with colored status dots and a resolved badge.

MinimalHero

Hero Browser

Split hero: copy on the left, a large monochrome browser frame on the right showing a mock studio portfolio (nav, giant name, image grid with mono captions) and a signal-dot “Published” badge.

Mono CleanHero

Hero Giant

Type-led hero: a mono label, an enormous tightly-tracked headline across the full width, then a 12-col row with copy + ink button on the left and mono key facts on the right, over a full-bleed gray image frame with caption.

Mono CleanHero

Hero Grid

Visible-grid hero: hairline 12-column guides behind the content, headline + copy + ink CTA in the left columns, and a ruled index list of featured templates on the right whose rows invert on hover.

Mono CleanHero

Hero Statement

Quiet manifesto hero: a single large statement set in the display face with generous line height and an orange signal dot after a key word, bottom-anchored mono footnotes and a scroll cue; nearly full-height.

Mono CleanHero

Hero Band

Stripe-style hero on a deep blue gradient band with a slanted bottom edge: headline and CTAs on the left, a stacked pair of payment UI cards (invoice + payment success) on the right.

Neo CorporateHero

Hero Dashboard

Split hero: eyebrow, strong headline, copy, blue + bordered CTAs and a compliance line; on the right a finance dashboard mock (KPIs, bar chart, invoice table).

Neo CorporateHero

Hero Demo

Enterprise demo-request hero: copy + check bullets + quote on the left, a bordered lead form (name, work email, company, size, submit) with validation-ready fields and success state on the right.

Neo CorporateHero

Hero Proof

Centered proof-first hero on a faint grid: announcement badge, headline, CTAs, a four-stat bordered strip and a customer wordmark row.

Neo CorporateHero

Hero Arch

Split hero: eyebrow with sprout icon, large serif headline with an italic sage highlight, calm copy, pill CTAs; on the right a tall arch-topped illustration (sun + rolling hills) with a floating stat chip.

Organic SoftHero

Hero Centered

Centered serif hero floating over two soft organic blobs (sage and clay), a hand-drawn underline under the italic highlight, pill CTAs and a row of three calm stats.

Organic SoftHero

Hero Editorial

Magazine-style hero: oversized serif headline across the width with an italic line, a collage of three organic shapes (arch, circle with leaf, pebble) and a pull-quote column; scroll cue.

Organic SoftHero

Hero Footprint

Product hero: copy + CTAs on the left, a soft rounded footprint card on the right with a donut chart of emissions by source, legend with percentages and a gentle “biggest lever” tip.

Organic SoftHero