Diff
Diff is used to compare two items side by side with a draggable divider.
Installation
npx jsx-daisyui add diffDefault
diff-default


Text
diff-text
daisyUI
daisyUI
Props
Diff.Root
| Prop | Type | Default | Description |
|---|---|---|---|
aspect | '16/9' | '4/3' | '1/1' | '16/9' | Aspect ratio of the diff container. |
rounded | boolean | true | Applies rounded corners. |