RetroNavigationMenu

A horizontal navigation menu with Mac OS 9 styled triggers and dropdown content panels.

Installation

npx shadcn@latest add "https://nostalgia-ui.com/r/retro-navigation-menu.json"

Setup: installing any component also installs nostalgia-theme (the --os9-* tokens and os9-* utilities) via registryDependencies. To add the theme on its own: npx shadcn@latest add https://nostalgia-ui.com/r/nostalgia-theme.json. Put @layer ui-sdk; above @import "tailwindcss" in your global CSS (why).

Import

import { RetroNavigationMenu } from "@/components/ui/retro-navigation-menu"

Rest on a title, or press Enter on it, to show its links. Moving to the next title keeps the panel and reshapes it around the new links. Tab moves through titles and links like any links on a page, the arrow keys move between them, and Escape closes the panel.

Default