Input Group
Understand the design system and contribute to it
Component preview
The live preview for UI components is handled by components/atoms/codedocs/ComponentPreview.tsx. Use it directly inside MDX whenever you want a playground-style embed. Provide componentProps to set default values and propOptions to surface toggle-able props next to the preview.
Prop reference
Auto-generated from the component source
InputGroup
className
React.ComponentProps<"div">
InputGroupAddon
classNamealign= "inline-start"
React.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>
InputGroupButton
classNametype= "button"variant= "ghost"size= "xs"
Omit<React.ComponentProps<typeof Button>, "size"> & VariantProps<typeof inputGroupButtonVariants>
InputGroupInput
className
React.ComponentProps<"input">
InputGroupText
className
React.ComponentProps<"span">
InputGroupTextarea
className