InputGroupLabel() — ui Function Reference
Architecture documentation for the InputGroupLabel() function in input-group-label.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD e9c0d6eb_2a5d_4199_6e3e_dadfcb33da92["InputGroupLabel()"] eee96ba2_addf_8e9a_acbb_d738aa297957["input-group-label.tsx"] e9c0d6eb_2a5d_4199_6e3e_dadfcb33da92 -->|defined in| eee96ba2_addf_8e9a_acbb_d738aa297957 style e9c0d6eb_2a5d_4199_6e3e_dadfcb33da92 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/new-york-v4/examples/input-group-label.tsx lines 16–50
export default function InputGroupLabel() {
return (
<div className="grid w-full max-w-sm gap-4">
<InputGroup>
<InputGroupInput id="email" placeholder="shadcn" />
<InputGroupAddon>
<Label htmlFor="email">@</Label>
</InputGroupAddon>
</InputGroup>
<InputGroup>
<InputGroupInput id="email-2" placeholder="shadcn@vercel.com" />
<InputGroupAddon align="block-start">
<Label htmlFor="email-2" className="text-foreground">
Email
</Label>
<Tooltip>
<TooltipTrigger asChild>
<InputGroupButton
variant="ghost"
aria-label="Help"
className="ml-auto rounded-full"
size="icon-xs"
>
<InfoIcon />
</InputGroupButton>
</TooltipTrigger>
<TooltipContent>
<p>We'll use this to send you notifications</p>
</TooltipContent>
</Tooltip>
</InputGroupAddon>
</InputGroup>
</div>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does InputGroupLabel() do?
InputGroupLabel() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/examples/input-group-label.tsx.
Where is InputGroupLabel() defined?
InputGroupLabel() is defined in apps/v4/registry/new-york-v4/examples/input-group-label.tsx at line 16.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free