Divi 5 Variables vs Presets vs Components: What to Use When

by Mark Hendriksen | Nov 23, 2026 | Divi 5, Divi tutorials | 0 comments

Home › Divi 5 › Divi 5 Variables vs Presets vs Components: What to Use When

Mark Hendriksen

I am the founder here at MarkHendriksen.com a blog website for Web design, WordPress, and popular page builders.

Use a design variable to share a value, a preset to share a style, and a component to reuse a structure that you can update in one place. If each copy needs different content, decide which settings can vary or use a Slot for the part that needs a different arrangement.

A set of service cards is a good way to see the difference. Imagine three cards for a roofing company: Roof Repairs, Roof Replacement, and Roof Inspections. They share a design, but each needs its own heading, image, and link.

hree Divi service cards annotated to show a shared color variable, button preset, and reusable component
ToolWhat it sharesExample
Design variableOne value across settings that reference itThe same accent color on buttons, icons, and borders
Option Group PresetA group of styles on elements that support itThe same border and corner styling on a card and an image
Element PresetA reusable set of design settings for an element typeA standard style for Button modules
ComponentAn arrangement of elements that appears in multiple placesA service card with an image, heading, description, and button

Start with a variable for one shared value

Create a color variable for the brand accent and use it where that color should stay consistent. If the brand color changes, edit the variable. Settings connected to it can follow the change while keeping their individual borders, spacing, and other styles.

Use names that describe the role, such as “Primary Accent.” A role gives the next editor a reason to choose the value, even if the client changes the color later. See Elegant Themes’ guide to Global Variables for the types available.

Use a preset when a group of settings should match

Suppose all the card buttons need the same type, spacing, and border. Save their shared design as a Button Element Preset. Each button can still have a different label and URL. If only the border settings need to match across different types of elements, use a Border Option Group Preset where supported. A preset can reference your accent variable, so the two tools can work together.

Use a component when the arrangement should stay consistent

If every service card needs the same elements in the same order, make the card a Component. Set up the instances so editors can change the service heading, image, or link where needed. Use a Slot when the content in an area needs to vary in structure, for example if one card needs an extra badge. The Components and Slots tutorial walks through how to build and edit a component.

Decide what a change should affect

  • “Make every brand accent darker.” Edit the variable.
  • “Make all our primary buttons taller.” Edit the button preset.
  • “Move the button above the description on every service card.” Edit the component source.
  • “Change the link for Roof Repairs.” Edit the instance value if that setting is available there.

If a module keeps its old styling after you edit the preset, here’s what to check when preset changes don’t show.

Start with the smallest tool that matches the change you expect. If you only need consistent buttons, a preset is enough. If you want editors to maintain one shared service-card structure, add a component and use the preset inside it.

Submit a Comment

Your email address will not be published. Required fields are marked *