
Image comparison section that shows before/after images with an interactive slider.
| Setting | Description | Options |
|---|---|---|
| Show advanced settings | Reveals visibility settings | Checkbox (default: false) |
| Setting | Description | Options |
|---|---|---|
| Drag label | Text displayed when the slider is at the center position | Text input (default: Drag to explore) |
| Image before | The "before" image to display | Image picker |
| Before label | Label text for the before image | Text input (default: Before) |
| Image after | The "after" image to display | Image picker |
| After label | Label text for the after image | Text input (default: After) |
| Setting | Description | Options |
|---|---|---|
| Enable horizontal padding | Adds horizontal padding around the comparison | Checkbox (default: false) |
| Enable top padding | Adds top padding around the comparison | Checkbox (default: false) |
| Enable bottom padding | Adds bottom padding around the comparison | Checkbox (default: false) |
| Setting | Description | Options |
|---|---|---|
| Color scheme | Controls the background and text color combination | • Body |
| Border color | Controls the border color | • Body |
| Setting | Description | Options |
|---|---|---|
| Aspect ratio | Controls the aspect ratio of the comparison container | • Square |
| Show entire image | Uses object-contain instead of object-cover to show full image | Checkbox (default: false) |
| Setting | Description | Options |
|---|---|---|
| Visibility | Controls when the block is visible | • All (default) Visible when Show advanced settings is on |
Start by connecting your source repository and choosing the pages you want to publish.
You can then browse your documentation and ask questions about the content your team has shared.