BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/Quantumblack Design System Registry/context-menu
This component no longer exists. It was in Quantumblack Design System Registry’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-08 and this item was not on it. The install command below will fail. It is kept here because a tutorial somewhere still tells people to run it.

Context Menu

quantumblack-design-system-registry/context-menu
RemovedComponent

A menu triggered by a right-click (or long-press) on a target element. Supports items, checkboxes, radio groups, submenus, shortcuts, and destructive actions.

Install it

npx shadcn@latest add http://designsystem.quantumblack.com/r/context-menu.json

Source

src/components/ui/context-menu.tsxdesignsystem.quantumblack.com/r/context-menu.json · first 6 KB
1'use client';
2
3import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
4import * as React from 'react';
5
6import { Icon } from '@/components/ui/icon';
7import { IconShell } from '@/components/ui/icon-shell';
8import { cn } from '@/lib/utils';
9
10type ContextMenuSize = 'default' | 'lg';
11
12const ContextMenuSizeContext = React.createContext<ContextMenuSize>('default');
13
14function useContextMenuSize() {
15 return React.useContext(ContextMenuSizeContext);
16}
17
18function CheckboxItemMark() {
19 return (
20 <svg
21 xmlns="http://www.w3.org/2000/svg"
22 className="h-[7px] w-2"
23 viewBox="0 0 8 7"
24 fill="none">
25 <path
26 fillRule="evenodd"
27 clipRule="evenodd"
28 d="M7.5 1.25L6.25 0L2.5 3.75L1.25 2.5L0 3.75L2.5 6.25L7.5 1.25Z"
29 fill="currentColor"
30 />
31 </svg>
32 );
33}
34
35function ContextMenu({
36 ...props
37}: React.ComponentProps<typeof ContextMenuPrimitive.Root>) {
38 return <ContextMenuPrimitive.Root data-slot="context-menu" {...props} />;
39}
40
41function ContextMenuPortal({
42 ...props
43}: React.ComponentProps<typeof ContextMenuPrimitive.Portal>) {
44 return (
45 <ContextMenuPrimitive.Portal data-slot="context-menu-portal" {...props} />
46 );
47}
48
49function ContextMenuTrigger({
50 ...props
51}: React.ComponentProps<typeof ContextMenuPrimitive.Trigger>) {
52 return (
53 <ContextMenuPrimitive.Trigger data-slot="context-menu-trigger" {...props} />
54 );
55}
56
57interface ContextMenuContentProps extends React.ComponentProps<
58 typeof ContextMenuPrimitive.Content
59> {
60 children?: React.ReactNode;
61 onOpenAutoFocus?: (event: Event) => void;
62 size?: ContextMenuSize;
63}
64
65function ContextMenuContent({
66 className,
67 size = 'default',
68 ...props
69}: ContextMenuContentProps) {
70 return (
71 <ContextMenuPrimitive.Portal>
72 <ContextMenuSizeContext.Provider value={size}>
73 <ContextMenuPrimitive.Content
74 data-slot="context-menu-content"
75 data-size={size}
76 className={cn(
77// … truncated

What it pulls in

npm packages

  • @radix-ui/react-context-menu

Other registry items

  • /r/theme.json
  • /r/utils.json
  • /r/icon.json
  • /r/icon-shell.json

Files it writes

  • src/components/ui/context-menu.tsx
  • src/app/demo/[name]/ui/context-menu.tsx

Facts

Registry
Quantumblack Design System Registry
Type
registry:ui
Access
Free
Files written
2
Licence
NOASSERTION
In the index
at or before 2026-08-03
Last confirmed
11 days ago

Go to the source

designsystem.quantumblack.com mckinsey/quantumblack-design-system on GitHub Raw registry item This item as JSON

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