Skip to content

SVG Conditional Highlights

Dynamically show, hide, or conditionally display specific elements within SVG graphics based on personalized data. This feature enables highly personalized visual content that adapts to individual recipient data.

The system automatically detects highlightable elements in your SVG files by scanning for element IDs with specific prefixes:

  • lc_ - Liquid Content identifiers
  • hid_ - Highlight identifiers

When you upload an SVG file to a personalized graphic scene, the system automatically detects available highlights and makes them available in the narration editor.


For each highlight, choose one of three visibility states:

  • Show (green eye icon) - Always visible
  • Hide (red eye slash icon) - Always hidden
  • Conditional (yellow dotted eye icon) - Visibility based on condition

Simple comparison:

{% raw %}true{% else %}false{% endraw %}

Equality check:

{% raw %}true{% else %}false{% endraw %}

Multiple conditions:

{% raw %}true{% else %}false{% endraw %}

The system validates that conditions evaluate to exactly "true" or "false" (string).

Error Example:

high{% else %}low

Error: “Invalid condition, should be true or false”

Correct Version:

true{% else %}false

The bulk operations feature allows you to efficiently manage multiple highlights at once.

  1. Open a Visual Explanation of any SVG slide
  2. Click “Select All” to enable bulk operations
  3. Checkboxes appear next to each highlight - you can unselect individual items if needed
  4. Use the toggle to set the desired state (Show/Hide/Conditional)
  5. Click “Apply” to apply the changes to all selected highlights