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.
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 Name | Figma Variable | Default Value |
|---|---|---|
| --navbarBgColor | navbar/bg/color | #FFFFFF |
| --navbarItemListGap | navbar/item/list/gap | 16px |
| --logoBgColor | logo/bg/color | #916DFF |
| --logoIconColor | logo/icon/color | #FFFFFF |
| --logoPaddingX | logo/padding/x | 12px |
| --logoPaddingY | logo/padding/y | 12px |
| --logoBorderRadius | logo/border/radius | 0px |
| --logoItemsGap | logo/items/gap | 16px |
| --logoTitleContent | logo/title/content | My Design System |
| --logoIconFontSize | typography/logo icon/font/size | 20px |
| --logoIconFontLineHeight | typography/logo icon/font/lineHeight | 22px |
| --sectionTitleFontColor | section/title/font/color | #24242C |
| --menuItemDefaultFontColor | menuItem/default/font/color | #24242C |
| --menuItemDefaultIconColor | menuItem/default/icon/color | #24242C |
| --menuItemDefaultBgColor | menuItem/default/bg/color | #FFFFFF |
| --menuItemHoverBgColor | menuItem/hover/bg/color | #F2EDFF |
| --menuItemGap | menuItem/gap | 8px |
| --menuItemPaddingX | menuItem/padding/x | 16px |
| --menuItemPaddingY | menuItem/padding/y | 12px |
| --menuItemBorderRadius | menuItem/border/radius | 0px |
| --sectionBgColor | section/bg/color | #FFFFFF |
| --sectionPaddingX | section/padding/x | 24px |
| --sectionPaddingY | section/padding/y | 24px |
| --sectionBorderRadius | section/border/radius | 0px |
| --sectionShadowColor | section/shadow/color | #CECBDC |
| --sectionShadowOffsetX | section/shadow/offset-x | 0px |
| --sectionShadowOffsetY | section/shadow/offset-y | 0px |
| --sectionShadowBlur | section/shadow/blur | 0px |
| --titleFontSize | typography/title/font/size | 16px |
| --titleFontLineHeight | typography/title/font/lineHeight | 19px |
| --titleFontWeight | typography/title/font/weight | 700 |
| --bodyFontSize | typography/body/font/size | 16px |
| --bodyFontLineHeight | typography/body/font/lineHeight | 19px |
| --bodyFontWeight | typography/body/font/weight | 400 |
| --bodyFontFamily | body/font/family | Inter |
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>
);