Navigation components: sidebars, navbars, tab bars/docks, menus, command palettes
Study of UI Elements > Sidebars (56), Navigation Bars (45), Tab Bars and Docks (33), Menus and Command Bars (72) = 206 designs (about 150 are videos, so motion is the point), plus the tag
Command menu(61 designs total, 23 in Menus),Mega menu(113, but mostly Sites hero/landing pages),Tab bar(121),Dynamic islandin titles (21). The catalogue is a showcase of micro-interactions: ~90% of these carryMicro interaction; the static-layout question (what goes in the sidebar) is rarely the subject. What it teaches well: morphing containers, indicator physics, collapse/expand choreography, submenu hover-intent, command-palette anatomy, floating-pill navigation. What it does NOT show: real information architecture, mobile-web hamburger patterns, a11y (nothing is labelled; see "A11y baseline" below, marked[inferred]best practice).
How to find them
python3 scripts/uic.py search --section "UI Elements" --category "Sidebars"
python3 scripts/uic.py search --section "UI Elements" --category "Navigation Bars" --tag "Floating elements"
python3 scripts/uic.py search --section "UI Elements" --category "Tab Bars and Docks" --tag iOS
python3 scripts/uic.py search --section "UI Elements" --category "Menus and Command Bars" --tag "Command menu"
python3 scripts/uic.py search "context menu" --section "UI Elements" # 16 in-category phrase hits
python3 scripts/uic.py search "dynamic island" --limit 25 # island-style morphing pills
python3 scripts/uic.py search "table of contents" --section "UI Elements" # scrollspy / floating TOC
python3 scripts/uic.py strip <ID> --frames 8 --cols 4 # ALWAYS strip the video before copying a motion
python3 scripts/uic.py screens "sidebar" --platform web # 1,011 real app screens; "tab bar" 88; "command palette" 35; "context menu" 185
Related: index/categories/UI-Elements/{Sidebars,Navigation-Bars,Tab-Bars-and-Docks,Menus-and-Command-Bars}.md. Search-input styling is in the Search Bars category, not here.
What dominates (quantitative)
- Sidebars (56): 61% light, 39% dark; 55% landscape / 36% square.
Documentationlift x22.8,Docs page14%,Dashboard38%,Saas48%,Developer tools29%,Settings9%. 70%Micro interaction, 36%Hover effect, only 9%Drag interaction. 86%Minimal, 66% white, 59% gray. Mono type 9% (docs/dev sidebars). - Navigation Bars (45): 91% landscape, 47%
Floating elements, 53%Centered, 38%Morphing, 56%Hover effect, 29%Dropdown, 18%Glassmorphism, 13%Mega menu, 49% dark. 33%Design tools(a lot are Framer/Figma-community concepts), 64% haveButtons. - Tab Bars and Docks (33): 97%
Tab bar, 64%Floating elements, 48%Morphing, 79%Icons, 58% dark, 36%iOS, only 24%Desktop(macOS dock), 24%Tooltip, 18%Glassmorphism(Liquid Glass wave: 5 designs). Median clip 11 s. - Menus and Command Bars (72): 57%
Dropdown, 32%Command menu(23 designs), 24%Search bar, 71%Micro interaction, 46%Hover effect, 46% dark, 33%Desktop, 28%Design system, 10% mono type, 10%Blur effect. Phrase counts: "context menu" 16, "command bar" 7, "dropdown menu" 6. Mega menutag is misleading: 113 designs carry it, 86% areLanding page+HeroSites (Sites/SaaS 25, Fintech 21, AI 17); only 6 are in Navigation Bars. For a real mega-menu reference use 01M4WX60S… and 01M4Y2JT3…, not the tag.- Dark vs light: nav that is a floating overlay (pill, dock, palette) skews dark (49-58%); fixed-edge sidebars skew light (61%). Across all four categories, gray/white/black are >95% of colour; accent colour appears only on the single active indicator (orange-red pill in 01M4QKM7Q…, blue in 01M4XA9QE…).
Pattern cards
Collapse-to-rail sidebar (the default sidebar)
- Looks like: 240-280px wide panel on a slightly tinted gray (#ECEBE8-ish) with the main canvas as a white rounded-corner (~12-16px) card beside it; header = logo left, panel-toggle icon right; search field; section labels (11-12px, muted); icon+label rows ~32-36px tall; active row = white pill with soft shadow (not a fill colour). Collapsed = 48-56px icon rail, same icons, same order, labels gone, section labels become hairline dividers, search becomes an icon 01M4QK9F2…. Dark variants invert (near-black panel, row hover
rgba(255,255,255,.06)) 01M4XJY65…. - Use when / signals: SaaS, admin, AI chat, dev workspace (
Sidebar,Icons,Saas,Dashboard). Ref in-category phrases "collapsed icon" and "sidebar interaction". - Build notes: one
<nav>withwidthanimated 260 -> 56px via CSStransition: width 200-250ms cubic-bezier(.2,.8,.2,1); labelsopacity0 in the first ~100ms andoverflow:hidden; white-space:nowrap(never let labels wrap mid-animation). In 01M4QK9F2… the frames show the toggle button gets a hover tint, the logo+search row reflows into a single icon column with no jump, and the content card slides left in lockstep (animate the grid column,grid-template-columns: var(--sb) 1fr). Persist state; keyboard shortcut[orCmd+Bfor collapse; show a tooltip with the label on rail icons (see Tooltips in overlays.md). Mobile: below ~768px convert to off-canvas drawer. - Pitfalls: toggling width with
display:nonelabels causes layout jump; rail icons need accessible names (aria-label) because labels disappear; don't collapse to a rail AND hide the toggle. - Refs: 01M4QK9F2… Sidebar collapse; 01M6ECKV2… Collapsible Sidebar Expand and Collapse; 01M4Z6S9T… Collapsible Desktop App Sidebar; 01M4XYKAF… Nova; 01M4ZVX1G… Collapsed and Expanded states.
Floating / overlay sidebar (macOS-style peek)
- Looks like: same list but detached: inset ~8px from window edge, ~12-16px radius, own shadow, content canvas stays full width underneath; toggled by a sidebar-glyph button at the window's top-left (next to traffic lights). Collapse = the panel slides fully off; the glyph button stays as a lone icon 01M4YZ5CN…. "Island" variant: collapsed sidebar re-appears as a compact floating card on hover at left edge 01M4WN1PX….
- Use when: document/canvas/chat apps where content width matters (
Desktop,Minimal). - Build notes:
transform: translateX(-100%)+ opacity, 220-280ms ease-out; hover-edge trigger zone ~8-12px wide with ~150ms intent delay; do not push content when floating; addbox-shadow: 0 8px 30px rgba(0,0,0,.12). Reopen glyph should sit where the panel header's toggle was so the pointer does not travel. - Pitfalls: edge-hover reveal with no intent delay flickers; keep Esc / click-outside to close in overlay mode.
- Refs: 01M4YZ5CN…; 01M4YD36N… traffic-light collapse; 01M502N1D… YouTube floating sidebar; 01M507KT9… Claude sidebar.
Two-level rail + flyout (module switcher)
- Looks like: 40-48px black icon rail at far left (module icons), second panel (~160-200px) with that module's items, then content card; or hover-only flyout panel over the content. Rail icons highlight in a rounded square; second panel title = module name; breadcrumb in content header 01M4QHGK7…, 01M4WWDGK….
- Use when: enterprise suites with 8+ modules (HR, finance, analytics).
- Build notes: rail hover opens flyout after ~100ms; flyout slides in from the rail edge (x -8 -> 0, ~180ms) and closes with a fade (~120ms) after selection (frames show a ghost/fade-out when an item is picked). Number keys switch modules: 01M4WWDGK… shows a
Cmd+2 / Cmd+3 / Cmd+5 / Cmd+7 / Cmd+8key-cap overlay (bottom-right, ~52px translucent rounded square, 24px glyph) and[to collapse - demonstrating shortcuts by showing the pressed key is a recurring catalogue device. Switching modules is instantaneous (no slide), only collapse animates. - Pitfalls: flyout must not close when the pointer crosses the 1-2px gap between rail and panel (use the safe-triangle /
pointer-eventsbridge, see Submenu card). - Refs: 01M4QHGK7… Rail flyout; 01M4WWDGK… keyboard navigation; 01M501EK5… Chat History Drawer and Navigation Rail; 01M4X30Z0… Starline states + responsive variations.
Tree / nested sidebar (docs, files, layers)
- Looks like: indentation ~12-16px per level with a faint vertical guide line or dotted guide, chevron rotating 90deg, folder/file icons, mono type for file trees; drag to reorder pins with a lifted row and an insertion line 01M4QJKBM…; docs variant is a dark panel with uppercase 11px section labels ("PLATFORM OVERVIEW", "SEND DATA") and a 2px active left bar or highlighted row 01M4ASJC3…, 01M50VBFW….
- Build notes: expand/collapse height via
grid-template-rows: 0fr -> 1fr(~200ms) so children don't need measured heights; chevron rotate 150ms; stagger children by ~20ms for polish; active path highlighted all the way up; single column, scroll inside panel with a sticky search header. Drag-reorder:translateYfollows pointer withscale(1.02)+ shadow, siblings shift using FLIP. - Pitfalls: auto-expanding every ancestor on load is correct but expanding on hover is not; keep tree keyboard model (arrow keys,
aria-expanded). - Refs: 01M4Y7AM0… nested submenus; 01M4XW6RA… template tree; 01M50A7H3… animated file tree; 01M50TA18… layer tree; 01M4YB03K… session tree; 01M4ZS0P5… CSS-grid accordion.
Scrollspy table of contents (right-rail / floating)
- Looks like: sidebar of page headings, current section brighter, others dimmed ~40%; dots or short dashes marking levels 01M4X27JR…; "Contents" overlay list on black with large type 01M4WZGJ4…; a bottom-centre floating black pill (~190px wide, 32px tall) with a radial progress ring and the current section title that expands upward into the full TOC card on click/hover 01M4ZMDP3…, 01M4YBS2C….
- Build notes:
IntersectionObserverwithrootMargin: "-20% 0 -70% 0"picks the active heading; indicator is a single absolutely-positioned element moved withtransform(not per-item class swaps); pill->card expand = width/height/radius morph (~300ms spring, radius 999px -> 16px), content crossfades; reading-progress ring = SVGstroke-dashoffsetbound to scroll. Section title swaps with a vertical text roll (~200ms). - Pitfalls: don't hide the pill while scrolling up (the catalogue's pills stay); TOC links need real anchors.
- Refs: 01M4ZTZPZ… scrollspy; 01M4WJHXB… paper-airplane TOC; 01M4X17XX… interactive documentation sidebar.
Floating pill navbar (top, centered)
- Looks like: centered pill 40-48px tall, width hugging content (5 links ~ 480-560px), radius 999px, fill near-black
#141414at ~85% or frostedrgba(255,255,255,.6)+backdrop-filter: blur(12-20px), 1px inner borderrgba(255,255,255,.08), 8-24px from the top; 13-14px medium-weight labels, 6-8px gaps; active link = filled sub-pill (white on dark or accent) 01M4X7X0Y…, 01M4XA9KB…. - Use when / signals:
Floating elements+Centered+Navigation(47% of Navigation Bars); portfolio, agency, AI-product marketing. - Build notes:
position: fixed; top: 16px; left: 50%; transform: translateX(-50%). Active indicator is ONE absolutely-positioned element that animatesxandwidthbetween items (Framer MotionlayoutId), ~250-350ms spring (stiffness ~300-400, damping ~30): 01M4QKM7Q… "Moving nav pill" is the clean orange-red example (it also splits the bar into two grouped capsules, 6px gap). Announcement variant: a second blue capsule ("NEW - 240 new listings from 18 makers" with a close x) hangs under the bar, typing in via width expansion, and both share the same horizontal axis 01M4XA9KB…, 01M4XNEGQ…. Scroll behaviour: pill shrinks/hides on scroll-down, returns on scroll-up or idle 01M4ZAST1…, 01M4Z83QB…. - Pitfalls: a centered pill has no room for 8+ links or a CTA on mobile - collapse to logo + menu button under ~640px; make sure it clears content with page
padding-top; the dark pill over a dark hero disappears without the 1px border. - Refs: 01M4QKM7Q… Moving nav pill; 01M4X7X0Y… Minimal Floating Navigation Bar Light and Dark; 01M4ZAST1… Collapsible Floating Navbar; 01M4XXVZW… Two-Step Expanding; 01M4ZT5HA… Editorial Floating Menu; 01M4X8YM5… Floating Pill Menu Dynamic Expansion.
Morphing nav container (pill -> panel)
- Looks like: one rounded container that is a bar at rest and resizes into a dropdown / notification list / search field / mega panel, its outline animating rather than a new surface appearing. Examples: nav stretches into an inline search input and then a notifications list inside the same glass shell, active tab gains a text label while others stay icon-only 01M4QKAWR…; dock unfolds into sub-menu cards 01M4QJJF6…; cross "options" button turns plus into x while radiating actions 01M4QKMHX…; dropdown pane under a dark pill takes its width from the hovered link and slides sideways between triggers 01M4XE2SX…, 01M4WSYWY….
- Build notes: animate
width/height/border-radiusof one shared container (Framerlayoutor View Transitionsview-transition-name), content inside crossfades with ~80ms offset andfilter: blur(4px) -> 0. Spring ~{stiffness: 380, damping: 32}(~350-450ms visual). Keep a single hover "bridge" so moving between triggers morphs the pane instead of closing/reopening (the dropdown slides, it doesn't re-enter). Pane shadow0 10px 40px rgba(0,0,0,.25); radius 16-20px. - Pitfalls: animating
height:autowithout measuring; blur-in on text that must stay legible; mobile has no hover - give triggers a tap behaviour. - Refs: 01M4QKAWR… Nav that stretches; 01M4XE2SX… Floating Pill Navbar with Morphing Dropdown; 01M4WNW45… Morphing Glassmorphism Dropdown; 01M4XTPEP… PlayStation XMB web nav; 01M4QDSR3… Expanding nav.
Mega menu (hover panel under the header)
- Looks like: full-width or content-width panel below the header, 2-4 columns: left column of text links with 1-line descriptions, right column an image/preview card that swaps when you hover a left item (Canyons / Forests / Mountains each changing the image) 01M4WX60S…; two-card variant (image cards with title + 1 line) [same, frame 2]; dark glass panel on photo hero, radius ~16px, 1px light border. SaaS version: product list with 24px icon tiles + descriptions + featured card 01M4WY43G…, 01M4ZHF1C….
- Build notes: open on hover-intent (~80-120ms) and close with ~150-200ms grace + safe-triangle; panel enters
opacity 0->1, y -6->0, scale .98->1~180ms; switching between triggers slides/morphs panel size instead of replacing; image swap crossfade ~200ms. Anchor panel withposition:absolute; top: calc(100% + 8px); make triggers real<button aria-expanded>and the panel reachable by Tab (don't rely on hover only). - Pitfalls: hover-only panels fail keyboard/touch; flicker when pointer crosses gaps; mega panels that cover the page and also dim it (don't dim; dimming is for modals).
- Refs: 01M4WX60S… Morphing Mega Menu Dropdown; 01M4Y2JT3… Animated Mega Menu Navigation Dropdown; 01M4VK254… Mega Menu Animation; 01M4XPC7W… Minimalist E-Commerce Mega Menu.
Floating tab bar (mobile bottom)
- Looks like: rounded capsule inset ~12-16px from screen edges and ~20-34px above the home indicator; 3-5 icons (22-24px) at ~56-64px pitch; active tab = filled pill that grows to include a text label while others stay icon-only, colour-coded per tab (Inbox blue, Planner pink, Alerts red) 01M4XA9QE…; separate circular FAB/"+" or avatar button sits beside the capsule 01M4VPSFG…, 01M4Y5RNC…. Dark mode capsule
rgba(30,30,32,.8)+ blur; light = white at ~90% with soft shadow. - Build notes: the label expands via width +
opacity(200-300ms spring); neighbours shift, no overlap; badge dot top-right of icon (8px, accent). Active-icon micro-motion (isometric home that lifts and swaps, particles dissolve between icons) is decoration: 01M4XQWBR…, 01M50H5S5…. Keep hit targets >= 44px even when the visual pill is smaller. Respectenv(safe-area-inset-bottom). - Pitfalls: icon-only inactive tabs fail discoverability beyond 4 items; text label fades in too late = layout looks broken for ~100ms (fade text in at the end of the width tween).
- Refs: 01M4XA9QE… Expanding Floating Tab Bar; 01M4WM3D1… Animated Floating Tab Bar; 01M4ZXBS3… Floating Pill Tab Bar States; 01M4Y5KS9… Interactive Bottom Tab Bar; 01M50VBPV… Linear-inspired mobile bottom tabs.
Tab bar that morphs into an action menu / profile switcher
- Looks like: the "+" (or avatar) button on the right of the tab capsule opens a panel anchored to the bar: a 4-column grid of 56px rounded-square tool buttons with 10px labels (Trim, Crop, Enhance, Text...) while "+" rotates into "x" 01M4YJGNZ…; or the whole bar becomes a status picker (avatar chip expanding to "rit3zh - Online", then a small popover Online / Idle / Do Not Disturb / Invisible with coloured dots) 01M4X26MR…; or a search button detaches, slides across and re-merges into the pill (Liquid Glass) 01M6GZ8HT…, 01M8D7B1C….
- Build notes: panel enters from the bar's footprint (
transform-origin: bottom right, scale .6 -> 1, opacity, ~280ms); icons stagger 15-25ms; exit is a fast fade withblur(6px)(~150ms). Background does NOT dim in these (the bar stays interactive) - add dim only if the menu is modal. - Refs: 01M4YJGNZ…; 01M4X26MR…; 01M4ZP5T5… Morphing Glass Bottom Toolbar; 01M4YWQ3B… Dynamic Action Bar.
Hide-on-scroll / shrinking tab bar
- Looks like: glass bar over an app grid; on scroll it collapses into a ~36px avatar/home button at left and re-expands (spring) when scrolling stops or reverses 01M4ATND5…. Same idea as the iOS-26 minimised tab bar.
- Build notes: direction + velocity threshold (~8-12px) from a scroll listener; collapse 220ms ease-in-out, expand with overshoot spring (damping ~18). Keep one icon visible so the user can always get back.
- Refs: 01M4ATND5…; 01M4Z83QB… header version.
macOS-style dock with magnification
- Looks like: translucent rounded shelf, app icons 48-64px at rest, magnified up to ~1.6-2x under the cursor with neighbours falling off smoothly; label tooltip above; running-dot below 01M4WWCSX…, 01M4WVE3Z…, 01M4XMHEH… (spring bounce on click).
- Build notes: scale = f(distance from pointer x) with a gaussian/cosine falloff over ~3 icon widths; set
transform-origin: bottom; drive withuseMotionValue/useTransformand spring (stiffness ~150-170, damping ~12-15). 01M4WVGXZ… directly contrasts "Using Proximity" (smooth bell curve) with "Direct Scaling" (only hovered item scales, neighbours stay) and offers a slow-motion toggle: proximity is clearly better; direct scaling feels jumpy. Hover card stacks above icons: 01M5066H4…. - Pitfalls: magnification moves the layout - reserve the max height so the page doesn't shift; do not magnify on touch devices; reduce motion for
prefers-reduced-motion. - Refs: 01M4WVGXZ…; 01M4WWCSX…; 01M4YEKHT… icon theme switcher; 01M4Z7HGT… Liquid Gold dark/light dock.
Adaptive navigation (sidebar <-> bottom bar)
- Looks like: same destinations re-flowed by viewport: wide = left rail or labeled sidebar; narrow = bottom tab bar; foldable open = floating vertical dock in the margin of a tablet canvas 01M4WTKTA…; "collapsible sidebar + tab bar" shows one component set with two shells 01M4Y7WKV…; Starline shows expanded/collapsed/mobile states side by side 01M4X30Z0….
- Build notes: breakpoints ~ <=640px bottom tabs (max 5), 640-1024 rail (icon only), >=1024 full sidebar. Use the same data array and an
orientationprop; animate the indicator along the new axis. On the foldable the bottom pill rotates 90deg into a vertical dock when the width crosses ~600px. - Pitfalls: keeping the same "More" overflow logic across shells; tab bar must not exceed 5 items; do not hide primary nav behind a hamburger on mobile if you can fit it in tabs.
- Refs: 01M4WTKTA…; 01M4Y7WKV…; 01M4X30Z0…; 01M501EK5….
Nav indicator physics (velocity stretch, wavy underline, SVG highlight)
- Looks like: a small shape (dot, underline, pill) that stretches along the direction of travel then snaps to the target; the comparison demo labels "Velocity Stretch + Motion Blur" vs "Static Shape + No Blur" side by side 01M4XVWZP…; wavy underline drawn as an SVG path on hover 01M4ZEA60…; highlighter marker swipes under text 01M4VMRE1…; segmented slider with scrub ticks 01M4WMXSJ…; text scramble on hover 01M4YSDFQ….
- Build notes: stretch = scaleX proportional to |dx| (
1 + min(|dx|/width, .6)) during the first 50% of the tween, then settle; addfilter: blur(0-2px)tied to velocity; ~300-400ms. Underline:stroke-dasharraydraw ~400ms. Always run these ontransform/opacity. - Pitfalls: blur + stretch looks cheap on text-sized indicators; limit to one such effect per bar.
- Refs: 01M4XVWZP…; 01M4ZEA60…; 01M4AT39S… SVG highlighted navigation; 01M4G5J98… spring navigation.
Dropdown / context menu surface
- Looks like: the unglamorous workhorse (57% of Menus carry
Dropdown): 8-12px radius, 4-6px inner padding, rows 28-36px, 13-14px type, 16px icons at 70% opacity, right-aligned shortcut keycaps in muted mono, a destructive row in red separated by a divider, section label rows 01M4ZTZDE…, 01M4Y1X6G…, 01M4Y4VAT…. Profile/account dropdowns add avatar header, usage meter, theme toggle, "Upgrade" CTA at the foot 01M4XB9C5…, 01M4Y160F…, 01M4ZKMRS…. - Build notes (from the catalogue's own tip videos):
- Context menu should appear instantly: 01M4ZQ237… compares a default menu (fades/scales in, lags) against a "better" one that appears at once and only animates on exit (frames show the default has a stuttering ghost). Rule: enter 0-80ms (or none), exit 100-150ms fade; scale origin at the pointer.
- Borders: 01M4ZMC3Q… contrasts opaque vs semi-transparent strokes; use
box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 4px 6px -1px rgba(0,0,0,.08), 0 10px 24px -6px rgba(0,0,0,.14)layered shadows instead of one big blur 01M4YGZH6…. - Hover fills: 01M4X67SV… compares hard-coded hex hover colours with translucent ones (
rgba(0,0,0,.05)/rgba(255,255,255,.08)) that stay right when the surface tone changes - use the translucent form. - Spring pull-down variant (iOS-like, scale .9 -> 1 from the trigger corner with slight overshoot, nested submenus with alignment options) 01M4ZEC8Y…, liquid/gooey variant 01M4WY764….
- Pitfalls: Esc and arrow keys must work; submenu on hover needs the safe triangle (next card); position must flip near viewport edges (use Floating UI / Radix, not hand-placement).
- Refs: 01M4ZQ237…; 01M4ZMC3Q…; 01M4X67SV…; 01M4YGZH6…; [01M4XTPVBMCVA88HR5ZSV45PFJ3] context menu with animated icons; 01M503T3C… UI kit of dropdowns.
Submenu hover-intent (safe triangle)
- Looks like: nested menu where a pink debug triangle between the cursor and the submenu corners shows the safe area; with "Show safety area" checkbox 01M4WY7J5…, 01M4XW2JJ… (mega menus too).
- Build notes: on pointer move over a trigger row compute the triangle (cursor, submenu top-left, submenu bottom-left); while the pointer stays inside it, ignore
mouseenteron other rows (or delay close ~150-250ms). Radix/Floating UI'ssafePolygondoes this. Submenu offset -4px overlap so there is no dead gap. Submenu enter = fade+4px slide, 120ms. - Pitfalls: touch devices - tap toggles submenu; keyboard ArrowRight opens, ArrowLeft closes.
- Refs: 01M4WY7J5…; 01M4XW2JJ…; 01M501DW5… submenu alignment detail; 01M4YR3ZJ… nested submenu dropdown; 01M4X277P… drill-down tree menu.
Command palette / command menu (cmd+K)
- Looks like: centered modal ~560-640px wide on a dimmed (and sometimes blurred) backdrop, radius 12-16px, input row on top (16px, search glyph at left,
Esckeycap on right), group labels ("Go to", "Commands", "Knowledge", "Signals", 11px muted), rows ~36-40px with 16px icon + label + right-aligned shortcut orEnterglyph, selected row = subtle lighter fill (rgba(255,255,255,.07)on dark) with return icon; footer with key hints (up/down navigate, enter select, esc close) 01M4X30F8…, 01M4ZYDNX…, 01M50M5BG…. 23 of 72 Menus useCommand menu; 43% of allCommand menudesigns are dark and 26% carryDeveloper tools. - Variants worth stealing: results grouped by type with file/doc previews on the right 01M4ZN4SQ…, 01M4ZN4B6…; AI fallthrough: when search yields nothing the list collapses to a single "Ask the assistant" row; selecting it turns the palette into a chat card with a glow border (RGB corner glow) and an "Ask a follow-up" input 01M4X30F8…; command bar as floating pill "Ask Agent Cmd I" that widens into an input with
Escon the right 01M4Y1V01…, 01M4G5H4B…; palette with tabs "Search | Commands | Actions" 01M4WMZP3…; palette inside an AI code editor 01M4YEG7Y…; palette launched from a floating action bar 01M4ZAW77…. - Build notes:
cmdk(pacocoursey) is the de-facto API; open withCmd/Ctrl+K, enterscale .96 -> 1, opacity 0 -> 1, y 8 -> 0140-180ms, exit 100ms; input autofocus, results filter on each keystroke with no loading state unless async (show "Searching" row, as in 01M4X30F8…); keep active row in view; listmax-height: 320-400px; overflow:auto;role="dialog"+role="listbox"/option,aria-activedescendant, focus trap, restore focus on close; empty state with one helpful row. - Pitfalls: more than ~7 groups = noise; shortcuts must not clash with browser; a visible trigger (search field with
Cmd Kkeycap) is needed for discoverability. - Refs: 01M4X30F8…; 01M4Y7A4F… HR command menu; 01M4YV4YY… email client palette; 01M4ZS3EJ… dark command menu component; 01M50CS32… command palette + workflow action menu; 01M4YWVZ4… dark launcher.
Slash menu with preview card
- Looks like: in an editor, typing
/opens a ~230px list under the caret with grouped blocks (AI, Basic Blocks, Media, Callouts, Components), each with a 16px icon, label and optional right-aligned markdown shortcut ("#", "##", "1."); the highlighted row spawns a ~170px preview card to the right showing a tiny rendered sample + one-line description 01M4YEHFM…. The list scrolls with the selection and the preview card tracks vertically. - Build notes: floating-ui
offset(8),flip,shift; preview card is a second floating element tied to the active row (virtual reference); filtering on the text after/; Enter inserts block, Esc cancels. - Refs: 01M4YEHFM…; 01M4XR3QN… text selection floating action menu; 01M4Y6HR3… inline text-formatting toolbar (see overlays.md).
Radial / orbital menu
- Looks like: 48px circular trigger; on open 8 small (32-36px) circular buttons fan out around it in a ring (radius ~60px), trigger icon morphs hamburger -> x; items stagger around the circle 01M4XD67B…; thumb-reach variant with translucent nested rings for one-handed use 01M4WN8EP…; hardware-radio dial with a red needle 01M4WPCCR….
- Build notes: each item at
angle_i = start + i * (arc / (n-1)),translate(cos*r, sin*r); spring open with ~30ms stagger; exit reversed with shrink-to-center; ensure target >= 40px. Rare (3-4 in the catalogue): use for FAB-style creation menus, not primary navigation. - Refs: 01M4XD67B…; 01M4WN8EP…; 01M4WPCCR….
Rich-text / contextual toolbar pill
- Looks like: small floating bar (36-44px, radius 10-999px) with icon buttons and a dropdown (font, "Style 02"), appearing above selected text; AI variant is a gradient pill with "Refine with AI -> " input 01M4Y793F…, 01M4YCG5A…, 01M4ZQZJH…; voice editing pill 01M4XD83B…; shared tooltip that follows between icons 01M4XXW7B….
- Build notes: anchor to selection rect (Range.getBoundingClientRect), 8px above,
flip; enter fade + y 4px, 120ms; keep the toolbar mounted while interacting so dropdowns inside do not collapse the selection (onMouseDown preventDefault). - Refs: 01M4Y793F…; 01M4YCG5A…; 01M4ZQZJH….
System-shell navigation (menu bar, island)
- Looks like: macOS menu-bar widget with live countdown that turns red when imminent 01M4YJME8…; Dynamic Island pill expanding downward into a menu card with list rows and media previews 01M4X6467…; header glass bar over a scrolling calendar that shrinks as you scroll 01M4Z83QB….
- Build notes: see Dynamic Island pattern in overlays.md (shared morph choreography: pill 126x37px, radius 999px -> 44px, spring).
- Refs: 01M4YJME8…; 01M4X6467…; 01M4Z83QB….
Visual language observed
- Colour: neutral shells (white/gray
#F5F5F3, black#0F0F10-#141414), one saturated accent reserved for the active indicator or unread dot (orange-red, blue, a single yellow notification dot on glass nav 01M4QKAWR…). Sidebars use tint-on-tint (row hover = 4-6% black/white) rather than outlines. - Shape: pills (radius 999px) for floating nav and docks; 8-12px rows inside menus; 12-16px panel radius; sidebar canvas card radius ~12-16px. Mixed radii nest: outer = inner + padding.
- Shadow & glass: soft layered shadows (
0 1px 2px+0 8px 24pxat 8-15% black) for light; for dark, a 1pxrgba(255,255,255,.08)stroke replaces shadow. Glass:backdrop-filter: blur(16-24px) saturate(1.4)+rgba(255,255,255,.12)fill on photo backdrops (5 Liquid-Glass designs: 01M4G3TBR…, 01M4WYVER…, 01M6GZ8HT…, 01M4XNHKS…, 01M8D7B1C…). - Type: 13-14px medium UI sans (Inter/Geist/SF look), 11px uppercase muted section labels, mono for keycaps and file trees; docs sidebars sometimes pair with a serif heading.
- Icon system: 16-20px stroke icons at 1.5-1.75px weight, consistent set; keycaps ~20px rounded squares with 1px border.
- Cursor in the frame: most videos show a macOS cursor / hand cursor and key-cap overlays (
Cmd 2,[) - the catalogue's convention for demonstrating hover and shortcuts. Include them if you are producing demo videos.
Trends, clichés and what feels dated or fresh
- Fresh: Liquid Glass / refraction nav (iOS 26-style) and the "detach, slide, merge" search button; pill->panel morph with shared container; velocity-stretch indicators; floating TOC pills; AI-assistant row in command palettes; shortcut key-cap overlays; side-by-side "A vs B" tip videos (menu delay, hover tone, dock scaling) - these are the highest-signal references for details.
- Cliché: dark floating pill centered at top with 4-5 links (47% of navbars); macOS traffic lights + wallpaper gradient as the stage; Framer-style "Home / Changelog / Career / About" labels; the macOS dock magnification (still pretty, rarely appropriate).
- Dated: hamburger-only desktop nav; full-width hover mega menus that dim the page; hard-coded gray hover hexes; sidebars without a collapse state.
- Excellent vs average: excellent = the indicator and container are single elements that move, labels fade after width settles, hover has intent delay + safe triangle, keyboard shortcut is shown, light/dark parity. Average = each item toggles its own active class with no tween, dropdown re-mounts on every trigger change, no exit animation.
A11y baseline [inferred]
Sidebar: <nav aria-label>, collapse button aria-expanded, aria-current="page" on active link. Menus: role="menu"/menuitem, roving tabindex, type-ahead. Tab bar: role="tablist" only for in-page tabs; app-level tab bars are <nav> with links. Dock/hover magnification: provide focus equivalents. Command palette: role="dialog", labelled input, aria-activedescendant, focus trap, restore focus. All motion behind prefers-reduced-motion (collapse to opacity-only).
Brief -> query recipes
- "SaaS dashboard sidebar with collapse":
uic.py sheet --section "UI Elements" --category Sidebars --tag Dashboard --limit 24, thenstrip 01M4QK9F216HNZC8HAZ7G8GZF2and01M4WWDGK22FXVY706F3T9WQB8. - "Docs site nav + right-rail TOC":
uic.py search --section "UI Elements" --category Sidebars --tag "Documentation";sheet 01M4ASJC3TJMJ9KX03Y4C62RGM 01M50VBFWPSQ22P7B5DFT8RHHP 01M4ZTZPZDMPF053YDT73GXHG8 01M4X27JRAGQHZK32RMSB33FR7. - "Marketing header with mega menu":
uic.py sheet 01M4WX60SNRCSHHR5ZSV45PFJ3 01M4Y2JT3MZQ97RKAX420R2FGQ 01M4WY43G1CXJJ9FGZR5ZWG1HZ 01M4ZHF1C86M6K24TYGKTT967H; for full pages useuic.py search --tag "Mega menu" --section Sites. - "Mobile app bottom navigation, modern":
uic.py sheet --section "UI Elements" --category "Tab Bars and Docks" --tag iOS --limit 24; real apps:uic.py screens "tab bar" --platform mobile. - "Cmd+K palette for a dev tool":
uic.py search --tag "Command menu" --tag Desktop --limit 24; strip01M4X30F8TAC1K6CWHHPRZY18K. - "Context menu / dropdown details":
uic.py sheet 01M4ZQ237HNY53XPNHSBWM1ZNR 01M4WY7J5FMBGJ16A1A3Q82Q2D 01M4ZMC3Q2A5HYDT4Q7E8TWVC2 01M4X67SV445C4X5NMZD1KX67S 01M4YGZH66EB034JG1JE6FEF34. - "Floating pill navbar with dropdown":
uic.py sheet --section "UI Elements" --category "Navigation Bars" --tag "Floating elements" --tag "Dropdown". - "Island / expanding pill":
uic.py search "dynamic island"; see overlays.md for the toast-flavoured set.
Exemplar index
| ID | title | why it is a good reference |
|---|---|---|
| 01M4QK9F216HNZC8HAZ7G8GZF2 | Sidebar collapse | cleanest expanded <-> rail transition, search + AI row, active white pill |
| 01M4WWDGK22FXVY706F3T9WQB8 | Sidebar Keyboard Navigation and Collapse | two-level rail, Cmd+number module switching, key-cap overlay |
| 01M4QHGK7BRZTH45G43SMV9EHY | Rail flyout | hover flyout categories over icon rail, fade-out on select |
| 01M4YZ5CNW1BB8410SJG5K7795 | Collapsible macOS Floating Sidebar | floating inset sidebar + lone toggle glyph when collapsed |
| 01M4QJKBMVD2NES0WM3AF08ZZA | Reordering pins | drag reorder pinned items, dark sidebar |
| 01M4X3V5MCQ11B7ZQ2X15GWD46 | Morphing Pillar Sidebar | circle -> pillar -> rich nav card with image, three-stage morph |
| 01M4WVGHRJP8SB4GTCWRTGYNGZ | Draggable Split View Snap Points | divider snap points 25/50/75% with readout; resizable panel pattern |
| 01M4ZMDP3MNPS40Z1FTGG1VCVG | Floating Table of Contents Blog | floating progress pill -> TOC card |
| 01M4QKM7QCCF23Q1ZZDKWQ2GZ4 | Moving nav pill | single moving indicator, grouped capsules |
| 01M4QKAWR2GPFT055SYDCBEXH2 | Nav that stretches | glass bar morphing to search/notifications |
| 01M4XVWZPPE31RBZCWZR6RZ7NB | Navigation Indicator Velocity Stretch | A/B motion study |
| 01M4XA9KBVVWQWSA633EB8ETRX | Floating Pill Announcement Navigation | nav + attached announcement capsule |
| 01M4WX60SNRCSHHR5ZSV45PFJ3 | Morphing Mega Menu Dropdown Navigation | panel morphs between triggers, image-swap preview |
| 01M4XA9QEQXQE2NH0F4NKNN2QE | Expanding Floating Tab Bar | per-tab colour, label-grow active pill |
| 01M4YJGNZYJ65WG8A2Y1Q0QHKM | Expandable Mobile Tab Bar and Action Menu | tab bar -> 4x3 action grid |
| 01M4X26MRHVDVPX6WF96P2XEDB | Morphing Floating Tab Bar Settings Menu | avatar chip -> status popover |
| 01M4ATND5E819FF3HZ38FXMBY2 | Hide Nav on Scroll | shrink-to-avatar tab bar |
| 01M4WVGXZ4A7NGKNWMSRFDA5E5 | Proximity vs Direct Scaling Dock | A/B dock magnification with slow-mo |
| 01M4WTKTAX59KEZ4PHFYG0Z4GB | Foldable Adaptive Bottom Tabs | responsive nav across fold states |
| 01M4ZQ237HNY53XPNHSBWM1ZNR | Context Menu Animation Logic Comparison | instant-open rule |
| 01M4WY7J5FMBGJ16A1A3Q82Q2D | Context Menu Submenu Safe Triangle | debug-visualised hover-intent geometry |
| 01M4ZMC3Q2A5HYDT4Q7E8TWVC2 | Border vs Drop Shadow on Context Menus | semi-transparent border tip |
| 01M4X30F8TAC1K6CWHHPRZY18K | Dark Mode Command Palette with AI Assistant | palette -> AI chat fallthrough, group labels |
| 01M4YEHFMF5RK3VRTNBK92GZAR | Rich Text Slash Menu with Preview Card | slash list + live preview card |
| 01M4XD67B7V7V9NF1SV7XJCTRC | Radial Floating Action Menu | orbital 8-item ring |
| 01M4Y1V01E90D5DPNY46G5Q047 | Animated AI Agent Command Bar | pill -> input expansion with mascot |
| 01M4Y793FDFDPNTT8FCPDKGQ6G | Floating Rich Text Editor Toolbar | selection toolbar |