BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/aurora/aurora-dropdown-menu

Aurora Dropdown Menu

aurora-dinglebear-ai/aurora-dropdown-menu
UnverifiedComponent

Floating dropdown menu with Aurora panel-strong surface, hover-bg items, and keyboard navigation.

Install it

npx shadcn@latest add https://raw.githubusercontent.com/dinglebear-ai/aurora/main/aurora-dropdown-menu.json

Source

registry/aurora/ui/dropdown-menu.tsxraw.githubusercontent.com/dinglebear-ai/aurora/main/aurora-dropdown-menu.json · first 6 KB
1"use client"
2
3/**
4 * Aurora Design System — Dropdown Menu
5 * peer dep: @radix-ui/react-dropdown-menu
6 */
7
8import * as React from "react"
9import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu"
10import { Check, ChevronRight, Circle } from "lucide-react"
11import { cn } from "@/lib/utils"
12import { usePortalContainer } from "@/registry/aurora/lib/portal-container"
13
14// ─── Shared menu content styles ───────────────────────────────────────────────
15
16const menuContentStyle: React.CSSProperties = {
17 backgroundColor: "var(--aurora-panel-strong)",
18 borderColor: "var(--aurora-border-strong)",
19 boxShadow:
20 "var(--aurora-shadow-strong), var(--aurora-highlight-medium)",
21 color: "var(--aurora-text-primary)",
22}
23
24const menuItemBase = [
25 "relative flex cursor-pointer select-none items-center gap-2",
26 "rounded-[6px] px-2 py-2 outline-none",
27 "transition-colors duration-100",
28].join(" ")
29
30const menuTextStyle: React.CSSProperties = {
31 fontFamily: "var(--aurora-font-sans)",
32 fontSize: "var(--aurora-type-control)",
33 fontWeight: "var(--aurora-weight-ui)",
34 letterSpacing: "var(--aurora-letter-ui)",
35 lineHeight: "var(--aurora-line-dense)",
36}
37
38// ─── Root primitives ──────────────────────────────────────────────────────────
39
40// Inside a scoped preview container, force non-modal so an auto-open menu
41// preview never scroll-locks / focus-traps the surrounding page (mirrors Drawer).
42function DropdownMenu({ ...rootProps }: React.ComponentProps<typeof DropdownMenuPrimitive.Root>) {
43 const portalContainer = usePortalContainer()
44 return <DropdownMenuPrimitive.Root {...rootProps} modal={portalContainer ? false : rootProps.modal} />
45}
46
47const DropdownMenuTrigger = DropdownMenuPrimitive.Trigger
48const DropdownMenuGroup = DropdownMenuPrimitive.Group
49const DropdownMenuPortal = DropdownMenuPrimitive.Portal
50const DropdownMenuSub = DropdownMenuPrimitive.Sub
51const DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup
52
53// ─── Content ──────────────────────────────────────────────────────────────────
54
55// … truncated

What it pulls in

npm packages

  • @radix-ui/react-dropdown-menu@^2.1.16
  • lucide-react@^0.487.0

Other registry items

  • @aurora/aurora-tokens
  • @aurora/aurora-portal-container

Files it writes

  • registry/aurora/ui/dropdown-menu.tsx

Facts

Registry
aurora
Type
registry:ui
Access
Unverified
Files written
1
Licence
AGPL-3.0
In the index
at or before 2026-08-12
Last confirmed
today

Go to the source

aurora.dinglebear.ai dinglebear-ai/aurora on GitHub Raw registry item This item as JSON

More from aurora

All 176 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Aurora Accordionaurora-accordionauroraComponentsUnverified2 deps
Aurora Alert Dialogaurora-alert-dialogauroraComponentsUnverified2 deps
Aurora Aspect Ratioaurora-aspect-ratioauroraComponentsUnverifiedno deps
Aurora Avataraurora-avatarauroraComponentsUnverified1 dep
Aurora Badgeaurora-badgeauroraComponentsUnverified2 deps
Aurora Banneraurora-bannerauroraComponentsUnverified1 dep
Aurora Breadcrumbaurora-breadcrumbauroraComponentsUnverified2 deps
Aurora Buttonaurora-buttonauroraComponentsUnverified2 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

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