# Field Variants (cva config) ## Purpose `fieldVariants`, `fieldLabelVariants`, `fieldDescriptionVariants`, and `fieldErrorVariants` are the four cva (class-variance-authority) configurations powering the `` primitives. They are split from `field.tsx` into their own module so an ejected source copy under `npx shadcn@latest add @suaveplan/field` keeps the cva configurations in a dedicated file. Theme overrides flow through `useThemedVariants("Field" | "FieldLabel" | "FieldDescription" | "FieldError")`. The container cva uses Tailwind's named-group selector (`group/field`) so the descendant `` instances can react to `data-invalid="true"` on the container without depending on direct-parent semantics. ## Features - Container `flex flex-col gap-2` layout (NOT `space-y-*` per shadcn skill rule). - `data-[invalid=true]:[&_label]:text-destructive` on the container — every descendant `