BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/@nivalis/ui/context-menu
This component no longer exists. It was in @nivalis/ui’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-06 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.

ContextMenu

nivalis-ui/context-menu
RemovedComponent

A context-menu component.

Install it

npx shadcn@latest add https://raw.githubusercontent.com/nivalis-studio/nivalis-ui/main/public/r/context-menu.json

Source

registry/niv/ui/context-menu.tsxraw.githubusercontent.com/nivalis-studio/nivalis-ui/main/public/r/context-menu.json · first 6 KB
1'use client';
2
3import {
4 CheckboxItem,
5 Content,
6 Group,
7 Item,
8 ItemIndicator,
9 Label,
10 Portal,
11 RadioGroup,
12 RadioItem,
13 Root,
14 Separator,
15 Sub,
16 SubContent,
17 SubTrigger,
18 Trigger,
19} from '@radix-ui/react-context-menu';
20import { CheckIcon, ChevronRightIcon, CircleIcon } from 'lucide-react';
21import { cn } from '@/lib/classnames';
22import type * as React from 'react';
23
24function ContextMenuRoot({ ...props }: React.ComponentProps<typeof Root>) {
25 return <Root data-slot='context-menu' {...props} />;
26}
27
28function ContextMenuTrigger({
29 ...props
30}: React.ComponentProps<typeof Trigger>) {
31 return <Trigger data-slot='context-menu-trigger' {...props} />;
32}
33
34function ContextMenuGroup({ ...props }: React.ComponentProps<typeof Group>) {
35 return <Group data-slot='context-menu-group' {...props} />;
36}
37
38function ContextMenuPortal({ ...props }: React.ComponentProps<typeof Portal>) {
39 return <Portal data-slot='context-menu-portal' {...props} />;
40}
41
42function ContextMenuSub({ ...props }: React.ComponentProps<typeof Sub>) {
43 return <Sub data-slot='context-menu-sub' {...props} />;
44}
45
46function ContextMenuRadioGroup({
47 ...props
48}: React.ComponentProps<typeof RadioGroup>) {
49 return <RadioGroup data-slot='context-menu-radio-group' {...props} />;
50}
51
52function ContextMenuSubTrigger({
53 className,
54 inset,
55 children,
56 ...props
57}: React.ComponentProps<typeof SubTrigger> & {
58 inset?: boolean;
59}) {
60 return (
61 <SubTrigger
62 className={cn(
63 "flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[inset]:pl-8 data-[state=open]:text-accent-foreground [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0",
64 className,
65 )}
66 data-inset={inset}
67 data-slot='context-menu-sub-trigger'
68 {...props}
69 >
70 {children}
71 <ChevronRightIcon className='ml-auto' />
72 </SubTrigger>
73 );
74}
75
76function ContextMenuSubContent({
77 className,
78 ...props
79}: React.ComponentProps<typeof SubContent>) {
80 return (
81 <SubContent
82 className={cn(
83// … truncated

What it pulls in

npm packages

  • @radix-ui/react-context-menu

Files it writes

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

Facts

Registry
@nivalis/ui
Type
registry:ui
Access
Free
Files written
1
Licence
MIT
In the index
at or before 2026-08-02
Last confirmed
13 days ago

Go to the source

ui.nivalis.studio nivalis-studio/nivalis-ui 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

KitGrade

SaaS starter kits, scored from measured facts

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