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
  7ef66026_379f_ea14_005b_d8964d48b0bf["InputGroupButton()"]
  10b9b28a_4b8e_44fe_28c3_e1525f7895fb["input-group.tsx"]
  7ef66026_379f_ea14_005b_d8964d48b0bf -->|defined in| 10b9b28a_4b8e_44fe_28c3_e1525f7895fb
  style 7ef66026_379f_ea14_005b_d8964d48b0bf fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/radix/ui-rtl/input-group.tsx lines 85–102

function InputGroupButton({
  className,
  type = "button",
  variant = "ghost",
  size = "xs",
  ...props
}: Omit<React.ComponentProps<typeof Button>, "size"> &
  VariantProps<typeof inputGroupButtonVariants>) {
  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/examples/radix/ui-rtl/input-group.tsx.
Where is InputGroupButton() defined?
InputGroupButton() is defined in apps/v4/examples/radix/ui-rtl/input-group.tsx at line 85.

Analyze Your Own Codebase

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

Try Supermodel Free