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

Relationship Graph

Source Code

apps/v4/examples/base/ui-rtl/input-group.tsx lines 85–104

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/examples/base/ui-rtl/input-group.tsx.
Where is InputGroupButton() defined?
InputGroupButton() is defined in apps/v4/examples/base/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