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

spinner-custom.tsx — ui Source File

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

File tsx ComponentRegistry ChartRegistry 2 imports 2 functions

Entity Profile

Dependency Diagram

graph LR
  8e92e651_d06f_ac26_d13d_218c3165af4e["spinner-custom.tsx"]
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  8e92e651_d06f_ac26_d13d_218c3165af4e --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  79081a1f_55a3_945a_fb8c_d53d6d3eab81["utils"]
  8e92e651_d06f_ac26_d13d_218c3165af4e --> 79081a1f_55a3_945a_fb8c_d53d6d3eab81
  style 8e92e651_d06f_ac26_d13d_218c3165af4e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { LoaderIcon } from "lucide-react"

import { cn } from "@/lib/utils"

function Spinner({ className, ...props }: React.ComponentProps<"svg">) {
  return (
    <LoaderIcon
      role="status"
      aria-label="Loading"
      className={cn("size-4 animate-spin", className)}
      {...props}
    />
  )
}

export default function SpinnerCustom() {
  return (
    <div className="flex items-center gap-4">
      <Spinner />
    </div>
  )
}

Subdomains

Dependencies

  • lucide-react
  • utils

Frequently Asked Questions

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