input-group-with-addons.tsx — ui Source File
Architecture documentation for input-group-with-addons.tsx, a tsx file in the ui codebase. 4 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR d8cf041b_2bd7_501b_9a19_3e8c80907f2f["input-group-with-addons.tsx"] e6c524b5_d047_d4f9_50b2_7f100d612cb2["field"] d8cf041b_2bd7_501b_9a19_3e8c80907f2f --> e6c524b5_d047_d4f9_50b2_7f100d612cb2 4a37d855_5768_bc5a_31ae_9f42eba9091a["input-group"] d8cf041b_2bd7_501b_9a19_3e8c80907f2f --> 4a37d855_5768_bc5a_31ae_9f42eba9091a d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"] d8cf041b_2bd7_501b_9a19_3e8c80907f2f --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3 e750d152_1191_1793_7244_99c7f9c595f4["sonner"] d8cf041b_2bd7_501b_9a19_3e8c80907f2f --> e750d152_1191_1793_7244_99c7f9c595f4 style d8cf041b_2bd7_501b_9a19_3e8c80907f2f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
"use client"
import {
Field,
FieldDescription,
FieldGroup,
FieldLabel,
} from "@/examples/base/ui/field"
import {
InputGroup,
InputGroupAddon,
InputGroupButton,
InputGroupInput,
InputGroupText,
} from "@/examples/base/ui/input-group"
import {
CopyIcon,
EyeOffIcon,
InfoIcon,
MicIcon,
RadioIcon,
SearchIcon,
StarIcon,
} from "lucide-react"
import { toast } from "sonner"
export function InputGroupWithAddons() {
return (
<FieldGroup>
<Field>
<FieldLabel htmlFor="input-icon-left-05">
Addon (inline-start)
</FieldLabel>
<InputGroup>
<InputGroupInput id="input-icon-left-05" />
<InputGroupAddon>
<SearchIcon className="text-muted-foreground" />
</InputGroupAddon>
</InputGroup>
</Field>
<Field>
<FieldLabel htmlFor="input-icon-right-07">
Addon (inline-end)
</FieldLabel>
<InputGroup>
<InputGroupInput id="input-icon-right-07" />
<InputGroupAddon align="inline-end">
<EyeOffIcon />
</InputGroupAddon>
</InputGroup>
</Field>
<Field>
<FieldLabel htmlFor="input-icon-both-09">
Addon (inline-start and inline-end)
</FieldLabel>
<InputGroup>
<InputGroupInput id="input-icon-both-09" />
<InputGroupAddon>
<MicIcon className="text-muted-foreground" />
</InputGroupAddon>
// ... (74 more lines)
Domain
Subdomains
Functions
Dependencies
- field
- input-group
- lucide-react
- sonner
Source
Frequently Asked Questions
What does input-group-with-addons.tsx do?
input-group-with-addons.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-with-addons.tsx?
input-group-with-addons.tsx defines 1 function(s): InputGroupWithAddons.
What does input-group-with-addons.tsx depend on?
input-group-with-addons.tsx imports 4 module(s): field, input-group, lucide-react, sonner.
Where is input-group-with-addons.tsx in the architecture?
input-group-with-addons.tsx is located at apps/v4/examples/base/input-group-with-addons.tsx (domain: DocumentationAtlas, subdomain: Changelog, 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