Documentation / Components · Primitives

TooltipContent

TooltipContent renders the tooltip content part of the tooltip composition..

ROM UI 0.1.0-alpha.7 Markdown

TooltipContent renders the tooltip content part of the tooltip composition.

Public import

svelte
<script lang="ts">
  import { TooltipContent } from "rom-ui/primitives/tooltip";
  import "rom-studio/styles";
</script>

Composition and responsibility

Use this part with exports from the same primitive family. Interactive roots own shared interaction state. Content parts render the corresponding region.

Public names: Content, TooltipContent.

Declared props

This declaration comes from the installed package. Imported types retain their upstream meaning.

ts
type Props = TooltipPrimitive.ContentProps & {
		arrowClasses?: string;
		portalProps?: WithoutChildrenOrChild<ComponentProps<typeof TooltipPortal>>;
	};

Source and version

ROM UI 0.1.0-alpha.7. Component source.

See the composition guide for host integration boundaries.

This page follows the captured repository source.View the source