Skip to content

Latest commit

 

History

History
52 lines (37 loc) · 2.36 KB

README.md

File metadata and controls

52 lines (37 loc) · 2.36 KB

Svg to inline web component

Release Downloads npm bundle size

Status ✅

Website checks GA Workflow Status tests GA Workflow Status Coverage Status

Demo 🚀

Access https://tiagoporto.github.io/svg-to-inline

Installation 📦

npm i svg-to-inline

Usage ➡️

<script type="module">
  import 'svg-to-inline/SvgToInline.js'
</script>

<svg-to-inline
  path="./images/logo.svg"
  className="my-class other-class"
  lazy
></svg-to-inline>

Contributing 🤝

Check how to contribute.

License 📄

This project is licensed under the MIT License.