Home / File/ input.tsx — ui Source File

input.tsx — ui Source File

Architecture documentation for input.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
  89c499fc_f96d_215d_023a_fe1dcfe51f11["input.tsx"]
  1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"]
  89c499fc_f96d_215d_023a_fe1dcfe51f11 --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2
  79081a1f_55a3_945a_fb8c_d53d6d3eab81["utils"]
  89c499fc_f96d_215d_023a_fe1dcfe51f11 --> 79081a1f_55a3_945a_fb8c_d53d6d3eab81
  style 89c499fc_f96d_215d_023a_fe1dcfe51f11 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import * as React from "react"

import { cn } from "@/lib/utils"

function Input({ className, type, ...props }: React.ComponentProps<"input">) {
  return (
    <input
      type={type}
      data-slot="input"
      className={cn(
        "file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
        "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
        "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
        className
      )}
      {...props}
    />
  )
}

export { Input }

Subdomains

Functions

Dependencies

  • react
  • utils

Frequently Asked Questions

What does input.tsx do?
input.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.tsx?
input.tsx defines 1 function(s): Input.
What does input.tsx depend on?
input.tsx imports 2 module(s): react, utils.
Where is input.tsx in the architecture?
input.tsx is located at apps/v4/registry/new-york-v4/ui/input.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: apps/v4/registry/new-york-v4/ui).

Analyze Your Own Codebase

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

Try Supermodel Free