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

Relationship Graph

Source Code

deprecated/www/registry/new-york/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 deprecated/www/registry/new-york/ui/input-group.tsx.
Where is InputGroupButton() defined?
InputGroupButton() is defined in deprecated/www/registry/new-york/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