Svg Component

Usage

You can use the Svg component to:

  • optimize
  • and include your svg in your document

The src attribute indicates the relative path to the file in the images directory.

markdown
<Svg src="arrow-right-circle.svg" width="40"/>

Output example:

Props

All standard SVG attributes can be applied as props. See the list of SVG Presentation Attributes on MDN.

Markdown Support

This component is registered as Markdown component and can be used in a markdown page