Skip to main content

Interface: InputGroupButtonProps

@arolariu/components


@arolariu/components / components/ui/input-group / InputGroupButtonProps

Interface: InputGroupButtonProps

Defined in: components/ui/input-group.tsx:33

Props for the InputGroupButton component.

Extends

  • Omit<React.ComponentPropsWithoutRef<typeof Button>, "size">

Properties

variant?

optional variant?: ButtonVariant

Defined in: components/ui/button.tsx:52

Visual style variant.

Default

"default"

Inherited from

ButtonProps.variant


disabled?

optional disabled?: boolean

Defined in: components/ui/button.tsx:62

Whether the button should ignore user interaction.

Default

false

Inherited from

ButtonProps.disabled


className?

optional className?: string

Defined in: components/ui/button.tsx:67

Additional CSS classes merged with the button styles.

Default

undefined

Inherited from

ButtonProps.className


render?

optional render?: RenderProp<ButtonState>

Defined in: components/ui/button.tsx:72

Custom element or render callback used to replace the default <button>.

Default

undefined

Inherited from

ButtonProps.render


asChild?

optional asChild?: boolean

Defined in: components/ui/button.tsx:78

Backward-compatible child-slot API. Converts the single child element to the render prop internally.

Default

false

Inherited from

ButtonProps.asChild


children?

optional children?: ReactNode

Defined in: components/ui/button.tsx:83

Button contents when render is not provided.

Default

undefined

Inherited from

ButtonProps.children


size?

optional size?: InputGroupButtonSize

Defined in: components/ui/input-group.tsx:35

Compact button size used within the group chrome.

Default

"xs"
// was this page useful?