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 DocumentationAtlas Changelog 2 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  e0e17534_9ee2_6e5f_ad46_d1f08a4dc2f9["input-group-custom.tsx"]
  d4ae1ebd_39ec_2b17_5c84_fbca1aec26c7["input-group"]
  e0e17534_9ee2_6e5f_ad46_d1f08a4dc2f9 --> d4ae1ebd_39ec_2b17_5c84_fbca1aec26c7
  ae18b876_8111_887f_c5a4_ebf82b54f95d["react-textarea-autosize"]
  e0e17534_9ee2_6e5f_ad46_d1f08a4dc2f9 --> ae18b876_8111_887f_c5a4_ebf82b54f95d
  style e0e17534_9ee2_6e5f_ad46_d1f08a4dc2f9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

"use client"

import {
  InputGroup,
  InputGroupAddon,
  InputGroupButton,
} from "@/examples/radix/ui/input-group"
import TextareaAutosize from "react-textarea-autosize"

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 DocumentationAtlas domain, Changelog 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/examples/radix/input-group-custom.tsx (domain: DocumentationAtlas, subdomain: Changelog, directory: apps/v4/examples/radix).

Analyze Your Own Codebase

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

Try Supermodel Free