svelte-image-imgix

1.0.10 • Public • Published

NPM

svelte-image-imgix

Lazy loading images from Imgix using svelte-waypoint. Also heavily inspired by svelte-image. Also works with Unsplash as long as they're using Imgix.

Documentation & Demo

Installation

npm i svelte-image-imgix -D

Enjoy:

<script>
    import { Image } from 'svelte-image-imgix'
</script>

<Image src="https://example.imgix.net/myimage.jpg" />

Development

npm run dev will start a local dev server on localhost:5000

Navigate to http://localhost:5000/svelte-image-imgix to see the docs.

Thanks @svelte-docs

Package Sidebar

Install

npm i svelte-image-imgix

Weekly Downloads

24

Version

1.0.10

License

MIT

Unpacked Size

5.11 kB

Total Files

5

Last publish

Collaborators

  • schnubor
  • alexdonets