Navbar

The top navigation bar — composes the Logo on the left and a row of Menu Items (with dropdowns) on the right. All values pulled directly from the LUSTER Figma component.

Logo bg #916DFF · Title #24242C · Menu item #24242C · Hover bg #F2EDFF · Padding 24px

Tip: hover a menu item to see the Menu Item hover state (#F2EDFF).

Design Tokens

Token names mirror the LUSTER Figma variable paths one-to-one. The Navbar composes the Logo and Menu Item components inside a section container. Values shown are the Diamond brand, Light mode defaults (the Figma file's default mode). Other brands (Amber, Opal) and Dark mode resolve to different values via the Color Theme & Component Brand collections.

Token NameFigma VariableDefault Value
--navbarBgColornavbar/bg/color#FFFFFF
--navbarItemListGapnavbar/item/list/gap16px
--logoBgColorlogo/bg/color#916DFF
--logoIconColorlogo/icon/color#FFFFFF
--logoPaddingXlogo/padding/x12px
--logoPaddingYlogo/padding/y12px
--logoBorderRadiuslogo/border/radius0px
--logoItemsGaplogo/items/gap16px
--logoTitleContentlogo/title/contentMy Design System
--logoIconFontSizetypography/logo icon/font/size20px
--logoIconFontLineHeighttypography/logo icon/font/lineHeight22px
--sectionTitleFontColorsection/title/font/color#24242C
--menuItemDefaultFontColormenuItem/default/font/color#24242C
--menuItemDefaultIconColormenuItem/default/icon/color#24242C
--menuItemDefaultBgColormenuItem/default/bg/color#FFFFFF
--menuItemHoverBgColormenuItem/hover/bg/color#F2EDFF
--menuItemGapmenuItem/gap8px
--menuItemPaddingXmenuItem/padding/x16px
--menuItemPaddingYmenuItem/padding/y12px
--menuItemBorderRadiusmenuItem/border/radius0px
--sectionBgColorsection/bg/color#FFFFFF
--sectionPaddingXsection/padding/x24px
--sectionPaddingYsection/padding/y24px
--sectionBorderRadiussection/border/radius0px
--sectionShadowColorsection/shadow/color#CECBDC
--sectionShadowOffsetXsection/shadow/offset-x0px
--sectionShadowOffsetYsection/shadow/offset-y0px
--sectionShadowBlursection/shadow/blur0px
--titleFontSizetypography/title/font/size16px
--titleFontLineHeighttypography/title/font/lineHeight19px
--titleFontWeighttypography/title/font/weight700
--bodyFontSizetypography/body/font/size16px
--bodyFontLineHeighttypography/body/font/lineHeight19px
--bodyFontWeighttypography/body/font/weight400
--bodyFontFamilybody/font/familyInter

Usage Guidelines

✓ DO

Keep the Logo on the left and primary navigation on the right.

✓ DO

Use a chevron on items that open a Menu Dropdown.

✗ DON'T

Don't overcrowd the bar — collapse extras under a "More" menu.

✗ DON'T

Don't restyle menu items — reuse the Menu Item component.

Implementation

Values shown are the Diamond brand, Light mode defaults (the Figma file's default mode). Other brands (Amber, Opal) and Dark mode resolve to different values via the Color Theme & Component Brand collections.

import { Logo, MenuItem } from '@luster/ui';
import './Navbar.css';

export const Navbar = ({ items }) => (
  <header className="navbar">
    <Logo variant="full" />
    <nav className="navbar__menu">
      {items.map(it => (
        <MenuItem key={it.label} label={it.label} icon={it.hasMenu ? <ChevronDown/> : null} />
      ))}
    </nav>
  </header>
);