A before and after comparison slider in React: drag the handle or use the labelled range input to wipe between two layouts across the full width.
npx shadcn@latest add @minidev/before-after-wipe
before-after-wipe