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

spinner-badge.tsx — ui Source File

Architecture documentation for spinner-badge.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
  befcc7cd_de15_dfc4_7493_3cbe6dc2d4ac["spinner-badge.tsx"]
  4c79c55d_d834_3cdd_ce17_cc4f4eb47d55["badge"]
  befcc7cd_de15_dfc4_7493_3cbe6dc2d4ac --> 4c79c55d_d834_3cdd_ce17_cc4f4eb47d55
  fbc10cc4_98a7_35a6_e46c_d9966aba9ad2["spinner"]
  befcc7cd_de15_dfc4_7493_3cbe6dc2d4ac --> fbc10cc4_98a7_35a6_e46c_d9966aba9ad2
  style befcc7cd_de15_dfc4_7493_3cbe6dc2d4ac fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Badge } from "@/registry/new-york-v4/ui/badge"
import { Spinner } from "@/registry/new-york-v4/ui/spinner"

export default function SpinnerBadge() {
  return (
    <div className="flex items-center gap-4 [--radius:1.2rem]">
      <Badge>
        <Spinner />
        Syncing
      </Badge>
      <Badge variant="secondary">
        <Spinner />
        Updating
      </Badge>
      <Badge variant="outline">
        <Spinner />
        Processing
      </Badge>
    </div>
  )
}

Subdomains

Functions

Dependencies

  • badge
  • spinner

Frequently Asked Questions

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