Home / File/ input-group-button-group.tsx — ui Source File

input-group-button-group.tsx — ui Source File

Architecture documentation for input-group-button-group.tsx, a tsx file in the ui codebase. 4 imports, 0 dependents.

File tsx DocumentationAtlas ContentSourcing 4 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  2caa258f_e1d4_8432_6d75_d80c4b1b05d3["input-group-button-group.tsx"]
  a6e3100c_774c_ccde_3661_3d83448167f7["button-group"]
  2caa258f_e1d4_8432_6d75_d80c4b1b05d3 --> a6e3100c_774c_ccde_3661_3d83448167f7
  4a37d855_5768_bc5a_31ae_9f42eba9091a["input-group"]
  2caa258f_e1d4_8432_6d75_d80c4b1b05d3 --> 4a37d855_5768_bc5a_31ae_9f42eba9091a
  e632ae84_c5fb_40c9_7b9d_82d10e757faf["label"]
  2caa258f_e1d4_8432_6d75_d80c4b1b05d3 --> e632ae84_c5fb_40c9_7b9d_82d10e757faf
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  2caa258f_e1d4_8432_6d75_d80c4b1b05d3 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  style 2caa258f_e1d4_8432_6d75_d80c4b1b05d3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { ButtonGroup, ButtonGroupText } from "@/examples/base/ui/button-group"
import {
  InputGroup,
  InputGroupAddon,
  InputGroupInput,
} from "@/examples/base/ui/input-group"
import { Label } from "@/examples/base/ui/label"
import { Link2Icon } from "lucide-react"

export default function InputGroupButtonGroup() {
  return (
    <div className="grid w-full max-w-sm gap-6">
      <ButtonGroup>
        <ButtonGroupText render={<Label htmlFor="url" />}>
          https://
        </ButtonGroupText>
        <InputGroup>
          <InputGroupInput id="url" />
          <InputGroupAddon align="inline-end">
            <Link2Icon />
          </InputGroupAddon>
        </InputGroup>
        <ButtonGroupText>.com</ButtonGroupText>
      </ButtonGroup>
    </div>
  )
}

Subdomains

Dependencies

  • button-group
  • input-group
  • label
  • lucide-react

Frequently Asked Questions

What does input-group-button-group.tsx do?
input-group-button-group.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-button-group.tsx?
input-group-button-group.tsx defines 1 function(s): InputGroupButtonGroup.
What does input-group-button-group.tsx depend on?
input-group-button-group.tsx imports 4 module(s): button-group, input-group, label, lucide-react.
Where is input-group-button-group.tsx in the architecture?
input-group-button-group.tsx is located at apps/v4/examples/base/input-group-button-group.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