Home / File/ skeleton-demo.tsx — ui Source File

skeleton-demo.tsx — ui Source File

Architecture documentation for skeleton-demo.tsx, a tsx file in the ui codebase. 2 imports, 1 dependents.

File tsx DocumentationAtlas SearchAPI 2 imports 1 dependents 1 functions

Entity Profile

Dependency Diagram

graph LR
  a7cc7c7b_df50_f4f6_1304_968800839459["skeleton-demo.tsx"]
  c6d6139d_ea69_3d79_5004_68419bae2ac0["card"]
  a7cc7c7b_df50_f4f6_1304_968800839459 --> c6d6139d_ea69_3d79_5004_68419bae2ac0
  334339cf_a0db_b417_9d88_14840f1e3173["skeleton"]
  a7cc7c7b_df50_f4f6_1304_968800839459 --> 334339cf_a0db_b417_9d88_14840f1e3173
  1c2403dc_4584_9f39_4e98_855a7de18bd1["component-registry.ts"]
  1c2403dc_4584_9f39_4e98_855a7de18bd1 --> a7cc7c7b_df50_f4f6_1304_968800839459
  style a7cc7c7b_df50_f4f6_1304_968800839459 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Card, CardContent, CardHeader } from "@/registry/new-york-v4/ui/card"
import { Skeleton } from "@/registry/new-york-v4/ui/skeleton"

export function SkeletonDemo() {
  return (
    <div className="flex w-full flex-wrap items-start gap-4">
      <div className="flex items-center gap-4">
        <Skeleton className="size-10 shrink-0 rounded-full" />
        <div className="grid gap-2">
          <Skeleton className="h-4 w-[150px]" />
          <Skeleton className="h-4 w-[100px]" />
        </div>
      </div>
      <div className="flex w-full flex-wrap items-start gap-4">
        {Array.from({ length: 3 }).map((_, index) => (
          <Card key={index} className="w-full @md:w-auto @md:min-w-sm">
            <CardHeader>
              <Skeleton className="h-4 w-2/3" />
              <Skeleton className="h-4 w-1/2" />
            </CardHeader>
            <CardContent>
              <Skeleton className="aspect-square w-full" />
            </CardContent>
          </Card>
        ))}
      </div>
    </div>
  )
}

Subdomains

Functions

Dependencies

  • card
  • skeleton

Frequently Asked Questions

What does skeleton-demo.tsx do?
skeleton-demo.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, SearchAPI subdomain.
What functions are defined in skeleton-demo.tsx?
skeleton-demo.tsx defines 1 function(s): SkeletonDemo.
What does skeleton-demo.tsx depend on?
skeleton-demo.tsx imports 2 module(s): card, skeleton.
What files import skeleton-demo.tsx?
skeleton-demo.tsx is imported by 1 file(s): component-registry.ts.
Where is skeleton-demo.tsx in the architecture?
skeleton-demo.tsx is located at apps/v4/app/(internal)/sink/components/skeleton-demo.tsx (domain: DocumentationAtlas, subdomain: SearchAPI, directory: apps/v4/app/(internal)/sink/components).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free