Headers & navigation / Headers & nav bars
Pictogram Mega Nav Bar
Full-width black bar with five columns, each a large line-art pictogram (flower, device, square, finder icons) beside a light 26px lowercase title and a stack of tiny 13px sub-links. A Japanese mission-statement text block and a hexagon-nut logo mark close the row.
Rebuilt from teenage.engineering in the Embossed Lab Monochrome style.
Looks exactly like teenage.engineering: brings its fonts and colours, namespaced so your own theme stays untouched.
Restyled to your project: uses your shadcn colours, fonts and radius, so it matches the rest of your app. Layout, type sizes and motion stay as designed.
Usage
Props: brand (use \n for line break), columns (title, icon: flower|device|square|finder, links) and statement (array of text lines). Renders standalone with defaults; sits as a full-width black header.
components/pictogram-nav-bar.tsx
import React from "react"; type Col = { title: string; links: string[]; icon: "flower" | "device" | "square" | "finder" }; type Props = { brand?: string; columns?: Col[]; statement?: string[]; }; const defaultColumns: Col[] = [ { title: "products", icon: "flower", links: ["tools", "kits", "manuals"] }, { title: "store", icon: "device", links: ["visit shop", "basket & pay", "offers"] }, { title: "latest", icon: "square", links: ["bulletin", "journal", "archive"] }, { title: "finder", icon: "finder", links: ["guides & files", "help", "search"] }, ]; function Icon({ type }: { type: Col["icon"] }) { const p = { fill: "none", stroke: "currentColor", strokeWidth: 1.2, strokeLinejoin: "round" as const }; return ( <svg viewBox="0 0 60 110" className="h-[100px] w-[54px] shrink-0 text-on-dark" aria-hidden="true"> {type === "flower" && ( <g {...p}> <circle cx="30" cy="30" r="5" /> <path d="M30 25c-10-18 10-24 10-8 0 8-6 10-10 8zM35 30c18-10 24 10 8 10-8 0-10-6-8-10zM30 35c10 18-10 24-10 8 0-8 6-10 10-8zM25 30c-18 10-24-10-8-10 8 0 10 6 8 10z" /> <path d="M30 40v68" /> </g> )} {type === "device" && ( <g {...p}> <path d="M8 10h44v98H8zM8 24h44" /> <path d="M2 10v14" /> </g> )} {type === "square" && ( <g {...p}> <rect x="2" y="10" width="56" height="96" /> <rect x="8" y="16" width="44" height="84" /> </g> )} {type === "finder" && ( <g {...p}> <path d="M4 10h30v30M4 10l30 30M10 22v-8" /> <circle cx="18" cy="72" r="10" /> <path d="M25 80l14 14" /> <circle cx="44" cy="66" r="12" /> </g> )} </svg> ); } export default function PictogramMegaNavBar({ brand = "open\nworkshop", columns = defaultColumns, statement = [ "私たちは小さな工房です。", "道具と音を通して、", "新しいかたちを探します。", "どうぞごゆっくり。", ], }: Props) { return ( <header className="animate-fade-in w-full bg-canvas text-on-dark"> <nav aria-label="Main" className="mx-auto flex max-w-[1440px] flex-col gap-8 px-6 py-6 lg:flex-row lg:items-start lg:justify-between lg:gap-6" > <a href="#" className="whitespace-pre-line font-display text-[26px] font-light leading-[1.1] focus-visible:outline focus-visible:outline-1 focus-visible:outline-on-dark"> {brand} </a> {columns.map((c) => ( <div key={c.title} className="flex items-start gap-4"> <Icon type={c.icon} /> <div className="flex flex-col"> <a href="#" className="font-display text-[26px] font-light leading-none transition-opacity duration-tile-hover ease-tile-hover hover:opacity-70 focus-visible:outline focus-visible:outline-1"> {c.title} </a> <ul className="mt-5 flex flex-col text-[13px] font-light leading-[1.15]"> {c.links.map((l) => ( <li key={l}> <a href="#" className="hover:underline focus-visible:underline">{l}</a> </li> ))} </ul> </div> </div> ))} <p className="max-w-[130px] text-[8px] leading-[1.3] text-on-dark"> {statement.map((s, i) => ( <span key={i} className="block">{s}</span> ))} </p> <svg viewBox="0 0 140 100" className="h-[100px] w-[140px] shrink-0 text-on-dark" role="img" aria-label="Hexagon nut logo"> <g fill="none" stroke="currentColor" strokeWidth="1.2" strokeLinejoin="round"> <path d="M85 8l32 0 20 42-20 42H85L65 50z" /> <circle cx="100" cy="50" r="17" /> <path d="M5 70l25-40 20 10-10 18 22 10-12 22z" /> </g> </svg> </nav> </header> ); }import React from "react"; type Col = { title: string; links: string[]; icon: "flower" | "device" | "square" | "finder" }; type Props = { brand?: string; columns?: Col[]; statement?: string[]; }; const defaultColumns: Col[] = [ { title: "products", icon: "flower", links: ["tools", "kits", "manuals"] }, { title: "store", icon: "device", links: ["visit shop", "basket & pay", "offers"] }, { title: "latest", icon: "square", links: ["bulletin", "journal", "archive"] }, { title: "finder", icon: "finder", links: ["guides & files", "help", "search"] }, ]; function Icon({ type }: { type: Col["icon"] }) { const p = { fill: "none", stroke: "currentColor", strokeWidth: 1.2, strokeLinejoin: "round" as const }; return ( <svg viewBox="0 0 60 110" className="h-[100px] w-[54px] shrink-0 text-foreground" aria-hidden="true"> {type === "flower" && ( <g {...p}> <circle cx="30" cy="30" r="5" /> <path d="M30 25c-10-18 10-24 10-8 0 8-6 10-10 8zM35 30c18-10 24 10 8 10-8 0-10-6-8-10zM30 35c10 18-10 24-10 8 0-8 6-10 10-8zM25 30c-18 10-24-10-8-10 8 0 10 6 8 10z" /> <path d="M30 40v68" /> </g> )} {type === "device" && ( <g {...p}> <path d="M8 10h44v98H8zM8 24h44" /> <path d="M2 10v14" /> </g> )} {type === "square" && ( <g {...p}> <rect x="2" y="10" width="56" height="96" /> <rect x="8" y="16" width="44" height="84" /> </g> )} {type === "finder" && ( <g {...p}> <path d="M4 10h30v30M4 10l30 30M10 22v-8" /> <circle cx="18" cy="72" r="10" /> <path d="M25 80l14 14" /> <circle cx="44" cy="66" r="12" /> </g> )} </svg> ); } export default function PictogramMegaNavBar({ brand = "open\nworkshop", columns = defaultColumns, statement = [ "私たちは小さな工房です。", "道具と音を通して、", "新しいかたちを探します。", "どうぞごゆっくり。", ], }: Props) { return ( <header className="animate-embossed-fade-in w-full bg-background text-foreground"> <nav aria-label="Main" className="mx-auto flex max-w-[1440px] flex-col gap-8 px-6 py-6 lg:flex-row lg:items-start lg:justify-between lg:gap-6" > <a href="#" className="whitespace-pre-line font-mono text-[26px] font-light leading-[1.1] focus-visible:outline focus-visible:outline-1 focus-visible:outline-foreground"> {brand} </a> {columns.map((c) => ( <div key={c.title} className="flex items-start gap-4"> <Icon type={c.icon} /> <div className="flex flex-col"> <a href="#" className="font-mono text-[26px] font-light leading-none transition-opacity duration-embossed-tile-hover ease-embossed-tile-hover hover:opacity-70 focus-visible:outline focus-visible:outline-1"> {c.title} </a> <ul className="mt-5 flex flex-col text-[13px] font-light leading-[1.15]"> {c.links.map((l) => ( <li key={l}> <a href="#" className="hover:underline focus-visible:underline">{l}</a> </li> ))} </ul> </div> </div> ))} <p className="max-w-[130px] text-[8px] leading-[1.3] text-foreground"> {statement.map((s, i) => ( <span key={i} className="block">{s}</span> ))} </p> <svg viewBox="0 0 140 100" className="h-[100px] w-[140px] shrink-0 text-foreground" role="img" aria-label="Hexagon nut logo"> <g fill="none" stroke="currentColor" strokeWidth="1.2" strokeLinejoin="round"> <path d="M85 8l32 0 20 42-20 42H85L65 50z" /> <circle cx="100" cy="50" r="17" /> <path d="M5 70l25-40 20 10-10 18 22 10-12 22z" /> </g> </svg> </nav> </header> ); }
Quality checks
Automated, in a real browser · today- Accessible: passedNo serious accessibility problems (axe-core): readable contrast, labelled buttons and images.
- Responsive: passedRenders at phone (390px), tablet (768px) and desktop width without sideways scrolling.
- Dark mode: passedStill readable when installed in your theme and switched to dark mode.
- Themeable: passedUses design tokens rather than hard-coded colours, so it follows your theme cleanly.
- Animates cleanly: passedIts animation plays and finishes with everything visible, and it stays still for people who turn on reduced motion.