BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/aurora/aurora-context-menu

Aurora Context Menu

aurora-dinglebear-ai/aurora-context-menu
UnverifiedComponent

Right-click context menu with Aurora panel surface, icons, and keyboard shortcuts.

Install it

npx shadcn@latest add https://raw.githubusercontent.com/dinglebear-ai/aurora/main/aurora-context-menu.json

Source

registry/aurora/ui/context-menu.tsxraw.githubusercontent.com/dinglebear-ai/aurora/main/aurora-context-menu.json · first 6 KB
1"use client"
2
3/**
4 * Aurora Design System — Context Menu
5 * peer dep: @radix-ui/react-context-menu
6 */
7
8import * as React from "react"
9import * as ContextMenuPrimitive from "@radix-ui/react-context-menu"
10import { Check, ChevronRight, Circle } from "lucide-react"
11import { cn } from "@/lib/utils"
12import { usePortalContainer } from "@/registry/aurora/lib/portal-container"
13
14// ─── Shared menu styles (mirror dropdown-menu) ────────────────────────────────
15
16const menuContentStyle: React.CSSProperties = {
17 backgroundColor: "var(--aurora-panel-strong)",
18 borderColor: "var(--aurora-border-strong)",
19 boxShadow:
20 "var(--aurora-shadow-strong), var(--aurora-highlight-medium)",
21 color: "var(--aurora-text-primary)",
22}
23
24const menuItemBase = [
25 "relative flex cursor-pointer select-none items-center gap-2",
26 "rounded-[6px] px-2 py-2 outline-none",
27 "transition-colors duration-100",
28].join(" ")
29
30const menuTextStyle: React.CSSProperties = {
31 fontFamily: "var(--aurora-font-sans)",
32 fontSize: "var(--aurora-type-control)",
33 fontWeight: "var(--aurora-weight-ui)",
34 letterSpacing: "var(--aurora-letter-ui)",
35 lineHeight: "var(--aurora-line-dense)",
36}
37
38// ─── Root primitives ──────────────────────────────────────────────────────────
39
40// Inside a scoped preview container, force non-modal so an auto-open menu
41// preview never scroll-locks / focus-traps the surrounding page (mirrors Drawer).
42function ContextMenu({ ...rootProps }: React.ComponentProps<typeof ContextMenuPrimitive.Root>) {
43 const portalContainer = usePortalContainer()
44 return <ContextMenuPrimitive.Root {...rootProps} modal={portalContainer ? false : rootProps.modal} />
45}
46const ContextMenuTrigger = ContextMenuPrimitive.Trigger
47const ContextMenuGroup = ContextMenuPrimitive.Group
48const ContextMenuPortal = ContextMenuPrimitive.Portal
49const ContextMenuSub = ContextMenuPrimitive.Sub
50const ContextMenuRadioGroup = ContextMenuPrimitive.RadioGroup
51
52// ─── Content ──────────────────────────────────────────────────────────────────
53
54function ContextMenuContent({ ref, className, style, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Content>) {
55// … truncated

What it pulls in

npm packages

  • @radix-ui/react-context-menu@^2.2.16
  • lucide-react@^0.487.0

Other registry items

  • @aurora/aurora-tokens
  • @aurora/aurora-portal-container

Files it writes

  • registry/aurora/ui/context-menu.tsx

Facts

Registry
aurora
Type
registry:ui
Access
Unverified
Files written
1
Licence
AGPL-3.0
In the index
at or before 2026-08-12
Last confirmed
today

Go to the source

aurora.dinglebear.ai dinglebear-ai/aurora on GitHub Raw registry item This item as JSON

More from aurora

All 176 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Aurora Accordionaurora-accordionauroraComponentsUnverified2 deps
Aurora Alert Dialogaurora-alert-dialogauroraComponentsUnverified2 deps
Aurora Aspect Ratioaurora-aspect-ratioauroraComponentsUnverifiedno deps
Aurora Avataraurora-avatarauroraComponentsUnverified1 dep
Aurora Badgeaurora-badgeauroraComponentsUnverified2 deps
Aurora Banneraurora-bannerauroraComponentsUnverified1 dep
Aurora Breadcrumbaurora-breadcrumbauroraComponentsUnverified2 deps
Aurora Buttonaurora-buttonauroraComponentsUnverified2 deps

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex