Popover
Stellt Root, Trigger und Portal-Inhalt einer nichtmodalen Radix-Vorschau bereit.
src/components/ui/popover.tsxSource contract in German. The marked authoring notes below retain their original language.
Usage contract
Use directly
Entry point: src/components/ui/popover.tsx
- Nicht mit einem modalen Dialog verwechseln; zugänglichen Namen und sinnvolle Fokusübergabe im Verbraucher festlegen.
- sideOffset ist ein vorhandener Prop, zusätzliche Positionierung bleibt Radix-API.
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.
Popover(props: React.ComponentProps<typeof PopoverPrimitive.Root>)PopoverTrigger(props: React.ComponentProps<typeof PopoverPrimitive.Trigger>)PopoverContent({className, sideOffset = 6, ...props}: React.ComponentProps<typeof PopoverPrimitive.Content>)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/[category].astro
- src/components/ds/DesignSystemPage.astro
- src/components/ds/ControlDemos.astro
- src/components/islands/Term.tsx
- src/components/ui/popover.tsx
Preview
- src/pages/vorschlag/platform-ueberblick-lab.astro
- src/components/site/platform-overview/OverviewContext.astro
- src/components/case/CaseHead.astro
- src/components/islands/PlatformHeroLead.tsx
- src/components/ui/popover.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-popover@/lib/utils·src/lib/utils.ts