Throttle Builder · Components · Basic

SVG

An inline SVG: pasted, or from the media library.

The SVG component in the Components library, with its description and settings
The SVG component in the Components library, with its description and settings

What it is for

An inline SVG graphic, pasted as code or taken from the media library, for icons and line art that should take the text color.

Where you can use it

On any page, template, saved section, header or footer.

In the editor, open the Add tab of the left panel and drag it into a column. Its type is basic.svg, version 1.

Options

Content tab

OptionKeyAllowed valuesDefault
SVG codesvgText, up to 20,000 characters (20,480 bytes at most).
SVG from the media libraryassetAn image from the Media library.Empty
Decorative (hidden from screen readers)decorativeOn or off.On
LabellabelText, up to 200 characters. One value per language.Empty

Style tab

OptionKeyAllowed valuesDefault
ColourcolorA theme colour (token:name) or a hex colour (#rrggbb or #rrggbbaa).Empty
Width (px)widthA number from 8 to 2000.Empty
AlignmentalignLeft, center, right or justify.left

Every component also has the common options: Hide, Anchor, Space above, Space below, Entrance animation and Entrance delay.

Responsive behaviour

Every option can be set again for tablet (768 to 1024 px) and phone (767 px and below): switch the device at the top of the editor and change it there. Tablet starts from the desktop value and phone from the tablet value, so you only set what differs.

The width and alignment can be set differently on tablet and phone.

SEO and accessibility

The cleaned SVG is written inline in the page. By default it is marked as decorative and hidden from screen readers; turn that off and add a Label to expose it as an image with that name.

With an AI agent

An agent adds it with add_widget and changes its options with update_node, using the keys above. See the MCP tool reference.

The widget an agent adds
{
  "type": "basic.svg",
  "v": 1,
  "props": {}
}
Generated from the code
The option tables on this page are generated from the component definitions in @usethrottle/builder-schema 0.4.2 and @usethrottle/storefront-react 0.4.5.