Home / Function/ KbdInTooltip() — ui Function Reference

KbdInTooltip() — ui Function Reference

Architecture documentation for the KbdInTooltip() function in kbd-example.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  69db1852_a9a9_7737_b073_cd7b2aa887ea["KbdInTooltip()"]
  7d86731d_04ad_49e7_fa2b_0b218824c453["kbd-example.tsx"]
  69db1852_a9a9_7737_b073_cd7b2aa887ea -->|defined in| 7d86731d_04ad_49e7_fa2b_0b218824c453
  style 69db1852_a9a9_7737_b073_cd7b2aa887ea fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/base/examples/kbd-example.tsx lines 161–182

function KbdInTooltip() {
  return (
    <Example title="Tooltip">
      <Tooltip>
        <TooltipTrigger render={<Button size="icon-sm" variant="outline" />}>
          <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 KbdInTooltip() do?
KbdInTooltip() is a function in the ui codebase, defined in apps/v4/registry/bases/base/examples/kbd-example.tsx.
Where is KbdInTooltip() defined?
KbdInTooltip() is defined in apps/v4/registry/bases/base/examples/kbd-example.tsx at line 161.

Analyze Your Own Codebase

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

Try Supermodel Free