Home / File/ input-group-with-addons.tsx — ui Source File

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.

File tsx DocumentationAtlas Changelog 4 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  83c71729_df4c_e02e_6052_cd91204f4ea8["input-group-with-addons.tsx"]
  b5f68436_cf6b_fba3_fb29_abf27fd13442["field"]
  83c71729_df4c_e02e_6052_cd91204f4ea8 --> b5f68436_cf6b_fba3_fb29_abf27fd13442
  d4ae1ebd_39ec_2b17_5c84_fbca1aec26c7["input-group"]
  83c71729_df4c_e02e_6052_cd91204f4ea8 --> d4ae1ebd_39ec_2b17_5c84_fbca1aec26c7
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  83c71729_df4c_e02e_6052_cd91204f4ea8 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  e750d152_1191_1793_7244_99c7f9c595f4["sonner"]
  83c71729_df4c_e02e_6052_cd91204f4ea8 --> e750d152_1191_1793_7244_99c7f9c595f4
  style 83c71729_df4c_e02e_6052_cd91204f4ea8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

"use client"

import {
  Field,
  FieldDescription,
  FieldGroup,
  FieldLabel,
} from "@/examples/radix/ui/field"
import {
  InputGroup,
  InputGroupAddon,
  InputGroupButton,
  InputGroupInput,
  InputGroupText,
} from "@/examples/radix/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)

Subdomains

Dependencies

  • field
  • input-group
  • lucide-react
  • sonner

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/radix/input-group-with-addons.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