svg-to-inline

1.0.0-alpha.1 • Public • Published

SVG to Inline Open Source Love

LIKED ? Leave a : 😞

Release Downloads install size js-standard-style License

Inline docs devDependencies Status

Web Component to request an SVG file external and use inline.

Work in Progress

Installation

npm i svg-to-inline

Usage

<script type="module">
  import 'svg-to-inline/svg-to-inline.js';
</script> 
 
<svg-to-inline
  path="images/logos/logo.svg"
  lazy="true"
  class-Name="my-class other-class"
  loading-Label="Loading"
></svg-to-inline>

Contributing

See how to contribute.

License

SVG to Inline is released under the terms of the MIT.

Package Sidebar

Install

npm i svg-to-inline

Weekly Downloads

1

Version

1.0.0-alpha.1

License

MIT

Unpacked Size

523 kB

Total Files

32

Last publish

Collaborators

  • tiagoporto