Tooltip
Stellt Tooltip-Provider, Trigger und Portalinhalt mit den bestehenden Tokenrollen bereit.
src/components/ui/tooltip.tsxSource contract in German. The marked authoring notes below retain their original language.
Usage contract
Use directly
Entry point: src/components/ui/tooltip.tsx
- Wesentliche Informationen nicht ausschließlich im Tooltip verstecken.
- Provider mit den gewünschten Verzögerungen bereitstellen und eine bei Tastaturfokus nutzbare Triggerfläche verwenden.
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.
TooltipProvider({delayDuration = 500, skipDelayDuration = 300, ...props}: React.ComponentProps<typeof TooltipPrimitive.Provider>)Tooltip(props: React.ComponentProps<typeof TooltipPrimitive.Root>)TooltipTrigger(props: React.ComponentProps<typeof TooltipPrimitive.Trigger>)TooltipContent({className, sideOffset = 6, ...props}: React.ComponentProps<typeof TooltipPrimitive.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/PrimitiveDemos.astro
- src/components/islands/DsTooltipDemo.tsx
- src/components/ui/tooltip.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/tooltip.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-tooltip@/lib/utils·src/lib/utils.ts