Design Your Theme in Figma
To get started, a marketer or designer should first create a testimonial design in Figma. This design acts as a dynamic template — UserEvidence will automatically insert testimonial content based on specific layer names in your Figma file. When the design is exported as an SVG, those layer names become ID attributes that the platform uses to populate each testimonial’s details.
Use the following layer names to map testimonial attributes correctly:
Layer Name | Type | Description |
| Text | The testimonial quote from the respondent |
| Text | The original survey question (if available) |
| Text | Typically the respondent's name |
| Text | Optional—job title, location, etc. |
| Text | Optional—company, industry, etc. |
| Text | The respondent’s NPS score (if available) |
| Image | The respondent’s avatar or headshot (if available) |
In Figma, a "layer" is any object in your design—like text, rectangles, or images. Make sure to name them exactly as shown above so UserEvidence can recognize them.
Choose a Layer Structure
The following section applies to all dynamic text variables described above. (Dynamic headshots are covered in the next section.)
There are two ways to structure your layers in Figma when using dynamic text:
Option 1: Single Text Layer
Use a single text layer with one of the supported variable names. This option works best for short, styled text that doesn’t need to wrap onto multiple lines.
Option 2: Group with Text + Rectangle
For longer text that may wrap, create a group using one of the supported variable names. The group should include:
A text layer that defines the font and styling
A rectangle or path that defines the text’s bounding box
TIP: The order and position of your layers within the group don’t affect how your testimonial theme renders. The rectangle layer is used only to define the layout area — its visual appearance won’t be displayed.
This grouped structure lets you control both the style and layout of the dynamic text. If the text is too long to fit, it will automatically scale down to ensure all content remains visible. This auto-scaling only applies to the group structure — not the single text layer.
Refer to the screenshot below for examples of both structures.
For Headshots
To display a respondent’s headshot or avatar, apply the label HEADSHOT
to an image layer in your Figma design. If available, the placeholder image will be automatically replaced with the respondent’s headshot.
The style, size, position, and any masking applied to the image layer will be preserved. If a testimonial does not include a headshot, the placeholder will simply be ignored during rendering.
Add Conditional Elements (Optional)
In some cases, you may want a design element to appear only if a specific dynamic variable is available. For example, many themes include annotations or badges for NPS scores—but if a respondent hasn’t provided an NPS score, showing the annotation could look out of place.
To make any element conditional, wrap it in a Figma group and name the group using this format: IF_[VARIABLE_NAME]
.
For instance, to conditionally display an NPS annotation, wrap it in a group labeled IF_NPS_SCORE
. The group and its contents will only appear if that dynamic value is present.
The structure shown in the image above will display the full speech bubble only when an NPS score is available. If there is no NPS score, the bubble will be hidden, preventing any empty or awkward blank space.
This conditional display pattern applies to all the other dynamic variables listed above.
Export Your Theme as SVG
When exporting your SVG, be sure to check the Include “id” attribute option and uncheck the Outline Text option.
These settings are not enabled by default, so you’ll need to update them once per design. After changing, Figma will remember your preferences. Your export settings should look like this:
There are two ways to export your theme as an SVG:
Method 1: Export via Export Panel
Select the frame or design you want to export in Figma.
Open the Export panel in the bottom-right corner of the screen.
Choose SVG as the export format.
Click the export button to download the SVG file.
Open the downloaded SVG file in any text editor.
Copy the entire contents of the file to use in UserEvidence.
Method 2: Copy as SVG (Faster)
Select the frame or design in Figma.
Right-click on the selected frame.
Choose Copy/Paste as > Copy as SVG from the context menu.
The SVG code is now copied to your clipboard.
Paste the SVG code directly into the testimonial theme editor in the UserEvidence platform.
Import Your Theme into UserEvidence
Access the Account Settings menu by clicking your initials in the top-right corner of the screen and selecting Account from the dropdown.
Click the Themes tab and select Add New Using SVG.
Paste the full SVG code into the editor.
Be sure to paste everything — from
<svg>
to</svg>
.Remove any leftover code from previous templates.
Click Save.
Custom Font Support (Optional)
Some commonly used fonts — like Helvetica, Courier, or Times New Roman — are universally available and require no additional setup. You can use these safely in your design.
If your design uses custom or non-standard fonts, follow these steps to ensure they display correctly:
Confirm that your theme uses a font that isn’t universally supported.
Locate the corresponding font file (e.g.,
.ttf
or.otf
) for each custom font used in your design.Go to the theme editor interface in UserEvidence.
Upload the font file(s) directly to the theme.
This ensures that your testimonial assets will render consistently with your intended typography across all platforms.