InputGroupTooltip() — ui Function Reference
Architecture documentation for the InputGroupTooltip() function in input-group-tooltip.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD f1e6686b_e081_dd65_63be_8f1ee2024fa1["InputGroupTooltip()"] a3ca1f7f_c456_f244_03bd_11832b52cb9e["input-group-tooltip.tsx"] f1e6686b_e081_dd65_63be_8f1ee2024fa1 -->|defined in| a3ca1f7f_c456_f244_03bd_11832b52cb9e style f1e6686b_e081_dd65_63be_8f1ee2024fa1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/new-york-v4/examples/input-group-tooltip.tsx lines 15–77
export default function InputGroupTooltip() {
return (
<div className="grid w-full max-w-sm gap-4">
<InputGroup>
<InputGroupInput placeholder="Enter password" type="password" />
<InputGroupAddon align="inline-end">
<Tooltip>
<TooltipTrigger asChild>
<InputGroupButton
variant="ghost"
aria-label="Info"
size="icon-xs"
>
<InfoIcon />
</InputGroupButton>
</TooltipTrigger>
<TooltipContent>
<p>Password must be at least 8 characters</p>
</TooltipContent>
</Tooltip>
</InputGroupAddon>
</InputGroup>
<InputGroup>
<InputGroupInput placeholder="Your email address" />
<InputGroupAddon align="inline-end">
<Tooltip>
<TooltipTrigger asChild>
<InputGroupButton
variant="ghost"
aria-label="Help"
size="icon-xs"
>
<HelpCircle />
</InputGroupButton>
</TooltipTrigger>
<TooltipContent>
<p>We'll use this to send you notifications</p>
</TooltipContent>
</Tooltip>
</InputGroupAddon>
</InputGroup>
<InputGroup>
<InputGroupInput placeholder="Enter API key" />
<Tooltip>
<TooltipTrigger asChild>
<InputGroupAddon>
<InputGroupButton
variant="ghost"
aria-label="Help"
size="icon-xs"
>
<HelpCircle />
</InputGroupButton>
</InputGroupAddon>
</TooltipTrigger>
<TooltipContent side="left">
<p>Click for help with API keys</p>
</TooltipContent>
</Tooltip>
</InputGroup>
</div>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does InputGroupTooltip() do?
InputGroupTooltip() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/examples/input-group-tooltip.tsx.
Where is InputGroupTooltip() defined?
InputGroupTooltip() is defined in apps/v4/registry/new-york-v4/examples/input-group-tooltip.tsx at line 15.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free