tooltip-sides.tsx — ui Source File
Architecture documentation for tooltip-sides.tsx, a tsx file in the ui codebase. 2 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 0aa0c0e9_4363_0b74_b568_9ed8017f126a["tooltip-sides.tsx"] 4544fa74_9b37_0912_c55e_f4ff161b8e83["button"] 0aa0c0e9_4363_0b74_b568_9ed8017f126a --> 4544fa74_9b37_0912_c55e_f4ff161b8e83 9612f2e9_e46d_ea6f_58cb_6612bdce7491["tooltip"] 0aa0c0e9_4363_0b74_b568_9ed8017f126a --> 9612f2e9_e46d_ea6f_58cb_6612bdce7491 style 0aa0c0e9_4363_0b74_b568_9ed8017f126a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { Button } from "@/examples/base/ui/button"
import {
Tooltip,
TooltipContent,
TooltipTrigger,
} from "@/examples/base/ui/tooltip"
export function TooltipSides() {
return (
<div className="flex flex-wrap gap-2">
{(["left", "top", "bottom", "right"] as const).map((side) => (
<Tooltip key={side}>
<TooltipTrigger
render={<Button variant="outline" className="w-fit capitalize" />}
>
{side}
</TooltipTrigger>
<TooltipContent side={side}>
<p>Add to library</p>
</TooltipContent>
</Tooltip>
))}
</div>
)
}
Domain
Subdomains
Functions
Dependencies
- button
- tooltip
Source
Frequently Asked Questions
What does tooltip-sides.tsx do?
tooltip-sides.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, ContentSourcing subdomain.
What functions are defined in tooltip-sides.tsx?
tooltip-sides.tsx defines 1 function(s): TooltipSides.
What does tooltip-sides.tsx depend on?
tooltip-sides.tsx imports 2 module(s): button, tooltip.
Where is tooltip-sides.tsx in the architecture?
tooltip-sides.tsx is located at apps/v4/examples/base/tooltip-sides.tsx (domain: DocumentationAtlas, subdomain: ContentSourcing, directory: apps/v4/examples/base).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free