AvatarSizeExample() — ui Function Reference
Architecture documentation for the AvatarSizeExample() function in avatar-size.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD c16b95ec_ee3e_97e5_7521_285662876c29["AvatarSizeExample()"] 06efe59e_57d5_1806_fea3_77c558f53811["avatar-size.tsx"] c16b95ec_ee3e_97e5_7521_285662876c29 -->|defined in| 06efe59e_57d5_1806_fea3_77c558f53811 style c16b95ec_ee3e_97e5_7521_285662876c29 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/base/avatar-size.tsx lines 3–20
export function AvatarSizeExample() {
return (
<div className="flex flex-wrap items-center gap-2 grayscale">
<Avatar size="sm">
<AvatarImage src="https://github.com/shadcn.png" alt="@shadcn" />
<AvatarFallback>CN</AvatarFallback>
</Avatar>
<Avatar>
<AvatarImage src="https://github.com/shadcn.png" alt="@shadcn" />
<AvatarFallback>CN</AvatarFallback>
</Avatar>
<Avatar size="lg">
<AvatarImage src="https://github.com/shadcn.png" alt="@shadcn" />
<AvatarFallback>CN</AvatarFallback>
</Avatar>
</div>
)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does AvatarSizeExample() do?
AvatarSizeExample() is a function in the ui codebase, defined in apps/v4/examples/base/avatar-size.tsx.
Where is AvatarSizeExample() defined?
AvatarSizeExample() is defined in apps/v4/examples/base/avatar-size.tsx at line 3.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free