Home / File/ avatar-size.tsx — ui Source File

avatar-size.tsx — ui Source File

Architecture documentation for avatar-size.tsx, a tsx file in the ui codebase. 1 imports, 0 dependents.

File tsx DocumentationAtlas ContentSourcing 1 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  06efe59e_57d5_1806_fea3_77c558f53811["avatar-size.tsx"]
  00c9789a_2f63_b98d_c90d_4d6abf3582ce["avatar"]
  06efe59e_57d5_1806_fea3_77c558f53811 --> 00c9789a_2f63_b98d_c90d_4d6abf3582ce
  style 06efe59e_57d5_1806_fea3_77c558f53811 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Avatar, AvatarFallback, AvatarImage } from "@/examples/base/ui/avatar"

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>
  )
}

Subdomains

Dependencies

  • avatar

Frequently Asked Questions

What does avatar-size.tsx do?
avatar-size.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 avatar-size.tsx?
avatar-size.tsx defines 1 function(s): AvatarSizeExample.
What does avatar-size.tsx depend on?
avatar-size.tsx imports 1 module(s): avatar.
Where is avatar-size.tsx in the architecture?
avatar-size.tsx is located at apps/v4/examples/base/avatar-size.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