svelte-polaroids
- a simple polaroid photo component
- great for letting users browse sequential images
- only dependency is interactjs
gif demo
usage
<script>
import SveltePolaroid from "svelte-polaroids";
</script>
<SveltePolaroid size={200} sources={[ 'https://.../pic1.jpg', 'https://.../pic2.jpg', ... ]} />
props
- size: maximum for the larger of the image's two dimensions
- sources: urls of the images to be used
authors