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

spinner-badge.tsx — ui Source File

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

File tsx DocumentationAtlas Changelog 2 imports 1 dependents 1 functions

Entity Profile

Dependency Diagram

graph LR
  bd4a1a1a_7c89_1f2d_1800_a4bf76d1c4b8["spinner-badge.tsx"]
  0e5bfac8_76e1_675a_4d46_a5283014eb00["badge"]
  bd4a1a1a_7c89_1f2d_1800_a4bf76d1c4b8 --> 0e5bfac8_76e1_675a_4d46_a5283014eb00
  fd576ad1_ee20_f12f_25d1_e5dbd2606185["spinner"]
  bd4a1a1a_7c89_1f2d_1800_a4bf76d1c4b8 --> fd576ad1_ee20_f12f_25d1_e5dbd2606185
  53860de0_4d86_dc1d_c85a_07c01f0d1a07["index.tsx"]
  53860de0_4d86_dc1d_c85a_07c01f0d1a07 --> bd4a1a1a_7c89_1f2d_1800_a4bf76d1c4b8
  style bd4a1a1a_7c89_1f2d_1800_a4bf76d1c4b8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Badge } from "@/examples/radix/ui/badge"
import { Spinner } from "@/examples/radix/ui/spinner"

export function SpinnerBadge() {
  return (
    <div className="flex items-center gap-2">
      <Badge>
        <Spinner />
        Syncing
      </Badge>
      <Badge variant="secondary">
        <Spinner />
        Updating
      </Badge>
      <Badge variant="outline">
        <Spinner />
        Loading
      </Badge>
    </div>
  )
}

Subdomains

Functions

Dependencies

  • badge
  • spinner

Frequently Asked Questions

What does spinner-badge.tsx do?
spinner-badge.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, Changelog subdomain.
What functions are defined in spinner-badge.tsx?
spinner-badge.tsx defines 1 function(s): SpinnerBadge.
What does spinner-badge.tsx depend on?
spinner-badge.tsx imports 2 module(s): badge, spinner.
What files import spinner-badge.tsx?
spinner-badge.tsx is imported by 1 file(s): index.tsx.
Where is spinner-badge.tsx in the architecture?
spinner-badge.tsx is located at apps/v4/app/(app)/(root)/components/spinner-badge.tsx (domain: DocumentationAtlas, subdomain: Changelog, directory: apps/v4/app/(app)/(root)/components).

Analyze Your Own Codebase

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

Try Supermodel Free