Home / File/ button-with-icon.tsx — ui Source File

button-with-icon.tsx — ui Source File

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

Relationship Graph

Source Code

import { Mail } from "lucide-react"

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

export default function ButtonWithIcon() {
  return (
    <Button>
      <Mail /> Login with Email
    </Button>
  )
}

Subdomains

Functions

Dependencies

  • button
  • lucide-react

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free