Skip to content

tiagoporto/svg-to-inline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/svg-to-inline.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.