Component
Tooltip
Provides supplemental context when a control is hovered or focused.
Install
Run the CLI to copy the source into your project.
pnpm dlx @stalk-ui/cli add @stalk-ui/tooltipExamples
Live previews render through the docs app's PandaCSS codegen.
<Tooltip.Provider> <Tooltip.Root> <Tooltip.Trigger>Help</Tooltip.Trigger> <Tooltip.Content>Helpful context</Tooltip.Content> </Tooltip.Root> </Tooltip.Provider>
<Tooltip.Provider> <Tooltip.Root defaultOpen> <Tooltip.Trigger>Pinned</Tooltip.Trigger> <Tooltip.Content side="bottom">Visible by default</Tooltip.Content> </Tooltip.Root> </Tooltip.Provider>
Props
Public component props extracted from the source TypeScript types.
No component-specific props are documented yet — the component accepts the underlying element's standard props.
Variants
Variant axes exposed by the underlying PandaCSS recipe or slot recipe.
No recipe variants are documented for this component.
Registry
Files this component contributes to your registry install.
- Manifest: `/r/tooltip.json`
- Recipe: `tooltip`
- Files: `src/components/ui/tooltip.tsx`