Divi AI Agents can create customized SVG graphics from plain-language directions. Describe an icon, divider, or badge, specify its taste and colours, and ask the agent so as to add it on your structure as an editable SVG Module.
On this educational, we’ll create an ornamental leaf, refine it in the similar dialog, and canopy the suggested main points that assist keep your design as you’re making adjustments.
What An SVG Is And Why Icons Use It
SVG stands for Scalable Vector Graphics. A JPEG retail outlets a picture as a grid of coloured pixels. Amplify it sufficient, and the ones pixels turn out to be visual. An SVG describes shapes and paths with coordinates, permitting the browser to render vector paintings at other sizes with out pixelation.
That makes SVG helpful for emblems, icons, dividers, and badges. Easy vector paintings can scale throughout display sizes and use colours outlined within the markup or via styling.
Divi 5’s SVG Module accepts pasted SVG code or an uploaded SVG dossier. Its Design tab comprises Fill and Stroke controls for styling the graphic. Module-level styling can override corresponding values within the SVG markup, so test each when a colour or stroke does now not glance as anticipated.
The Content material tab additionally features a Name box for graphics that put across which means. Ornamental graphics want other accessibility remedy, which we’ll quilt later.
WordPress blocks SVG uploads through default. That restriction impacts the uploaded-file workflow, however you don’t want to allow uploads when the usage of the module’s SVG Code supply.

What Divi AI Brokers Do On The Canvas
Divi AI Brokers can investigate cross-check your structure and make adjustments at once within the Visible Builder. Describe what you need and establish the component the agent will have to paintings with.
Whilst it really works, the agent shows growth notes. Movements that require approval pause with Approve and Reject controls. The agent additionally requests approval sooner than saving the web page.
Assessment the end result sooner than saving. If you wish to revert a transformation, open the Web page Menu the usage of the equipment icon on the most sensible left and make a choice Undo. The dialog additionally supplies a repair keep watch over for returning the operating structure to an previous level. Restoring the structure does now not reserve it robotically.
Divi AI Brokers is incorporated with Divi AI and Divi Professional. Agent requests use the AI Pockets, which recently comprises $5 in per month agent utilization. This steadiness is become independent from the subscription’s limitless textual content, symbol, code, and structure technology outdoor the agent. For main points, see our AI Wallet guide.
How To Create An SVG With Divi AI Brokers
Get started with a web page that already incorporates the column and textual content you need to brighten. We’ll position a leaf above an present Textual content Module, then refine its look with out converting the encircling content material.
Open Divi AI Brokers In Construct Mode
Open the web page within the Divi 5 Visible Builder and click on the AI Agent icon within the sidebar. Check in on your Sublime Subject matters account if brought about.

Test the mode keep watch over on the backside of the chat panel. Ask is for questions and inspection; Construct lets in the agent to switch the structure. Make a selection Construct for this educational.

Describe The Graphic
Your request wishes to provide an explanation for each what the SVG will have to seem like and the place it will have to pass.
A request comparable to “upload an ornamental leaf” leaves its form, colours, line weight, and point of element open to interpretation. Specify the options that topic on your design, together with the rest the agent will have to steer clear of.
For this case, we wish a easy define graphic: tall, sweeping curves, visual gaps between strokes, and no stuffed spaces, gradients, or shading.
Connect The Column As Context
As an alternative of depending on an outline comparable to “the left column,” establish the objective column via Context.
Make a selection the column at the canvas and test that the agent’s decided on context identifies the supposed component. You’ll be able to additionally click on the Context icon within the chat composer, to find the column below Components, and connect it. Typing @ opens the similar picker.
Verify the hooked up component sooner than sending your request. Context identifies the objective; your suggested nonetheless wishes to provide an explanation for what the agent will have to upload and the place inside of that concentrate on it belongs.
If you wish to use a stored colour variable, connect it throughout the Variables staff as neatly. Our instance makes use of a variable named Gentle. Replace certainly one of your website’s present variables or supply a selected colour if that variable does now not exist.
Write The Suggested
With the column and colour variable hooked up, ship a request like this:

The suggested defines the form, stroke remedy, colour, measurement, and site. It additionally tells the agent what to keep.
For define paintings, Stroke controls the visual traces. Fill colours the internal of a form and will produce undesirable stuffed spaces, even if a trail is open. Requesting no fill helps to keep this case fascinated by line artwork.
The colour variable offers the agent an present design worth to make use of. Test the end result towards its background to substantiate that the strokes stay visual.
As soon as the graphic seems, open its SVG Module to substantiate that it incorporates editable SVG code. You’ll be able to refine it throughout the chat or use the module’s settings.
Refine The SVG In The Similar Chat
Assessment the icon beside the textual content and at its supposed show measurement. It’s possible you’ll wish to trade its measurement, stroke thickness, or attitude.
Proceed in the similar dialog, however title the adjustments and the houses that are supposed to stay unchanged. The dialog supplies helpful context; it does now not take away the wish to evaluation each and every end result.
For a unmarried icon, choose or connect its SVG Module. For a batch edit, choose or connect the containing segment and ensure an previous Scope isn’t nonetheless proscribing the request to at least one column or module.
A batch request may learn:

Test the rendered end result quite than depending solely at the agent’s abstract. In our sandbox take a look at, expanding Width from 120px to 144px to start with left the icon at 120px as a result of Max Width nonetheless capped it. Updating Max Width allowed the bigger measurement to seem.
If an edit does now not glance proper, test the module’s Design → Sizing settings. Additionally test its Stroke settings: the visual stroke would possibly come from a module-level override quite than the price written throughout the SVG.
Preview the end result on smaller displays sooner than saving, specifically if the icon sits beside textual content or inside of a slim card.
Mark Ornamental SVGs For Display Readers
Come to a decision whether or not the SVG conveys knowledge or just decorates the web page.
Our leaf is ornamental: doing away with it might now not trade the which means of the encircling content material. Display readers will have to skip it. You’ll be able to describe that purpose to the agent with out writing the attributes your self:

In our take a look at, the ensuing SVG retained aria-hidden=”true” and focusable=”false” after refinement.
A significant graphic wishes other remedy. Give it a suitable obtainable title and check the end result. A connected brand or icon-only button additionally wishes a transparent title for its vacation spot or motion; don’t conceal the interactive component itself.
The SVG Module’s Content material → Name box and Complicated → Attributes settings can assist with handbook changes. Then again, a name or hover tooltip on my own isn’t a whole accessibility test. Assessment how the graphic is uncovered to assistive applied sciences.
Edit SVGs You Already Have
Divi AI Brokers too can assist refine SVGs from an present venture. Probably the most predictable requests make small, explicit adjustments whilst holding the unique geometry.
Make a selection or connect the SVG Module you need to edit. For probably the most direct code-editing workflow, use the module’s SVG Code supply and paste all the SVG markup. Use depended on SVG code; if you select the uploaded-file workflow, use a procedure that sanitizes the dossier sooner than add.
For an present line-art icon, check out:

Adapt the request to the paintings. A stuffed icon would possibly want a Fill adjustment, whilst an summary icon wishes a Stroke adjustment. Converting the stroke width is not going to skinny a form whose define used to be drawn as a stuffed trail.
Assessment the graphic at desktop and cell sizes, test its colours and accessibility remedy, and save the web page as soon as you’re pleased with the end result.
Create Customized SVGs With Divi AI Brokers
Growing an SVG begins with a transparent description of its form, taste, and site. Connect the best component as Context, outline the main points that topic, and use follow-up activates to refine the end result whilst holding the portions you need to stay.
Get started with a easy icon in an present structure. Test its look, sizing, and accessibility sooner than saving, then follow the similar way to different graphics. With Divi AI Agents and the SVG Module, you’ll be able to create and refine vector paintings at once within the builder whilst retaining its code editable.
The submit Creating Custom SVGs with Divi AI Agents gave the impression first on Elegant Themes Blog.






0 Comments