Dropdown Menu
Stellt die Radix-Menüprimitive mit den bestehenden Oberflächen-, Abstands- und Fokusrollen bereit.
src/components/ui/dropdown-menu.tsxSource contract in German. The marked authoring notes below retain their original language.
Usage contract
Use directly
Entry point: src/components/ui/dropdown-menu.tsx
- Root, Trigger, Content und Items zusammen verwenden; Links über Radix-Komposition als native Links halten.
- Menüpunkte sind Aktionen/Navigation, keine Formular-Select-Optionen.
Examples
No dedicated demo is assigned. Use the documented entry point and consumers below; this is not evidence of a missing runtime component.
API
Extracted from the source with the TypeScript parser. Inherited and imported types remain references; implementation is authoritative.
DropdownMenu(props: React.ComponentProps<typeof DropdownMenuPrimitive.Root>)DropdownMenuTrigger(props: React.ComponentProps<typeof DropdownMenuPrimitive.Trigger>)DropdownMenuContent({className, sideOffset = 4, ...props}: React.ComponentProps<typeof DropdownMenuPrimitive.Content>)DropdownMenuItem({className, ...props}: React.ComponentProps<typeof DropdownMenuPrimitive.Item>)DropdownMenuLabel({className, ...props}: React.ComponentProps<typeof DropdownMenuPrimitive.Label>)DropdownMenuSeparator({className, ...props}: React.ComponentProps<typeof DropdownMenuPrimitive.Separator>)Source usage
Website reference
This is static source evidence. A reachable module may contain conditional or unused branches. External consumers and staged static pages are outside this scan. No status authorizes deletion.
Website
Documentation
- src/pages/design-system/storybook-patterns.astro
- src/components/PanelHeader.astro
- src/components/islands/PanelMenu.tsx
- src/components/ui/dropdown-menu.tsx
Preview
- src/pages/en/vorschlag/home-mix-r3.astro
- src/components/site/pages/HomeMixPage.astro
- src/components/site/mix/ZainDemo.astro
- src/components/site/mix/DecisionObject.tsx
- src/components/ui/dropdown-menu.tsx
Consumers in source
Direct static, dynamic and type imports. Imports do not prove that a branch renders or that a proposal is published.
Dependencies
react@radix-ui/react-dropdown-menu@/lib/utils·src/lib/utils.ts