More components in Pro
Galleries, cards and interactive pieces for pages that need more than the basics.
logo | ReactNode | string | — | Logo content shown in the central bubble (string src or JSX). |
onMenuClick | (open: boolean) => void | — | Callback fired whenever the menu toggle changes; receives open state. |
— | Additional class names for the root nav wrapper. | ||
— | Inline styles applied to the root nav wrapper. | ||
menuAriaLabel | "Toggle menu" | Accessible aria-label for the toggle button. | |
menuBg | "#fff" | Background color for the logo & toggle bubbles and base pill background. | |
menuContentColor | "#111" | Color for the menu icon lines and default pill text. | |
useFixedPosition | If true positions the menu with fixed instead of absolute (follows viewport). | ||
items | MenuItem[] | DEFAULT_ITEMS | Custom menu items; each = { label, href, ariaLabel?, rotation?, hoverStyles?: { bgColor?, textColor? } }. |
animationEase | "back.out(1.5)" | GSAP ease string used for bubble scale-in animation. | |
animationDuration | 0.5 | Duration (s) for each bubble & label animation. | |
staggerDelay | 0.12 | Base stagger (s) between bubble animations (with slight random variance). |
logoReactNode | stringLogo content shown in the central bubble (string src or JSX).
—onMenuClick(open: boolean) => voidCallback fired whenever the menu toggle changes; receives open state.
—Additional class names for the root nav wrapper.
—Inline styles applied to the root nav wrapper.
—menuAriaLabelstringAccessible aria-label for the toggle button.
"Toggle menu"menuBgstringBackground color for the logo & toggle bubbles and base pill background.
"#fff"menuContentColorstringColor for the menu icon lines and default pill text.
"#111"useFixedPositionbooleanIf true positions the menu with fixed instead of absolute (follows viewport).
itemsMenuItem[]Custom menu items; each = { label, href, ariaLabel?, rotation?, hoverStyles?: { bgColor?, textColor? } }.
DEFAULT_ITEMSanimationEasestringGSAP ease string used for bubble scale-in animation.
"back.out(1.5)"animationDurationnumberDuration (s) for each bubble & label animation.
0.5staggerDelaynumberBase stagger (s) between bubble animations (with slight random variance).
0.12Dependencies
1 required package
npm install gsap


