Masks MM/YY, reads the date back as valid through the month's last day, and catches month 13, the year typed first, a four-digit year, an expired card and one that runs out before the next renewal, with one-tap fixes.
npx shadcn@latest add @bollard/card-expiry-inputcard-expiry-input