# InputGroup Variants (cva config) ## Purpose `inputGroupVariants`, `inputGroupAddonVariants`, `inputGroupInputVariants`, `inputGroupTextareaVariants`, and `inputGroupButtonVariants` are the five cva (class-variance-authority) configurations powering the `` primitives. They are split from `input-group.tsx` into their own module so an ejected source copy under `npx shadcn@latest add @suaveplan/input-group` keeps the cva configurations in a dedicated file. Theme overrides flow through `useThemedVariants(...)`. The wrapper cva carries the shared border + focus ring; the inner `` / `` cvas strip the standard border + shadow + ring that would otherwise double up with the wrapper's own. ## Features - Wrapper `flex w-full items-center rounded-md border border-input bg-transparent shadow-sm` with `focus-within:ring-2` and `data-[invalid=true]:border-destructive`. - Addon recipe with three positions: `start` (right-border separator), `end` (left-border separator), `none` (no separator, used for inline buttons). - Input recipe strips the standard `` border / shadow / focus ring (`border-0 outline-none shadow-none focus:ring-0`). - Textarea recipe strips the standard `