BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/edgecom/navigation-menu

Navigation Menu

edgecom/navigation-menu
FreeComponent

The Edgecom Navigation Menu component.

Live preview

live · rendered by the registry
Rendered by edgecom on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://design.edgecom.ai/r/navigation-menu.json

Source

src/components/ui/navigation-menu.tsxdesign.edgecom.ai/r/navigation-menu.json · first 6 KB
1import { NavigationMenu as NavigationMenuPrimitive } from "@base-ui/react/navigation-menu"
2import { cva } from "class-variance-authority"
3
4import { cn } from "@/lib/utils"
5import { ChevronDownIcon } from "lucide-react"
6
7function NavigationMenu({
8 align = "start",
9 className,
10 children,
11 ...props
12}: NavigationMenuPrimitive.Root.Props &
13 Pick<NavigationMenuPrimitive.Positioner.Props, "align">) {
14 return (
15 <NavigationMenuPrimitive.Root
16 data-slot="navigation-menu"
17 className={cn(
18 "group/navigation-menu relative flex max-w-max flex-1 items-center justify-center",
19 className
20 )}
21 {...props}
22 >
23 {children}
24 <NavigationMenuPositioner align={align} />
25 </NavigationMenuPrimitive.Root>
26 )
27}
28
29function NavigationMenuList({
30 className,
31 ...props
32}: React.ComponentPropsWithRef<typeof NavigationMenuPrimitive.List>) {
33 return (
34 <NavigationMenuPrimitive.List
35 data-slot="navigation-menu-list"
36 className={cn(
37 "group flex flex-1 list-none items-center justify-center gap-0",
38 className
39 )}
40 {...props}
41 />
42 )
43}
44
45function NavigationMenuItem({
46 className,
47 ...props
48}: React.ComponentPropsWithRef<typeof NavigationMenuPrimitive.Item>) {
49 return (
50 <NavigationMenuPrimitive.Item
51 data-slot="navigation-menu-item"
52 className={cn("relative", className)}
53 {...props}
54 />
55 )
56}
57
58const navigationMenuTriggerStyle = cva(
59 "group/navigation-menu-trigger inline-flex h-9 w-max items-center justify-center rounded-lg px-2.5 py-1.5 text-sm font-medium transition-all outline-none hover:bg-muted focus:bg-muted focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-popup-open:bg-muted/50 data-popup-open:hover:bg-muted data-open:bg-muted/50 data-open:hover:bg-muted data-open:focus:bg-muted"
60)
61
62function NavigationMenuTrigger({
63 className,
64 children,
65 ...props
66}: NavigationMenuPrimitive.Trigger.Props) {
67 return (
68 <NavigationMenuPrimitive.Trigger
69 data-slot="navigation-menu-trigger"
70 className={cn(navigationMenuTriggerStyle(), "group", className)}
71 {...props}
72 >
73 {children}{" "}
74 <ChevronDownIcon className="relative top-px ml-1 size-3 transition duration-300 group-data-popup-open/navigation-menu-trigger:rotate-180 group-data-open/navigation-menu-trigger:rotate-180" aria-hidden="true" />
75 </NavigationMenuPrimitive.Trigger>
76 )
77}
78
79function NavigationMenuContent({
80// … truncated

What it pulls in

npm packages

  • @base-ui/react
  • class-variance-authority
  • lucide-react

Other registry items

  • edgecom-ai/design-system/theme

Files it writes

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

Facts

Registry
edgecom
Type
registry:ui
Access
Free
Files written
1
Licence
the repository states none
In the index
at or before 2026-08-22
Last confirmed
today

Go to the source

Docs on edgecom design.edgecom.ai edgecom-ai/design-system on GitHub Raw registry item This item as JSON

More from edgecom

All 66 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
AccordionaccordionedgecomComponentsFree2 deps
AlertalertedgecomComponentsFree1 dep
Alert Dialogalert-dialogedgecomComponentsFree1 dep
AvataravataredgecomComponentsFree1 dep
BadgebadgeedgecomComponentsFree2 deps
BannerbanneredgecomComponentsFree1 dep
BreadcrumbbreadcrumbedgecomComponentsFree2 deps
ButtonbuttonedgecomComponentsFree2 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

KitGrade

SaaS starter kits, scored on what can be checked

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