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

spinner-item.tsx — ui Source File

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

File tsx ComponentRegistry ChartRegistry 4 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  37ed0e06_20d3_34f4_0b2b_1b3f9f4a29f6["spinner-item.tsx"]
  57e86e45_ac6e_7278_be08_9092724e8401["button"]
  37ed0e06_20d3_34f4_0b2b_1b3f9f4a29f6 --> 57e86e45_ac6e_7278_be08_9092724e8401
  58f4fa76_4350_6209_54e6_f19a58e0eda4["item"]
  37ed0e06_20d3_34f4_0b2b_1b3f9f4a29f6 --> 58f4fa76_4350_6209_54e6_f19a58e0eda4
  586bc556_dd23_86ef_eaf4_bdd7855462d9["progress"]
  37ed0e06_20d3_34f4_0b2b_1b3f9f4a29f6 --> 586bc556_dd23_86ef_eaf4_bdd7855462d9
  fbc10cc4_98a7_35a6_e46c_d9966aba9ad2["spinner"]
  37ed0e06_20d3_34f4_0b2b_1b3f9f4a29f6 --> fbc10cc4_98a7_35a6_e46c_d9966aba9ad2
  style 37ed0e06_20d3_34f4_0b2b_1b3f9f4a29f6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Button } from "@/registry/new-york-v4/ui/button"
import {
  Item,
  ItemActions,
  ItemContent,
  ItemDescription,
  ItemFooter,
  ItemMedia,
  ItemTitle,
} from "@/registry/new-york-v4/ui/item"
import { Progress } from "@/registry/new-york-v4/ui/progress"
import { Spinner } from "@/registry/new-york-v4/ui/spinner"

export default function SpinnerItem() {
  return (
    <div className="flex w-full max-w-md flex-col gap-4 [--radius:1rem]">
      <Item variant="outline">
        <ItemMedia variant="icon">
          <Spinner />
        </ItemMedia>
        <ItemContent>
          <ItemTitle>Downloading...</ItemTitle>
          <ItemDescription>129 MB / 1000 MB</ItemDescription>
        </ItemContent>
        <ItemActions className="hidden sm:flex">
          <Button variant="outline" size="sm">
            Cancel
          </Button>
        </ItemActions>
        <ItemFooter>
          <Progress value={75} />
        </ItemFooter>
      </Item>
    </div>
  )
}

Subdomains

Functions

Dependencies

  • button
  • item
  • progress
  • spinner

Frequently Asked Questions

What does spinner-item.tsx do?
spinner-item.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-item.tsx?
spinner-item.tsx defines 1 function(s): SpinnerItem.
What does spinner-item.tsx depend on?
spinner-item.tsx imports 4 module(s): button, item, progress, spinner.
Where is spinner-item.tsx in the architecture?
spinner-item.tsx is located at apps/v4/registry/new-york-v4/examples/spinner-item.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