Vibrancy Context Menu

A macOS-grade context menu on regular glass that blooms from the exact pointer position, flips near the edges, glides a highlight capsule between rows, and blinks the chosen item once before dissolving.

Try it: Right-click or long-press the file; or focus it and press Shift+F10, then ↑ ↓, type to jump, Enter.

Installation

Install with the shadcn CLI:

npx shadcn@latest add https://www.framekitui.live/r/vibrancy-context-menu.json

Or, with the @framekit namespace registered: npx shadcn@latest add @framekit/vibrancy-context-menu. You can also copy the source into components/ui/vibrancy-context-menu.tsx (view on GitHub).

Usage

import { VibrancyContextMenu } from '@/components/ui/vibrancy-context-menu'

Props

Component props
PropTypeDefaultNotes
itemsContextMenuItem[]DEFAULT_CONTEXT_ITEMS{ id, label, icon?, shortcut?, destructive?, disabled?, checked?, onSelect? } or { type: 'separator' }.
onSelect(id: string) => void—Fires after an item is chosen.
childrenReactNodefile cardThe area that listens for right-click / long-press.
labelstring'File actions'Accessible name of the menu.
classNamestring—Extra classes merged onto the target area.

Dependencies

  • motion
  • lucide-react
  • Deploy Timeline

    A build pipeline that reads like a calm status page: dots resolve to spinners to ticks, the rail fills as steps complete, elapsed times tick in tabular figures, each row expands into logs, and…

  • Detent Sheet

    An Apple-style bottom sheet resting at peek, half and full detents — velocity-aware drag with rubber-banding, the background recedes and dims as it rises, and a grabber that also works with tap and…

  • Usage Quota Meter

    A billing-period usage card: hairline tracks fill with stacked segments on the house ease, figures count up in tabular numerals, a limit tick marks 100%, and bars go amber near the limit and rose…

  • Dynamic Status Island

    A black capsule that morphs its silhouette between live activities — recording with a level meter, a focus timer with pause, an upload with a progress hairline, a success tick — size and radius on…

  • Onboarding Stepper

    A three-question setup flow on one continuous surface: a progress capsule stretches into the current step with a shared-layout spring, panels slide in the direction of travel, validation speaks…

  • Glass Segmented Control

    An iOS-style segmented control whose selected thumb is a lifted glass pill that springs between segments with a press squish — native radio semantics, arrow keys and an opaque reduced-transparency…

See all 14 Product UI components