Headers & navigation / Tab bars

Outlined Pill Anchor Nav

Row of fully rounded outlined pills (Teammates, Model pools, Routines…) with a muted plain link at the end, under a left-aligned large serif page title.

Rebuilt from silico.ai/features in the Moonlit Atelier style.

npx shadcn@latest add https://justyoink.it/r/moonlit-atelier/blocks/feature-pill-nav.json

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

Usage

Props: title, description, pills (array of {label, href}), linkLabel and linkHref for the muted trailing link. Renders standalone with defaults; the title, description and nav fade up on load with a staggered delay.

components/feature-pill-nav.tsx
import { useEffect, useState } from "react";

type Item = { label: string; href: string };

export default function OutlinedPillAnchorNav({
  title = "Each piece of Nimbus, explained in order.",
  description = "A short tour of what every area does, how to put it to work and where it lives. Each walkthrough follows the actual flow.",
  pills = [
    { label: "Workspaces", href: "#workspaces" },
    { label: "Data sources", href: "#data-sources" },
    { label: "Schedules", href: "#schedules" },
    { label: "Connectors", href: "#connectors" },
    { label: "Recipes", href: "#recipes" },
  ] as Item[],
  linkLabel = "Release notes",
  linkHref = "#release-notes",
}: {
  title?: string;
  description?: string;
  pills?: Item[];
  linkLabel?: string;
  linkHref?: string;
}) {
  const [on, setOn] = useState(false);
  useEffect(() => {
    const t = requestAnimationFrame(() => setOn(true));
    return () => cancelAnimationFrame(t);
  }, []);

  const rise = (delay: number) =>
    `transition-all duration-[800ms] ease-[cubic-bezier(0.16,1,0.3,1)] motion-reduce:transition-none ${
      on ? "opacity-100 translate-y-0" : "opacity-0 translate-y-[12px]"
    }` + (delay ? "" : "");

  return (
    <section className="bg-canvas px-6 py-24 md:px-10 md:py-32">
      <div className="mx-auto w-full max-w-[1360px]">
        <h1
          className={`max-w-[900px] font-serif text-[44px] leading-[1.02] tracking-[-0.02em] text-primary sm:text-[64px] md:text-[88px] ${rise(0)}`}
        >
          {title}
        </h1>
        <p
          style={{ transitionDelay: "100ms" }}
          className={`mt-6 max-w-[600px] font-sans text-lg leading-relaxed text-secondary ${rise(100)}`}
        >
          {description}
        </p>
        <nav
          aria-label="Sections"
          style={{ transitionDelay: "200ms" }}
          className={`mt-10 flex flex-wrap items-center gap-2 ${rise(200)}`}
        >
          {pills.map((p) => (
            <a
              key={p.label}
              href={p.href}
              className="rounded-full border border-white/15 px-[15px] py-[8px] font-sans text-sm text-zinc-300 transition-colors duration-[180ms] ease-[cubic-bezier(0.23,1,0.32,1)] hover:border-white/40 hover:text-[#fafafa] focus-visible:border-white/40 focus-visible:text-[#fafafa] focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-white/40"
            >
              {p.label}
            </a>
          ))}
          <a
            href={linkHref}
            className="ml-3 font-sans text-sm text-zinc-500 transition-colors hover:text-zinc-200 focus-visible:text-zinc-200 focus-visible:outline-none"
          >
            {linkLabel}
          </a>
        </nav>
      </div>
    </section>
  );
}

Quality checks

Automated, in a real browser · 4d ago
—

More from Moonlit Atelier

The whole style →

Inline Update Strip

Changelog

Hairline Capability Grid

Lists

Painted Landscape Hero

Heroes

Transparent Minimal Nav Bar

Headers & nav bars

Dark Prompt Composer

Prompt & chat inputs

Perspective Floating App Window

Media & mockups