# Lotmark Exchange Navbar

> A dual-theme specialty-coffee exchange header with a light canvas, a deep dark canvas, accent-filled actions, primary navigation, and two icon-tile mega-menus opened by real aria-expanded buttons and a focus-trapped mobile drawer.

- Category: Dropdown Menu
- Frameworks: Vanilla, React + CSS, React + Tailwind
- Design system: Aperture
- Dark mode: yes
- Access: premium (Atheros AI Pass)
- Tags: navigation, dropdown
- Page: https://builder.atheros.ai/components/exchange-navbar
- Preview: https://d17nmjscumqk5d.cloudfront.net/builder/templates/tpl_builder_exchange_navbar/preview-63963688abe8.webp

## Features

- The logo keeps the exact primary brand color on an on-primary backing surface, with a 28px visual inside a 44px target; below 880px the mobile drawer synchronizes `aria-hidden` and `inert`.
- Semantic `<header>` with a `<nav aria-label="Primary">` primary navigation bar, a crisp elevated light surface, and a deep near-black dark surface
- Two data-driven two-column icon-tile mega-menus — Trade (Spot Lots, Auctions, Direct Trade, Swaps, Futures, Live Index) and Roastery (Rewards, Green Storage, Fresh Crop, Subscriptions, Wholesale, Brew Water) — each opened by a real `<button aria-expanded>`
- Each panel carries an uppercase section overline and a highlighted accent promo cell (Lot fees / Harvest Drop) with a nudging arrow
- Mega-menus reveal on hover, focus-within, and click with a soft cross-blur + overshoot; the chevron rotates and a sliding accent underline indicator scales in via transform
- Full keyboard access: ArrowDown/ArrowUp open a menu and move between panel links, Home/End jump to ends, Escape closes and returns focus
- Moving between the two triggers cross-fades the panels rather than a hard close/reopen
- Springy `scale(0.97)` press feedback on all buttons; hover is wash/color only, no translate lift
- Filled accent Sign Up CTA (on-accent text) plus an outlined secondary Log In button
- Mobile burger button that toggles a focus-trapped drawer with a staggered link reveal and the CTAs
- Icons are real 24x24 Tabler glyphs drawn with `currentColor`
- Fully respects `prefers-reduced-motion`

## Accessibility

- **Navigation landmark** — `<nav aria-label="Primary">` wraps the nav list
- **Mega-menu triggers** — `<button aria-expanded aria-haspopup aria-controls>` toggled by JS on both Trade and Roastery
- **Burger control** — `<button aria-expanded aria-controls>` with a swapped `aria-label`
- **Drawer focus trap** — Tab cycles within the open drawer; focus moves in on open and returns to the burger on close
- **Decorative icons** — Icon spans marked `aria-hidden="true"`
- **Focus indicators** — `:focus-visible` with `--ring` outline on all controls
- **Reduced motion** — `prefers-reduced-motion: reduce` disables all animations

## Keyboard shortcuts

- `Tab` — Move focus between the trigger, links, and buttons
- `Enter` — Activate the focused button or link
- `Space` — Activate the focused button
- `ArrowDown` — Open the focused menu and move to the next panel link
- `ArrowUp` — Open the focused menu and move to the previous panel link
- `Home / End` — Jump to the first / last link in the open panel
- `Escape` — Close the mega-menu and the drawer

## Common questions

**Which frameworks is Lotmark Exchange Navbar available in?**

Lotmark Exchange Navbar ships as Vanilla, React + CSS and React + Tailwind — HTML, CSS, JS and React source you can copy, download or clone into Atheros AI Builder.

**Is the Lotmark Exchange Navbar dropdown menu component free?**

Lotmark Exchange Navbar is a premium component. Anyone can preview it; the source, downloads and AI customisation are included with Atheros AI Pass.

**Does Lotmark Exchange Navbar support dark mode?**

Yes. Lotmark Exchange Navbar ships light and dark themes, both drawn from the Aperture design system's tokens. Switch the preview to dark mode to compare them.

## Get the code

Preview Lotmark Exchange Navbar live, then sign in to copy or download the source, apply another design system, or ask the AI assistant to change it: https://builder.atheros.ai/components/exchange-navbar

Every component on https://builder.atheros.ai is also reachable from Claude Code, Cursor and Codex through the Atheros MCP server (paid plans). Component index: https://builder.atheros.ai/llms-components.txt
