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

button-loading.tsx — ui Source File

Architecture documentation for button-loading.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
  31f1506a_14c5_468f_049a_218e28018884["button-loading.tsx"]
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  31f1506a_14c5_468f_049a_218e28018884 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  d418ad18_b947_f4e5_6e4c_01100d7a63e4["button"]
  31f1506a_14c5_468f_049a_218e28018884 --> d418ad18_b947_f4e5_6e4c_01100d7a63e4
  style 31f1506a_14c5_468f_049a_218e28018884 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Loader2 } from "lucide-react"

import { Button } from "@/registry/default/ui/button"

export function ButtonLoading() {
  return (
    <Button disabled>
      <Loader2 className="animate-spin" />
      Please wait
    </Button>
  )
}

Subdomains

Functions

Dependencies

  • button
  • lucide-react

Frequently Asked Questions

What does button-loading.tsx do?
button-loading.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 button-loading.tsx?
button-loading.tsx defines 1 function(s): ButtonLoading.
What does button-loading.tsx depend on?
button-loading.tsx imports 2 module(s): button, lucide-react.
Where is button-loading.tsx in the architecture?
button-loading.tsx is located at deprecated/www/registry/default/internal/sink/components/button-loading.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: deprecated/www/registry/default/internal/sink/components).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free