"flip them to reveal a caption" — a real 3D rotateY flip on hover or focus, caption on the back face, no overlay trick.
npx shadcn@latest add @motion-menu/flip-card-pair
—
Motion Menu limits how often it can be asked, and Flip card pair hasn't had its turn. Its source will show here once it has.