Home / Function/ InputGroupWithButtons() — ui Function Reference

InputGroupWithButtons() — ui Function Reference

Architecture documentation for the InputGroupWithButtons() function in input-group-with-buttons.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  95a7577b_4a77_b378_91b3_887796f04c93["InputGroupWithButtons()"]
  abdc919e_65cf_3884_41d8_caecebe3a9b2["input-group-with-buttons.tsx"]
  95a7577b_4a77_b378_91b3_887796f04c93 -->|defined in| abdc919e_65cf_3884_41d8_caecebe3a9b2
  style 95a7577b_4a77_b378_91b3_887796f04c93 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/base/input-group-with-buttons.tsx lines 12–60

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>
  )
}

Subdomains

Frequently Asked Questions

What does InputGroupWithButtons() do?
InputGroupWithButtons() is a function in the ui codebase, defined in apps/v4/examples/base/input-group-with-buttons.tsx.
Where is InputGroupWithButtons() defined?
InputGroupWithButtons() is defined in apps/v4/examples/base/input-group-with-buttons.tsx at line 12.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free