Skip to content

Latest commit

 

History

115 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Svg to inline web component

Release Downloads npm bundle size

Status ✅

Website Checks GA Workflow Status Tests GA Workflow Status Coverage

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 📄

Svg To Inline © 2019 by Tiago Porto is licensed under MIT License.

About

Web Component to fetch an external SVG file and use it inline.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

5 stars

Watchers

2 watching

Forks

Releases

Used by

Contributors

Languages