June 13, 2026/Intermediate/Navigation

Pill Header Overlay

Responsive studio header with pill-shaped buttons. A logo on the left, and on the right an Info toggle that drops a bio overlay, internal nav links, and a Contact popover. Below the md breakpoint it collapses to an Info + Menu pair where Menu opens a dropdown panel. The bar hides on scroll-down and reveals on scroll-up, and a centered status slot appears at lg. Info ↓ / Close ↑ and Menu / Close labels cross-fade in place.

import PillHeaderOverlay from "./index.jsx";
import styles from "./demo.module.css";

export default function PillHeaderOverlayDemo() {
  return (
    <div className={styles.demo}>
      <PillHeaderOverlay />
      <div className={styles.body}>
        <p className={styles.lead}>
          Scroll to hide &amp; reveal the bar. Try Info, Contact, and — at a
          narrow width — the Menu.
        </p>
        {Array.from({ length: 8 }).map((_, i) => (
          <div key={i} className={styles.row} />
        ))}
      </div>
    </div>
  );
}
  • framer-motion

Related Components

3MO AGO
Nav Slide Panelnavigation
3MO AGO
Nav Agency Gridnavigation
3MO AGO
Nav Glassmorphicnavigation