BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/edgecom/context-menu

Context Menu

edgecom/context-menu
FreeComponent

The Edgecom Context Menu component.

Live preview

live · rendered by the registry
Rendered by edgecom on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://design.edgecom.ai/r/context-menu.json

Source

src/components/ui/context-menu.tsxdesign.edgecom.ai/r/context-menu.json · first 6 KB
1"use client"
2
3import * as React from "react"
4import { ContextMenu as ContextMenuPrimitive } from "@base-ui/react/context-menu"
5
6import { cn } from "@/lib/utils"
7import { ChevronRightIcon, CheckIcon, CircleIcon } from "lucide-react"
8
9function ContextMenu({ ...props }: ContextMenuPrimitive.Root.Props) {
10 return <ContextMenuPrimitive.Root data-slot="context-menu" {...props} />
11}
12
13function ContextMenuTrigger({ ...props }: ContextMenuPrimitive.Trigger.Props) {
14 return (
15 <ContextMenuPrimitive.Trigger data-slot="context-menu-trigger" {...props} />
16 )
17}
18
19function ContextMenuGroup({ className, ...props }: ContextMenuPrimitive.Group.Props) {
20 return (
21 <ContextMenuPrimitive.Group
22 data-slot="context-menu-group"
23 className={cn("flex flex-col gap-0.5", className)}
24 {...props}
25 />
26 )
27}
28
29function ContextMenuPortal({ ...props }: ContextMenuPrimitive.Portal.Props) {
30 return (
31 <ContextMenuPrimitive.Portal data-slot="context-menu-portal" {...props} />
32 )
33}
34
35function ContextMenuSub({ ...props }: ContextMenuPrimitive.SubmenuRoot.Props) {
36 return (
37 <ContextMenuPrimitive.SubmenuRoot data-slot="context-menu-sub" {...props} />
38 )
39}
40
41function ContextMenuRadioGroup({
42 ...props
43}: ContextMenuPrimitive.RadioGroup.Props) {
44 return (
45 <ContextMenuPrimitive.RadioGroup
46 data-slot="context-menu-radio-group"
47 {...props}
48 />
49 )
50}
51
52function ContextMenuContent({
53 className,
54 ...props
55}: ContextMenuPrimitive.Popup.Props) {
56 return (
57 <ContextMenuPrimitive.Portal>
58 <ContextMenuPrimitive.Positioner className="isolate z-50 outline-none">
59 <ContextMenuPrimitive.Popup
60 data-slot="context-menu-content"
61 className={cn(
62 "z-50 max-h-(--available-height) min-w-32 origin-(--transform-origin) overflow-x-hidden overflow-y-auto flex flex-col gap-0.5 rounded-lg bg-popover p-1 text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 outline-none data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:overflow-hidden data-closed:fade-out-0 data-closed:zoom-out-95",
63 className
64 )}
65 {...props}
66 />
67 </ContextMenuPrimitive.Positioner>
68// … truncated

What it pulls in

npm packages

  • @base-ui/react
  • lucide-react

Other registry items

  • edgecom-ai/design-system/theme

Files it writes

  • src/components/ui/context-menu.tsx

Facts

Registry
edgecom
Type
registry:ui
Access
Free
Files written
1
Licence
the repository states none
In the index
at or before 2026-08-22
Last confirmed
today

Go to the source

Docs on edgecom design.edgecom.ai edgecom-ai/design-system on GitHub Raw registry item This item as JSON

More from edgecom

All 66 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
AccordionaccordionedgecomComponentsFree2 deps
AlertalertedgecomComponentsFree1 dep
Alert Dialogalert-dialogedgecomComponentsFree1 dep
AvataravataredgecomComponentsFree1 dep
BadgebadgeedgecomComponentsFree2 deps
BannerbanneredgecomComponentsFree1 dep
BreadcrumbbreadcrumbedgecomComponentsFree2 deps
ButtonbuttonedgecomComponentsFree2 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

KitGrade

SaaS starter kits, scored on what can be checked

kitgrade.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 KitGrade

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 KitGrade

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 KitGrade

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