Home / Function/ TooltipWithKeyboard() — ui Function Reference

TooltipWithKeyboard() — ui Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  2bfb6595_37d9_13cd_ce4a_8fc54b7d7f99["TooltipWithKeyboard()"]
  a3f3753d_bd3f_7cff_b543_7ca14512b6a9["tooltip-example.tsx"]
  2bfb6595_37d9_13cd_ce4a_8fc54b7d7f99 -->|defined in| a3f3753d_bd3f_7cff_b543_7ca14512b6a9
  style 2bfb6595_37d9_13cd_ce4a_8fc54b7d7f99 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/base/examples/tooltip-example.tsx lines 131–152

function TooltipWithKeyboard() {
  return (
    <Example title="With Keyboard Shortcut">
      <Tooltip>
        <TooltipTrigger render={<Button variant="outline" size="icon-sm" />}>
          <IconPlaceholder
            lucide="SaveIcon"
            tabler="IconDeviceFloppy"
            hugeicons="FloppyDiskIcon"
            phosphor="FloppyDiskIcon"
            remixicon="RiSaveLine"
          />
        </TooltipTrigger>
        <TooltipContent className="pr-1.5">
          <div className="flex items-center gap-2">
            Save Changes <Kbd>S</Kbd>
          </div>
        </TooltipContent>
      </Tooltip>
    </Example>
  )
}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free