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 DocumentationAtlas Changelog 2 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  398626b6_bab1_9c05_1102_ac7edd1c0b23["spinner-demo.tsx"]
  6dd5189d_43e3_a38a_acbe_4ea1ae186ae2["item"]
  398626b6_bab1_9c05_1102_ac7edd1c0b23 --> 6dd5189d_43e3_a38a_acbe_4ea1ae186ae2
  5da53097_7aa6_9ed0_215a_95e7f853f3a4["spinner"]
  398626b6_bab1_9c05_1102_ac7edd1c0b23 --> 5da53097_7aa6_9ed0_215a_95e7f853f3a4
  style 398626b6_bab1_9c05_1102_ac7edd1c0b23 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import {
  Item,
  ItemContent,
  ItemMedia,
  ItemTitle,
} from "@/examples/base/ui/item"
import { Spinner } from "@/examples/base/ui/spinner"

export 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 DocumentationAtlas domain, Changelog 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/examples/base/spinner-demo.tsx (domain: DocumentationAtlas, subdomain: Changelog, 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