v0.1 public beta early access on GitHub
Home / Components / dock

DockiOS

Floating bottom tab bar with a gliding accent disc, labels on the active tab, badge dots, and an optional action button

$ npx lumioui add dock
import { Dock } from "@/components/ui/dock/dock";
Props9
items DockItem[]
value string Currently selected item value.
onValueChange (value: string) => void
variant? "floating" | "attached" | "fused" "floating" renders the detached pill (default); "attached" renders a classic full-width bar; "fused" welds the tabs into one bar — the active tab peels away with a gooey neck.
labels? "active" | "always" | "never" Which items show their label. Default "active".
action? DockAction Prominent action disc appended at the end of the bar.
haptic? "selection" | "light" | false Haptic on selection. Default "selection".
safeArea? boolean Lift above / pad past the home indicator. Default true.
className? string
Dock — Attached barattached.tsx
dock/variants/attached.tsx open

Floating bottom tab bar with a gliding accent disc, labels on the active tab, badge dots, and an optional action button

Dock — Icon-onlycompact.tsx
dock/variants/compact.tsx open

Floating bottom tab bar with a gliding accent disc, labels on the active tab, badge dots, and an optional action button

Dock — Floatingfloating.tsx
dock/variants/floating.tsx open

Floating bottom tab bar with a gliding accent disc, labels on the active tab, badge dots, and an optional action button

Dock — Fusedfused.tsx
dock/variants/fused.tsx open

Floating bottom tab bar with a gliding accent disc, labels on the active tab, badge dots, and an optional action button