Home / Function/ InputGroupButton() — ui Function Reference

InputGroupButton() — ui Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  5517fe92_6ce5_78a5_50d3_b4af6838b549["InputGroupButton()"]
  e7b65a3a_028e_1a23_9e38_85f519760100["input-group.tsx"]
  5517fe92_6ce5_78a5_50d3_b4af6838b549 -->|defined in| e7b65a3a_028e_1a23_9e38_85f519760100
  style 5517fe92_6ce5_78a5_50d3_b4af6838b549 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/base/ui/input-group.tsx lines 83–102

function InputGroupButton({
  className,
  type = "button",
  variant = "ghost",
  size = "xs",
  ...props
}: Omit<React.ComponentProps<typeof Button>, "size" | "type"> &
  VariantProps<typeof inputGroupButtonVariants> & {
    type?: "button" | "submit" | "reset"
  }) {
  return (
    <Button
      type={type}
      data-size={size}
      variant={variant}
      className={cn(inputGroupButtonVariants({ size }), className)}
      {...props}
    />
  )
}

Subdomains

Frequently Asked Questions

What does InputGroupButton() do?
InputGroupButton() is a function in the ui codebase, defined in apps/v4/registry/bases/base/ui/input-group.tsx.
Where is InputGroupButton() defined?
InputGroupButton() is defined in apps/v4/registry/bases/base/ui/input-group.tsx at line 83.

Analyze Your Own Codebase

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

Try Supermodel Free