Home / File/ spinner.tsx — ui Source File

spinner.tsx — ui Source File

Architecture documentation for 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
  1f897888_b239_8527_6911_0666aac1aa2e["spinner.tsx"]
  191e4a89_25e4_f7a3_d5fb_d71d101e0990["utils"]
  1f897888_b239_8527_6911_0666aac1aa2e --> 191e4a89_25e4_f7a3_d5fb_d71d101e0990
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  1f897888_b239_8527_6911_0666aac1aa2e --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  style 1f897888_b239_8527_6911_0666aac1aa2e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { cn } from "@/examples/radix/lib/utils"
import { Loader2Icon } from "lucide-react"

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

export { Spinner }

Subdomains

Functions

Dependencies

  • lucide-react
  • utils

Frequently Asked Questions

What does spinner.tsx do?
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 spinner.tsx?
spinner.tsx defines 1 function(s): Spinner.
What does spinner.tsx depend on?
spinner.tsx imports 2 module(s): lucide-react, utils.
Where is spinner.tsx in the architecture?
spinner.tsx is located at apps/v4/examples/radix/ui/spinner.tsx (domain: DocumentationAtlas, subdomain: ContentSourcing, directory: apps/v4/examples/radix/ui).

Analyze Your Own Codebase

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

Try Supermodel Free