Page sections / Changelog

Light Release Notes Header

Light #fbfcfd page with large dark display title 'Release Notes', muted subline and glass email subscribe pill plus 'View demo' button; contrasts with the dark home theme.

Rebuilt from mercury.com/releases in the Twilight Ledger style.

npx shadcn@latest add https://justyoink.it/r/twilight-ledger-0e1ecf/blocks/release-notes-header.json

Looks exactly like mercury.com: brings its fonts and colours, namespaced so your own theme stays untouched.

Usage

Props: title, subtitle, placeholder, subscribeLabel, demoLabel, brand, and onSubscribe(email). Renders standalone on a light #fbfcfd background with nav, title, and glass subscribe pill.

components/release-notes-header.tsx
import { useState } from "react";

export default function LightReleaseNotesHeader({
  title = "Product Updates",
  subtitle = "The newest Northwind releases, fixes and improvements.",
  placeholder = "Enter your email",
  subscribeLabel = "Get updates",
  demoLabel = "View demo",
  brand = "NORTHWIND",
  onSubscribe,
}: {
  title?: string;
  subtitle?: string;
  placeholder?: string;
  subscribeLabel?: string;
  demoLabel?: string;
  brand?: string;
  onSubscribe?: (email: string) => void;
}) {
  const [email, setEmail] = useState("");
  const links = ["Business", "Personal", "Solutions", "Resources", "About", "Pricing"];
  return (
    <header className="relative w-full bg-[#fbfcfd] font-sans text-ink-dark pb-16">
      <nav className="flex items-center justify-between gap-4 px-4 py-4 md:px-8" aria-label="Primary">
        <a href="#" className="flex items-center gap-3 rounded-md focus-visible:outline focus-visible:outline-2 focus-visible:outline-accent">
          <svg width="32" height="32" viewBox="0 0 32 32" fill="none" stroke="currentColor" strokeWidth="1.2" aria-hidden="true">
            <circle cx="16" cy="16" r="14.5" />
            <circle cx="16" cy="16" r="9" />
            <circle cx="16" cy="16" r="3.5" />
            <path d="M16 1.5v8M16 22.5v8M1.5 16h8M22.5 16h8" />
          </svg>
          <span className="text-[18px] font-medium tracking-[0.22em]">{brand}</span>
        </a>
        <ul className="hidden items-center gap-2 lg:flex">
          {links.map((l, i) => (
            <li key={l}>
              <a href="#" className="flex items-center gap-1.5 rounded-pill px-4 py-2 text-[15px] transition-colors duration-hover-wash ease-hover-wash hover:bg-black/5 focus-visible:outline focus-visible:outline-2 focus-visible:outline-accent">
                {l}
                {i !== 1 && i !== 5 && (
                  <svg width="12" height="12" viewBox="0 0 12 12" fill="none" stroke="currentColor" strokeWidth="1.4" aria-hidden="true"><path d="M2 4l4 4 4-4" /></svg>
                )}
              </a>
            </li>
          ))}
        </ul>
        <div className="flex items-center gap-2 text-[15px]">
          <a href="#" className="hidden rounded-pill px-3 py-2 transition-colors duration-hover-wash hover:bg-black/5 sm:block">Log in</a>
          <a href="#" className="rounded-pill bg-black/[0.07] px-4 py-2 transition-colors duration-hover-wash ease-hover-wash hover:bg-black/10">Launch demo</a>
          <a href="#" className="rounded-pill bg-accent px-4 py-2 text-white transition-opacity duration-hover-wash hover:opacity-90">Open account</a>
        </div>
      </nav>

      <div className="mx-auto mt-16 max-w-[1024px] px-6 md:mt-20">
        <h1 className="font-display text-5xl font-medium tracking-[-0.03em] md:text-[64px] md:leading-[1.1]">{title}</h1>
        <p className="mt-3 text-lg text-ink-dark-muted md:text-xl">{subtitle}</p>
        <form
          className="mt-10 flex flex-wrap items-center gap-2"
          onSubmit={(e) => {
            e.preventDefault();
            onSubscribe?.(email);
          }}
        >
          <div className="flex h-12 w-full max-w-[411px] items-center rounded-pill border border-black/5 bg-black/[0.05] pl-5 pr-1 backdrop-blur-[20px]">
            <input
              type="email"
              value={email}
              onChange={(e) => setEmail(e.target.value)}
              placeholder={placeholder}
              aria-label="Email address"
              className="min-w-0 flex-1 bg-transparent text-[17px] text-ink-dark placeholder:text-ink-dark-muted focus:outline-none"
            />
            <button type="submit" className="h-10 rounded-pill bg-accent px-5 text-[17px] text-white transition-opacity duration-hover-wash hover:opacity-90 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent">
              {subscribeLabel}
            </button>
          </div>
          <button type="button" className="h-10 rounded-pill border border-black/5 bg-black/[0.05] px-5 text-[17px] backdrop-blur-[20px] transition-colors duration-hover-wash ease-hover-wash hover:bg-black/10 focus-visible:outline focus-visible:outline-2 focus-visible:outline-accent">
            {demoLabel}
          </button>
        </form>
      </div>
    </header>
  );
}

Quality checks

Automated, in a real browser · 4d ago
—

More from Twilight Ledger

The whole style →

Cinematic Landscape Hero

Heroes

Frosted Transparent Header

Headers & nav bars

Glass Email Capture Pill

Forms

Accordion Feature List with Product Mock

Feature sections

Dark Glass Account Panel Mockup

Media & mockups

Faded Logo Marquee

Marquees & tickers