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

input-with-button.tsx — ui Source File

Architecture documentation for input-with-button.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
  1d67e35d_4ac5_4931_c91c_8587fdeaccf1["input-with-button.tsx"]
  d418ad18_b947_f4e5_6e4c_01100d7a63e4["button"]
  1d67e35d_4ac5_4931_c91c_8587fdeaccf1 --> d418ad18_b947_f4e5_6e4c_01100d7a63e4
  163b5f6f_1cd3_6d8d_5305_80eec4895f60["input"]
  1d67e35d_4ac5_4931_c91c_8587fdeaccf1 --> 163b5f6f_1cd3_6d8d_5305_80eec4895f60
  style 1d67e35d_4ac5_4931_c91c_8587fdeaccf1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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

export default function InputWithButton() {
  return (
    <div className="flex w-full max-w-sm items-center space-x-2">
      <Input type="email" placeholder="Email" />
      <Button type="submit">Subscribe</Button>
    </div>
  )
}

Subdomains

Functions

Dependencies

  • button
  • input

Frequently Asked Questions

What does input-with-button.tsx do?
input-with-button.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 input-with-button.tsx?
input-with-button.tsx defines 1 function(s): InputWithButton.
What does input-with-button.tsx depend on?
input-with-button.tsx imports 2 module(s): button, input.
Where is input-with-button.tsx in the architecture?
input-with-button.tsx is located at deprecated/www/registry/default/examples/input-with-button.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