Skip to content
You're viewing documentation for Draftbit Classic (v1), our previous platform. See the current Draftbit docs.

SVG

The SVG component is used to display an SVG image from a URL.

Go to the Data Tab and under the SVG option, enter the URL of the SVG image to get it displayed.

Style properties allow you to customize the look and feel of the component. Combinations of styles applied to components can be saved as Stylesheets to easily reuse styles throughout your app. Styles can also be set dynamically using Variables. To learn more about all the different styling properties and how they work, take a look at Intro to Styling.

PropertiesDescription
Component NameTo alter the name of the component. The name is reflected in the Components tree. Defaults to SVG.
PropertyDescription
SVGA URL or variable containing a URL for the SVG to render

You can conditionally display a component based on a given condition. Learn more about conditionally displaying components in the Conditional Display doc.