BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/gymnopedies/dropdown-menu

Dropdown Menu

gymnopedies/dropdown-menu
FreeComponent

Dropdown Menu — gymnopédies-themed shadcn primitive.

Install it

npx shadcn@latest add https://gymnopedies.shoota.work/r/dropdown-menu.json

Source

src/components/ui/dropdown-menu.tsxgymnopedies.shoota.work/r/dropdown-menu.json · first 6 KB
1import * as React from "react"
2import { Menu as MenuPrimitive } from "@base-ui/react/menu"
3
4import { cn } from "@/lib/utils"
5import { ChevronRightIcon, CheckIcon } from "lucide-react"
6
7function DropdownMenu({ ...props }: MenuPrimitive.Root.Props) {
8 return <MenuPrimitive.Root data-slot="dropdown-menu" {...props} />
9}
10
11function DropdownMenuPortal({ ...props }: MenuPrimitive.Portal.Props) {
12 return <MenuPrimitive.Portal data-slot="dropdown-menu-portal" {...props} />
13}
14
15function DropdownMenuTrigger({ ...props }: MenuPrimitive.Trigger.Props) {
16 return <MenuPrimitive.Trigger data-slot="dropdown-menu-trigger" {...props} />
17}
18
19function DropdownMenuContent({
20 align = "start",
21 alignOffset = 0,
22 side = "bottom",
23 sideOffset = 4,
24 className,
25 ...props
26}: MenuPrimitive.Popup.Props &
27 Pick<
28 MenuPrimitive.Positioner.Props,
29 "align" | "alignOffset" | "side" | "sideOffset"
30 >) {
31 return (
32 <MenuPrimitive.Portal>
33 <MenuPrimitive.Positioner
34 className="isolate z-50 outline-none"
35 align={align}
36 alignOffset={alignOffset}
37 side={side}
38 sideOffset={sideOffset}
39 >
40 <MenuPrimitive.Popup
41 data-slot="dropdown-menu-content"
42 className={cn("z-50 max-h-(--available-height) w-(--anchor-width) min-w-32 origin-(--transform-origin) overflow-x-hidden overflow-y-auto 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", className )}
43 {...props}
44 />
45 </MenuPrimitive.Positioner>
46 </MenuPrimitive.Portal>
47 )
48}
49
50function DropdownMenuGroup({ ...props }: MenuPrimitive.Group.Props) {
51 return <MenuPrimitive.Group data-slot="dropdown-menu-group" {...props} />
52}
53
54function DropdownMenuLabel({
55 className,
56 inset,
57 ...props
58}: MenuPrimitive.GroupLabel.Props & {
59 inset?: boolean
60}) {
61 return (
62 <MenuPrimitive.GroupLabel
63 data-slot="dropdown-menu-label"
64 data-inset={inset}
65 className={cn(
66 "px-1.5 py-1 text-xs font-medium text-muted-foreground data-inset:pl-7",
67 className
68 )}
69// … truncated

What it pulls in

npm packages

  • @base-ui/react
  • lucide-react

Other registry items

  • https://gymnopedies.shoota.work/r/utils.json

Files it writes

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

Facts

Registry
gymnopedies
Type
registry:ui
Access
Free
Files written
1
Licence
MIT
In the index
at or before 2026-08-12
Last confirmed
yesterday

Go to the source

gymnopedies.shoota.work shoota/gymnopedies on GitHub Raw registry item This item as JSON

More from gymnopedies

All 49 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
AccordionaccordiongymnopediesComponentsFree2 deps
AlertalertgymnopediesComponentsFree1 dep
Alert Dialogalert-dialoggymnopediesComponentsFree1 dep
ArticlearticlegymnopediesComponentsFreeno deps
Aspect Ratioaspect-ratiogymnopediesComponentsFreeno deps
AvataravatargymnopediesComponentsFree1 dep
BadgebadgegymnopediesComponentsFree2 deps
BreadcrumbbreadcrumbgymnopediesComponentsFree2 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