Try Install Learn Blog API Packages GitHub

Svg Directive

The svg directive allows you to inline an SVG file as Html :

├── svgs
│   └── some-svg.svg
├── source
│   └──
└── mint.json

This component inlines the some-svg.svg from the svgs folder.

component Main {
  fun render : Html {

It's the same as copy-pasting the SVG itself into the code.