Socket
Book a DemoInstallSign in
Socket

svelte-image-galleries

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svelte-image-galleries

High perf image galleries with animations

latest
npmnpm
Version
0.0.6
Version published
Maintainers
1
Created
Source

Svelte Image Galleries

Description

This package is a performant image gallery

Installation

Install the package using npm:

npm install your-package-name

usage example

<script lang="ts">
	import Bubbles from 'svelte-image-galleries';

	const numberOfImages = 200;

	let imageSources: string[] = new Array(numberOfImages)
		.fill(0)
		.map((_, i) => `https://picsum.photos/200/200?random=${i}`);
	let mode = 'bounce';
</script>

<Bubbles {imageSources} range={200} radius={100} borderRadius={10} mode="bounce" />

Live Demo

https://svelte-image-galleries.pages.dev

FAQs

Package last updated on 05 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts