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

spinner-demo.tsx — ui Source File

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

File tsx ComponentRegistry ChartRegistry 2 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  f7ce2bcd_3d25_9f8d_14b2_80cc71221c45["spinner-demo.tsx"]
  58f4fa76_4350_6209_54e6_f19a58e0eda4["item"]
  f7ce2bcd_3d25_9f8d_14b2_80cc71221c45 --> 58f4fa76_4350_6209_54e6_f19a58e0eda4
  fbc10cc4_98a7_35a6_e46c_d9966aba9ad2["spinner"]
  f7ce2bcd_3d25_9f8d_14b2_80cc71221c45 --> fbc10cc4_98a7_35a6_e46c_d9966aba9ad2
  style f7ce2bcd_3d25_9f8d_14b2_80cc71221c45 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import {
  Item,
  ItemContent,
  ItemMedia,
  ItemTitle,
} from "@/registry/new-york-v4/ui/item"
import { Spinner } from "@/registry/new-york-v4/ui/spinner"

export default function SpinnerDemo() {
  return (
    <div className="flex w-full max-w-xs flex-col gap-4 [--radius:1rem]">
      <Item variant="muted">
        <ItemMedia>
          <Spinner />
        </ItemMedia>
        <ItemContent>
          <ItemTitle className="line-clamp-1">Processing payment...</ItemTitle>
        </ItemContent>
        <ItemContent className="flex-none justify-end">
          <span className="text-sm tabular-nums">$100.00</span>
        </ItemContent>
      </Item>
    </div>
  )
}

Subdomains

Functions

Dependencies

  • item
  • spinner

Frequently Asked Questions

What does spinner-demo.tsx do?
spinner-demo.tsx is a source file in the ui codebase, written in tsx. It belongs to the ComponentRegistry domain, ChartRegistry subdomain.
What functions are defined in spinner-demo.tsx?
spinner-demo.tsx defines 1 function(s): SpinnerDemo.
What does spinner-demo.tsx depend on?
spinner-demo.tsx imports 2 module(s): item, spinner.
Where is spinner-demo.tsx in the architecture?
spinner-demo.tsx is located at apps/v4/registry/new-york-v4/examples/spinner-demo.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: apps/v4/registry/new-york-v4/examples).

Analyze Your Own Codebase

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

Try Supermodel Free