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

badge-demo.tsx — ui Source File

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

File tsx DocumentationAtlas Changelog 1 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  a792083d_4f69_a864_0f6e_7dbb5265c465["badge-demo.tsx"]
  9b75df2e_777a_32c5_f7c8_57d1bba676c7["badge"]
  a792083d_4f69_a864_0f6e_7dbb5265c465 --> 9b75df2e_777a_32c5_f7c8_57d1bba676c7
  style a792083d_4f69_a864_0f6e_7dbb5265c465 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Badge } from "@/examples/base/ui/badge"

export default function BadgeDemo() {
  return (
    <div className="flex w-full flex-wrap justify-center gap-2">
      <Badge>Badge</Badge>
      <Badge variant="secondary">Secondary</Badge>
      <Badge variant="destructive">Destructive</Badge>
      <Badge variant="outline">Outline</Badge>
    </div>
  )
}

Subdomains

Functions

Dependencies

  • badge

Frequently Asked Questions

What does badge-demo.tsx do?
badge-demo.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 badge-demo.tsx?
badge-demo.tsx defines 1 function(s): BadgeDemo.
What does badge-demo.tsx depend on?
badge-demo.tsx imports 1 module(s): badge.
Where is badge-demo.tsx in the architecture?
badge-demo.tsx is located at apps/v4/examples/base/badge-demo.tsx (domain: DocumentationAtlas, subdomain: Changelog, 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