Install
$ agentstack add skill-serverpod-skills-registry-shadcn-ui-context-menu ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Shadcn UI — Context Menu
Instructions
ShadContextMenuRegion wraps a child and shows a menu on right-click. Set items to a list of ShadContextMenuItem or ShadContextMenuItem.inset. Use ShadContextMenuItem with items for submenus; use Divider(height: 8) and Padding for sections and labels.
Basic usage
ShadContextMenuRegion(
constraints: const BoxConstraints(minWidth: 300),
items: [
const ShadContextMenuItem.inset(child: Text('Back')),
const ShadContextMenuItem.inset(
enabled: false,
child: Text('Forward'),
),
const ShadContextMenuItem.inset(child: Text('Reload')),
const ShadContextMenuItem.inset(
trailing: Icon(LucideIcons.chevronRight),
items: [
ShadContextMenuItem(child: Text('Save Page As...')),
ShadContextMenuItem(child: Text('Create Shortcut...')),
ShadContextMenuItem(child: Text('Developer Tools')),
Divider(height: 8),
ShadContextMenuItem(child: Text('Developer Tools')),
],
child: Text('More Tools'),
),
const Divider(height: 8),
const ShadContextMenuItem(
leading: Icon(LucideIcons.check),
child: Text('Show Bookmarks Bar'),
),
const ShadContextMenuItem.inset(child: Text('Show Full URLs')),
const Divider(height: 8),
Padding(
padding: const EdgeInsets.fromLTRB(36, 8, 8, 8),
child: Text('People', style: theme.textTheme.small),
),
ShadContextMenuItem(
leading: /* avatar or icon */,
child: const Text('Pedro Duarte'),
),
const ShadContextMenuItem.inset(child: Text('Colm Tuite')),
],
child: Container(
width: 300,
height: 200,
alignment: Alignment.center,
decoration: BoxDecoration(
border: Border.all(color: theme.colorScheme.border),
borderRadius: BorderRadius.circular(8),
),
child: const Text('Right click here'),
),
)
Use ShadContextMenuItem for items with leading/trailing; ShadContextMenuItem.inset for indented items. Nest items for submenus.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: serverpod
- Source: serverpod/skills-registry
- License: BSD-3-Clause
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.