BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/Animate UI/components-base-menu

Menu

animate-ui/components-base-menu
FreeComponent

A list of actions in a dropdown, enhanced with keyboard navigation.

Install it

npx shadcn@latest add https://animate-ui.com/r/components-base-menu.json

Source

registry/components/base/menu/index.tsxanimate-ui.com/r/components-base-menu.json · first 6 KB
1import * as React from 'react';
2
3import {
4 Menu as MenuPrimitive,
5 MenuTrigger as MenuTriggerPrimitive,
6 MenuPortal as MenuPortalPrimitive,
7 MenuPopup as MenuPopupPrimitive,
8 MenuPositioner as MenuPositionerPrimitive,
9 MenuGroup as MenuGroupPrimitive,
10 MenuGroupLabel as MenuGroupLabelPrimitive,
11 MenuArrow as MenuArrowPrimitive,
12 MenuItem as MenuItemPrimitive,
13 MenuCheckboxItem as MenuCheckboxItemPrimitive,
14 MenuCheckboxItemIndicator as MenuCheckboxItemIndicatorPrimitive,
15 MenuRadioGroup as MenuRadioGroupPrimitive,
16 MenuRadioItem as MenuRadioItemPrimitive,
17 MenuRadioItemIndicator as MenuRadioItemIndicatorPrimitive,
18 MenuHighlightItem as MenuHighlightItemPrimitive,
19 MenuHighlight as MenuHighlightPrimitive,
20 MenuSeparator as MenuSeparatorPrimitive,
21 MenuShortcut as MenuShortcutPrimitive,
22 MenuSubmenu as MenuSubmenuPrimitive,
23 MenuSubmenuTrigger as MenuSubmenuTriggerPrimitive,
24 type MenuProps as MenuPrimitiveProps,
25 type MenuTriggerProps as MenuTriggerPrimitiveProps,
26 type MenuPortalProps as MenuPortalPrimitiveProps,
27 type MenuPopupProps as MenuPopupPrimitiveProps,
28 type MenuPositionerProps as MenuPositionerPrimitiveProps,
29 type MenuGroupProps as MenuGroupPrimitiveProps,
30 type MenuGroupLabelProps as MenuGroupLabelPrimitiveProps,
31 type MenuArrowProps as MenuArrowPrimitiveProps,
32 type MenuItemProps as MenuItemPrimitiveProps,
33 type MenuCheckboxItemProps as MenuCheckboxItemPrimitiveProps,
34 type MenuRadioGroupProps as MenuRadioGroupPrimitiveProps,
35 type MenuRadioItemProps as MenuRadioItemPrimitiveProps,
36 type MenuSeparatorProps as MenuSeparatorPrimitiveProps,
37 type MenuShortcutProps as MenuShortcutPrimitiveProps,
38 type MenuSubmenuProps as MenuSubmenuPrimitiveProps,
39 type MenuSubmenuTriggerProps as MenuSubmenuTriggerPrimitiveProps,
40} from '@/components/animate-ui/primitives/base/menu';
41import { cn } from '@/lib/utils';
42import { CheckIcon, ChevronRightIcon, CircleIcon } from 'lucide-react';
43
44type MenuProps = MenuPrimitiveProps;
45
46function Menu(props: MenuProps) {
47 return <MenuPrimitive {...props} />;
48}
49
50type MenuTriggerProps = MenuTriggerPrimitiveProps;
51
52function MenuTrigger(props: MenuTriggerProps) {
53 return <MenuTriggerPrimitive {...props} />;
54}
55
56type MenuPortalProps = MenuPortalPrimitiveProps;
57
58function MenuPortal(props: MenuPortalProps) {
59 return <MenuPortalPrimitive {...props} />;
60}
61
62type MenuPanelProps = MenuPopupPrimitiveProps & MenuPositionerPrimitiveProps;
63
64function MenuPanel({
65 className,
66 finalFocus,
67 id,
68// … truncated

What it pulls in

Other registry items

  • @animate-ui/primitives-base-menu

Files it writes

  • registry/components/base/menu/index.tsx

Facts

Registry
Animate UI
Type
registry:ui
Access
Free
Files written
1
Licence
the repository states none
First indexed
2026-08-03
Last confirmed
yesterday

Go to the source

animate-ui.com imskyleen/animate-ui on GitHub Raw registry item This item as JSON

More from Animate UI

All 580 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Avatar Groupcomponents-animate-avatar-groupAnimate UIComponentsFree1 dep
Codecomponents-animate-codeAnimate UIComponentsFree1 dep
Code Tabscomponents-animate-code-tabsAnimate UIComponentsFree1 dep
Cursorcomponents-animate-cursorAnimate UIComponentsFreeno deps
GitHub Stars Wheelcomponents-animate-github-stars-wheelAnimate UIComponentsFree1 dep
Tabscomponents-animate-tabsAnimate UIComponentsFreeno deps
Tooltipcomponents-animate-tooltipAnimate UIComponentsFree1 dep
Bubble Backgroundcomponents-backgrounds-bubbleAnimate UIComponentsFree1 dep
BlockDex

Built by

Kynth Studio

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

BlockDex

BlockDex

Built by

Kynth Studio

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

BlockDex

BlockDex

Built by

Kynth Studio

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

BlockDex