Glass Fab Morph

Pro

Glass floating button that opens a column or row of glass action bubbles. The chosen action lights briefly while the others fade and pull back into the button.

Preview

Installation

npx @lumioui/cli add pro/glass-fab-morph

Usage

import { GlassFabMorph } from "@/components/ui/glass-fab-morph/glass-fab-morph";
<GlassFabMorph />

API reference

Prop Type Default
actions* GlassFabMorphAction[] —
icon IconName "plus"
onAction (index: number) => void —
open boolean

Controlled open state — uncontrolled when omitted.

—
defaultOpen boolean false
onOpenChange (open: boolean) => void —
direction "up" | "left"

Direction the orbs fan out. Default "up".

"up"
accessibilityLabel string

Accessible label for the trigger. Default "Create".

"Create"
className string —