prefer-shadcn-primitives
Require visible raw JSX controls to use the corresponding shared shadcn primitive.
Why
Shared primitives centralize interaction, accessibility, and visual behavior across the product.
Fix
Replace the raw visible control with the corresponding shared shadcn component.
Examples
import { Card } from "@/components/ui/card";const action = <button>Save</button>;import { Button } from "@/components/ui/button";const action = <Button>Save</Button>;