input-group-basic.tsx — ui Source File
Architecture documentation for input-group-basic.tsx, a tsx file in the ui codebase. 3 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 7437198b_092e_82bb_e62e_de626cd9edcd["input-group-basic.tsx"] e6c524b5_d047_d4f9_50b2_7f100d612cb2["field"] 7437198b_092e_82bb_e62e_de626cd9edcd --> e6c524b5_d047_d4f9_50b2_7f100d612cb2 9a309fc5_4306_d01f_08ce_72db23e48652["input"] 7437198b_092e_82bb_e62e_de626cd9edcd --> 9a309fc5_4306_d01f_08ce_72db23e48652 4a37d855_5768_bc5a_31ae_9f42eba9091a["input-group"] 7437198b_092e_82bb_e62e_de626cd9edcd --> 4a37d855_5768_bc5a_31ae_9f42eba9091a style 7437198b_092e_82bb_e62e_de626cd9edcd fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { Field, FieldGroup, FieldLabel } from "@/examples/base/ui/field"
import { Input } from "@/examples/base/ui/input"
import { InputGroup, InputGroupInput } from "@/examples/base/ui/input-group"
export function InputGroupBasic() {
return (
<FieldGroup>
<Field>
<FieldLabel htmlFor="input-default-01">
Default (No Input Group)
</FieldLabel>
<Input placeholder="Placeholder" id="input-default-01" />
</Field>
<Field>
<FieldLabel htmlFor="input-group-02">Input Group</FieldLabel>
<InputGroup>
<InputGroupInput id="input-group-02" placeholder="Placeholder" />
</InputGroup>
</Field>
<Field data-disabled="true">
<FieldLabel htmlFor="input-disabled-03">Disabled</FieldLabel>
<InputGroup>
<InputGroupInput
id="input-disabled-03"
placeholder="This field is disabled"
disabled
/>
</InputGroup>
</Field>
<Field data-invalid="true">
<FieldLabel htmlFor="input-invalid-04">Invalid</FieldLabel>
<InputGroup>
<InputGroupInput
id="input-invalid-04"
placeholder="This field is invalid"
aria-invalid="true"
/>
</InputGroup>
</Field>
</FieldGroup>
)
}
Domain
Subdomains
Functions
Dependencies
- field
- input
- input-group
Source
Frequently Asked Questions
What does input-group-basic.tsx do?
input-group-basic.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, ContentSourcing subdomain.
What functions are defined in input-group-basic.tsx?
input-group-basic.tsx defines 1 function(s): InputGroupBasic.
What does input-group-basic.tsx depend on?
input-group-basic.tsx imports 3 module(s): field, input, input-group.
Where is input-group-basic.tsx in the architecture?
input-group-basic.tsx is located at apps/v4/examples/base/input-group-basic.tsx (domain: DocumentationAtlas, subdomain: ContentSourcing, directory: apps/v4/examples/base).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free