jsp-dsv0.1

Dropdown menushadcn

A list of actions or options behind a button.

Actions
Install
npx shadcn add dropdown-menu
Import from
@/components/ui/dropdown-menu
Guidance
draft · v0.1.0

Examples

As installed from shadcn – rendering in jsp-ds tokens through the bridge.

An account menu: a label, grouped actions and a destructive item last.
Row actions behind an icon button, with a checkable option.

Guidance

Spec

The variables this component reads, and the jsp-ds token behind each, resolved live. Switch mode to see them change.

TokenCSS variableValue now
color.surface.defaultT-3: surface.overlay to come--popover…
color.text.default--popover-foreground…
color.border.subtle--border…
shadow.lg--shadow-lg…

Install

Terminal
npx shadcn add dropdown-menu
Import
import { DropdownMenu } from "@/components/ui/dropdown-menu"

From shadcn’s own registry. Don’t edit the installed file – jsp-ds styles it through the bridge, and fixes go in styles/overrides.css with an issue.