input-group-with-buttons.tsx — ui Source File
Architecture documentation for input-group-with-buttons.tsx, a tsx file in the ui codebase. 5 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR abdc919e_65cf_3884_41d8_caecebe3a9b2["input-group-with-buttons.tsx"] 4544fa74_9b37_0912_c55e_f4ff161b8e83["button"] abdc919e_65cf_3884_41d8_caecebe3a9b2 --> 4544fa74_9b37_0912_c55e_f4ff161b8e83 e6c524b5_d047_d4f9_50b2_7f100d612cb2["field"] abdc919e_65cf_3884_41d8_caecebe3a9b2 --> e6c524b5_d047_d4f9_50b2_7f100d612cb2 9a309fc5_4306_d01f_08ce_72db23e48652["input"] abdc919e_65cf_3884_41d8_caecebe3a9b2 --> 9a309fc5_4306_d01f_08ce_72db23e48652 4a37d855_5768_bc5a_31ae_9f42eba9091a["input-group"] abdc919e_65cf_3884_41d8_caecebe3a9b2 --> 4a37d855_5768_bc5a_31ae_9f42eba9091a d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"] abdc919e_65cf_3884_41d8_caecebe3a9b2 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3 style abdc919e_65cf_3884_41d8_caecebe3a9b2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { Button } from "@/examples/base/ui/button"
import { Field, FieldGroup, FieldLabel } from "@/examples/base/ui/field"
import { Input } from "@/examples/base/ui/input"
import {
InputGroup,
InputGroupAddon,
InputGroupButton,
InputGroupInput,
} from "@/examples/base/ui/input-group"
import { CopyIcon, TrashIcon } from "lucide-react"
export function InputGroupWithButtons() {
return (
<FieldGroup>
<Field>
<FieldLabel htmlFor="input-button-13">Button</FieldLabel>
<InputGroup>
<InputGroupInput id="input-button-13" />
<InputGroupAddon>
<InputGroupButton>Default</InputGroupButton>
</InputGroupAddon>
</InputGroup>
<InputGroup>
<InputGroupInput id="input-button-14" />
<InputGroupAddon>
<InputGroupButton variant="outline">Outline</InputGroupButton>
</InputGroupAddon>
</InputGroup>
<InputGroup>
<InputGroupInput id="input-button-15" />
<InputGroupAddon>
<InputGroupButton variant="secondary">Secondary</InputGroupButton>
</InputGroupAddon>
</InputGroup>
<InputGroup>
<InputGroupInput id="input-button-16" />
<InputGroupAddon align="inline-end">
<InputGroupButton variant="secondary">Button</InputGroupButton>
</InputGroupAddon>
</InputGroup>
<InputGroup>
<InputGroupInput id="input-button-17" />
<InputGroupAddon align="inline-end">
<InputGroupButton size="icon-xs">
<CopyIcon />
</InputGroupButton>
</InputGroupAddon>
</InputGroup>
<InputGroup>
<InputGroupInput id="input-button-18" />
<InputGroupAddon align="inline-end">
<InputGroupButton variant="secondary" size="icon-xs">
<TrashIcon />
</InputGroupButton>
</InputGroupAddon>
</InputGroup>
</Field>
</FieldGroup>
)
}
Domain
Subdomains
Functions
Dependencies
- button
- field
- input
- input-group
- lucide-react
Source
Frequently Asked Questions
What does input-group-with-buttons.tsx do?
input-group-with-buttons.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-with-buttons.tsx?
input-group-with-buttons.tsx defines 1 function(s): InputGroupWithButtons.
What does input-group-with-buttons.tsx depend on?
input-group-with-buttons.tsx imports 5 module(s): button, field, input, input-group, lucide-react.
Where is input-group-with-buttons.tsx in the architecture?
input-group-with-buttons.tsx is located at apps/v4/examples/base/input-group-with-buttons.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