Home / Function/ TooltipWithIcon() — ui Function Reference

TooltipWithIcon() — ui Function Reference

Architecture documentation for the TooltipWithIcon() function in tooltip-example.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  99a2c0aa_9051_e27d_5296_cc596c5ea790["TooltipWithIcon()"]
  3d14a274_e028_a46d_318f_a719a74ee783["tooltip-example.tsx"]
  99a2c0aa_9051_e27d_5296_cc596c5ea790 -->|defined in| 3d14a274_e028_a46d_318f_a719a74ee783
  style 99a2c0aa_9051_e27d_5296_cc596c5ea790 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/radix/examples/tooltip-example.tsx lines 69–91

function TooltipWithIcon() {
  return (
    <Example title="With Icon">
      <Tooltip>
        <TooltipTrigger asChild>
          <Button variant="ghost" size="icon">
            <IconPlaceholder
              lucide="InfoIcon"
              tabler="IconInfoCircle"
              hugeicons="AlertCircleIcon"
              phosphor="InfoIcon"
              remixicon="RiInformationLine"
            />
            <span className="sr-only">Info</span>
          </Button>
        </TooltipTrigger>
        <TooltipContent>
          <p>Additional information</p>
        </TooltipContent>
      </Tooltip>
    </Example>
  )
}

Subdomains

Frequently Asked Questions

What does TooltipWithIcon() do?
TooltipWithIcon() is a function in the ui codebase, defined in apps/v4/registry/bases/radix/examples/tooltip-example.tsx.
Where is TooltipWithIcon() defined?
TooltipWithIcon() is defined in apps/v4/registry/bases/radix/examples/tooltip-example.tsx at line 69.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free