Spelte

Open Github

Logos Carousel

Animated carousel component that cycles through sets of logos with staggered animations.

Vercel logo
Google logo
Framer logo
Discord logo

Installation

pnpm dlx shadcn-svelte@latest add https://spelte.dev/r/logos-carousel.json

Usage

<script>
	import LogosCarousel from '$registry/spelte/logos-carousel.svelte';
 
	const logos = [
		{ src: '/logos/vercel.svg', alt: 'Vercel logo' },
		{ src: '/logos/google.svg', alt: 'Google logo' },
		{ src: '/logos/framer.svg', alt: 'Framer logo' },
		{ src: '/logos/discord.svg', alt: 'Discord logo' }
	];
</script>
 
<LogosCarousel {logos} count={4} />

Examples

Logo Count

Limit the number of logos displayed per row.

Logo Count

Vercel logo
Google logo
Framer logo
Discord logo

Props

PropTypeDefaultDescription
logos{ src: string; alt: string }[]—Logo images to display
countnumber—Logos per group (defaults to all)
staggernumber0.14Delay between logo animations (seconds)
durationnumber600Animation duration (ms)
intervalnumber2500Time between transitions (ms)
initialDelaynumber500Initial delay before first transition (ms)
classstring—Additional CSS classes for the flex container