Home / File/ input-group-custom.tsx — ui Source File

input-group-custom.tsx — ui Source File

Architecture documentation for input-group-custom.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
  da2b9551_a0a5_d4a4_efe9_c9c3cfcd856f["input-group-custom.tsx"]
  ae18b876_8111_887f_c5a4_ebf82b54f95d["react-textarea-autosize"]
  da2b9551_a0a5_d4a4_efe9_c9c3cfcd856f --> ae18b876_8111_887f_c5a4_ebf82b54f95d
  41df1c2c_a3b4_dc22_8bc9_310fe8b6ba9b["input-group"]
  da2b9551_a0a5_d4a4_efe9_c9c3cfcd856f --> 41df1c2c_a3b4_dc22_8bc9_310fe8b6ba9b
  style da2b9551_a0a5_d4a4_efe9_c9c3cfcd856f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

"use client"

import TextareaAutosize from "react-textarea-autosize"

import {
  InputGroup,
  InputGroupAddon,
  InputGroupButton,
} from "@/registry/new-york-v4/ui/input-group"

export default function InputGroupCustom() {
  return (
    <div className="grid w-full max-w-sm gap-6">
      <InputGroup>
        <TextareaAutosize
          data-slot="input-group-control"
          className="flex field-sizing-content min-h-16 w-full resize-none rounded-md bg-transparent px-3 py-2.5 text-base transition-[color,box-shadow] outline-none md:text-sm"
          placeholder="Autoresize textarea..."
        />
        <InputGroupAddon align="block-end">
          <InputGroupButton className="ml-auto" size="sm" variant="default">
            Submit
          </InputGroupButton>
        </InputGroupAddon>
      </InputGroup>
    </div>
  )
}

Subdomains

Functions

Dependencies

  • input-group
  • react-textarea-autosize

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free