Home / Function/ Input() — ui Function Reference

Input() — ui Function Reference

Architecture documentation for the Input() function in input.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  fcbc3c65_99f4_a713_d960_9463e5061f80["Input()"]
  c2111ccd_7878_a6bf_d9d5_a6fd15da24cf["input.tsx"]
  fcbc3c65_99f4_a713_d960_9463e5061f80 -->|defined in| c2111ccd_7878_a6bf_d9d5_a6fd15da24cf
  style fcbc3c65_99f4_a713_d960_9463e5061f80 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

deprecated/www/registry/new-york/ui/input.tsx lines 6–18

  ({ className, type, ...props }, ref) => {
    return (
      <input
        type={type}
        className={cn(
          "flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
          className
        )}
        ref={ref}
        {...props}
      />
    )
  }

Subdomains

Frequently Asked Questions

What does Input() do?
Input() is a function in the ui codebase, defined in deprecated/www/registry/new-york/ui/input.tsx.
Where is Input() defined?
Input() is defined in deprecated/www/registry/new-york/ui/input.tsx at line 6.

Analyze Your Own Codebase

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

Try Supermodel Free