Component packs › Lather › Bubble Menu

Bubble Menu

Each action floats out in its own bubble; choose one and the others pop while it drifts back home.

Bubble Menu is a menu from Lather, a component pack with 6 bubble controls: Controls made of soap bubbles, with real thin-film colour. Price: $2 for the whole pack.

Built with: bubble per action, pop the rest, bobbing in place.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Bubble Menu props

PropTypeDefaultDescription
labelstring
items{ id: string; label: string; icon?: string }[]
onSelect(id: string) => void
autoplaynumber | false

Methods on the ref

Use it in React

import BubbleMenu from './BubbleMenu';

<BubbleMenu />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Lather

Good for: Toggle switches, Loaders and progress, Physics UI components.