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

button-spinner.tsx — ui Source File

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

File tsx DocumentationAtlas ContentSourcing 2 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  f1eec174_a24a_0ff2_9323_d0a03920a05e["button-spinner.tsx"]
  4544fa74_9b37_0912_c55e_f4ff161b8e83["button"]
  f1eec174_a24a_0ff2_9323_d0a03920a05e --> 4544fa74_9b37_0912_c55e_f4ff161b8e83
  5da53097_7aa6_9ed0_215a_95e7f853f3a4["spinner"]
  f1eec174_a24a_0ff2_9323_d0a03920a05e --> 5da53097_7aa6_9ed0_215a_95e7f853f3a4
  style f1eec174_a24a_0ff2_9323_d0a03920a05e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Button } from "@/examples/base/ui/button"
import { Spinner } from "@/examples/base/ui/spinner"

export default function ButtonLoading() {
  return (
    <div className="flex gap-2">
      <Button variant="outline" disabled>
        <Spinner data-icon="inline-start" />
        Generating
      </Button>
      <Button variant="secondary" disabled>
        Downloading
        <Spinner data-icon="inline-start" />
      </Button>
    </div>
  )
}

Subdomains

Functions

Dependencies

  • button
  • spinner

Frequently Asked Questions

What does button-spinner.tsx do?
button-spinner.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, ContentSourcing subdomain.
What functions are defined in button-spinner.tsx?
button-spinner.tsx defines 1 function(s): ButtonLoading.
What does button-spinner.tsx depend on?
button-spinner.tsx imports 2 module(s): button, spinner.
Where is button-spinner.tsx in the architecture?
button-spinner.tsx is located at apps/v4/examples/base/button-spinner.tsx (domain: DocumentationAtlas, subdomain: ContentSourcing, 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