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

Relationship Graph

Source Code

apps/v4/registry/new-york-v4/ui/input-group.tsx lines 100–117

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/registry/new-york-v4/ui/input-group.tsx.
Where is InputGroupButton() defined?
InputGroupButton() is defined in apps/v4/registry/new-york-v4/ui/input-group.tsx at line 100.

Analyze Your Own Codebase

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

Try Supermodel Free