Interactive comparison components with a sliding divider to compare before and after states. Perfect for showcasing image edits, text changes, design iterations, and any visual or content differences with smooth transitions.
Diffs are best when they show two mostly similar items that have only a few differences.
= daisy_diff(css: "aspect-video max-w-[800px] max-h-[450px]") do |diff|
- diff.with_item do
.bg-primary.text-primary-content.grid.place-content-center.text-6xl.lg:text-8xl.font-black
LocoMotion
- diff.with_item do
.bg-base-200.grid.place-content-center.text-6xl.lg:text-8xl.font-black
LocoMotion
Here is an example using two images. One is blurred, and the other is the full-resolution image.
Create virtual credit / debit cards to keep your real info safe.
Get $5 when you sign up — free to start!
Everything you need to grow your business with confidence!
CRM, Lead Generation, Project Management, Contracts, Online Payments, and more!
The ads above are affiliate links to products I regularly use and highly
recommend.
I may receive a commission if you decide to purchase.