Skip to content
PixiKit

Pop Menu

A logo bubble and a round menu button that open an overlay of big tilted pill links, popping in one after another and taking their own color on hover.

pixikit.com/docs/components/pop-menu

Customize

Menu bg
Menu content color
Use fixed position
Animation ease
Animation duration0.50s
Stagger delay0.12s

Props

12
NameTypeDefaultDescription
logoReactNode | stringDEFAULT_LOGOLogo content shown in the first bubble: an image src or an element.
onMenuClick(open: boolean) => voidNoneCalled whenever the menu toggle changes; receives the open state.
classNamestring""
styleCSSPropertiesNone
menuAriaLabelstring"Toggle menu"Accessible label for the toggle button.
menuBgstring"#fff"Background color of the logo and toggle bubbles and of the pills.
menuContentColorstring"#111"Color of the menu icon lines and of the pill text.
useFixedPositionbooleanfalsePositions the menu with fixed instead of absolute, so it follows the viewport.
itemsPopMenuItem[]DEFAULT_ITEMSThe menu items: `{ label, href, ariaLabel, rotation, hoverStyles: { bgColor, textColor } }`.
animationEasestring"back.out(1.5)"Ease of the bubble pop: a GSAP-style name such as `back.out(1.5)` or `power3.out`, or any CSS timing function.
animationDurationnumber0.5Duration of each bubble and label animation, in seconds.
staggerDelaynumber0.12Base stagger between bubbles, in seconds, with a slight random variance.

More navigation components in Pro

View all

Related