Headers & navigation / Tab bars

Mono Uppercase Feature Tab List with Document Preview

Left vertical list of tab items with white mono uppercase titles and dim mono descriptions; the active item sits on a raised rounded surface. Right shows a bordered document editor with breadcrumbs and cursor flags.

Rebuilt from linear.app/plan in the Obsidian Precision style.

npx shadcn@latest add https://justyoink.it/r/obsidian-precision-5cbef2/blocks/mono-feature-tabs.json

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

Usage

Props: heading, lead, linkLabel, tabs (title/description array), docTitle, project. Clicking a tab moves the raised fill; the collaborator cursor flags pop in on load (250ms, 200ms delay).

components/mono-feature-tabs.tsx
import { useState } from "react";

type Tab = { title: string; description: string };

export default function MonoFeatureTabsDocPreview({
  heading = "Plan your roadmap together",
  lead = "Draft concepts and outline project requirements in live, shared workspace pages.",
  linkLabel = "Pages",
  tabs = [
    { title: "Live co-editing", description: "Write briefs, outlines and notes side by side in a shared realtime editor" },
    { title: "Margin comments", description: "Start threads right next to the paragraph they refer to" },
    { title: "Checklist to tasks", description: "Convert plain checklists into trackable tasks in one step" },
    { title: "Watch a page", description: "Receive alerts when pages change, with clear diffs and replies" },
  ] as Tab[],
  docTitle = "Sprint recap",
  project = "Roadmap Q3",
}: {
  heading?: string;
  lead?: string;
  linkLabel?: string;
  tabs?: Tab[];
  docTitle?: string;
  project?: string;
}) {
  const [active, setActive] = useState(0);
  return (
    <section className="bg-canvas font-sans text-primary px-4 py-16 md:px-12 md:py-24">
      <style>{`@keyframes cf-pop{from{opacity:0;transform:translate(-4px,4px) scale(.9)}to{opacity:1;transform:none}}.cf-pop{animation:cf-pop 250ms linear 200ms both}@media (prefers-reduced-motion:reduce){.cf-pop{animation:none}}`}</style>
      <div className="mx-auto grid max-w-[1344px] gap-8 md:grid-cols-2 md:px-8">
        <h2 className="text-h1 max-w-sm text-[44px] leading-[1.05] tracking-[-0.03em]">{heading}</h2>
        <div>
          <p className="text-lead max-w-md text-xl text-secondary">{lead}</p>
          <a href="#" className="mt-8 inline-flex items-center gap-2 text-ui text-sm text-tertiary hover:text-primary duration-link-color focus-visible:outline focus-visible:outline-2 focus-visible:outline-accent-indigo">
            {linkLabel} <span aria-hidden>+</span>
          </a>
        </div>
      </div>

      <div className="mx-auto mt-16 max-w-[1344px] rounded-md border border-hairline bg-surface p-4 md:p-14">
        <div className="grid gap-10 lg:grid-cols-[360px_1fr] lg:gap-12">
          <div role="tablist" aria-orientation="vertical" className="flex flex-col self-center">
            {tabs.map((t, i) => (
              <button
                key={t.title}
                role="tab"
                aria-selected={i === active}
                onClick={() => setActive(i)}
                className={`rounded-md p-8 text-left duration-hover-fill ease-hover-fill focus-visible:outline focus-visible:outline-2 focus-visible:outline-accent-indigo ${i === active ? "bg-surface-raised" : "hover:bg-surface-raised/50"}`}
              >
                <div className="font-mono text-xs uppercase tracking-wide text-primary">{t.title}</div>
                <div className="mt-2 font-mono text-[11px] uppercase leading-5 tracking-wide text-quaternary">{t.description}</div>
              </button>
            ))}
          </div>

          <div className="overflow-hidden rounded-lg border border-hairline bg-canvas">
            <div className="flex items-center justify-between border-b border-hairline px-9 py-4 text-xs text-tertiary">
              <div className="flex items-center gap-3">
                <span className="inline-block h-3 w-3 rotate-45 rounded-xs border border-tertiary" />
                <span>{project}</span>
                <span aria-hidden>›</span>
                <span>{docTitle}</span>
                <span aria-hidden>☆</span>
                <span aria-hidden>···</span>
              </div>
              <div className="flex gap-3" aria-hidden><span>◔</span><span>∞</span></div>
            </div>
            <div className="px-6 pb-20 pt-12 md:px-17 md:px-[68px]">
              <div className="flex h-10 w-10 items-center justify-center rounded-md border border-hairline bg-surface">
                <span className="block h-4 w-4 rounded-xs border-2 border-primary" />
              </div>
              <h3 className="mt-9 text-xl font-semibold text-secondary">{docTitle}</h3>
              <p className="mt-9 text-[15px] text-tertiary">
                Mar 12, 2026 · <span className="relative">@ana<span className="cf-pop absolute -top-6 left-0 whitespace-nowrap rounded-xs bg-accent-indigo px-1.5 py-0.5 text-[10px] text-primary">ana</span></span> @theo <span className="relative">@kim<span className="cf-pop absolute -bottom-7 left-0 whitespace-nowrap rounded-xs bg-success px-1.5 py-0.5 text-[10px] text-canvas">kim</span></span>
              </p>
              <p className="mt-6 text-[15px] leading-6 text-tertiary">
                We walked through the draft roadmap for the mobile launch, looking at scope and delivery order. The plan holds up overall, but a few items need refinement before kickoff, with vendor dependencies as the main schedule risk.
              </p>
              <p className="mt-5 text-[15px] font-semibold text-tertiary">Next steps</p>
              <ul className="mt-3 list-disc space-y-1 pl-5 text-[15px] text-tertiary">
                <li>Confirm scope for the onboarding flow</li>
                <li>Match tablet layouts to shared components</li>
                <li>Benchmark startup time on older devices</li>
              </ul>
              <p className="mt-12 text-[15px] leading-6 text-tertiary">
                Because of the long weekend, we will meet again early the following week to finish the review.
              </p>
            </div>
          </div>
        </div>
      </div>
    </section>
  );
}

Quality checks

Automated, in a real browser · 4d ago
—

More from Obsidian Precision

The whole style →

Bold Colour Testimonial Cards

Testimonials

Nested Initiatives Table

Tables

Quarterly Roadmap Board

Cards

Blur-In Word Hero with Floating App Window

Heroes

Frosted Hairline Header

Headers & nav bars

Split Headline and Lead Section Intro

Feature sections