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

spinner-button.tsx — ui Source File

Architecture documentation for spinner-button.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
  339d5e42_f64a_2ae3_6e44_6e65c1131923["spinner-button.tsx"]
  57e86e45_ac6e_7278_be08_9092724e8401["button"]
  339d5e42_f64a_2ae3_6e44_6e65c1131923 --> 57e86e45_ac6e_7278_be08_9092724e8401
  fbc10cc4_98a7_35a6_e46c_d9966aba9ad2["spinner"]
  339d5e42_f64a_2ae3_6e44_6e65c1131923 --> fbc10cc4_98a7_35a6_e46c_d9966aba9ad2
  style 339d5e42_f64a_2ae3_6e44_6e65c1131923 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Button } from "@/registry/new-york-v4/ui/button"
import { Spinner } from "@/registry/new-york-v4/ui/spinner"

export default function SpinnerButton() {
  return (
    <div className="flex flex-col items-center gap-4">
      <Button disabled size="sm">
        <Spinner />
        Loading...
      </Button>
      <Button variant="outline" disabled size="sm">
        <Spinner />
        Please wait
      </Button>
      <Button variant="secondary" disabled size="sm">
        <Spinner />
        Processing
      </Button>
    </div>
  )
}

Subdomains

Functions

Dependencies

  • button
  • spinner

Frequently Asked Questions

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