Diff
A draggable slider that reveals two panes side-by-side. Drag the handle to compare before/after content — images, text, or any HTML.
Image comparison
Drag the handle left and right to reveal the sharp vs blurred version.
Text comparison
Any content can go inside the slots — here two styled text blocks show a theme color contrast.
Custom aspect ratio
Use the aspect prop to set any Tailwind aspect ratio.
Default is aspect-16/9.
Theme color comparison
Compare two UI states — useful for design system documentation.