carrusel

Carrusel

A simple and dependency-free carousel for Svelte that is SSR-compatible.

Carrusel

A simple and dependency-free carousel for Svelte
that is SSR-compatible.

Why Carrusel?

Carrusel is designed to be mounted in the DOM without depending on JavaScript, ensuring fast and efficient loading of your carousels, significantly enhancing the user experience. Additionally, by not relying on JavaScript, search engines can easily index the content of your carousels, improving the visibility of your application in search results and aiding in SEO.

Installation

npm install carrusel

Usage

<script>
  import { Carrusel, CarruselSlide } from 'carrusel'
</script>

<Carrusel>
  <CarruselSlide>Slide 1</CarruselSlide>
  <CarruselSlide>Slide 2</CarruselSlide>
  <CarruselSlide>Slide 3</CarruselSlide>
  <CarruselSlide>Slide 4</CarruselSlide>
  <CarruselSlide>Slide 5</CarruselSlide>
</Carrusel>

For more details, please refer to the documentation.

Donations

Your donations are greatly appreciated and help to sustain the project.

PayPal

License

This project is licensed under the MIT License - see the LICENSE file for details.

Top categories

svelte logo

Want a Svelte site built?

Hire a Svelte developer
Loading Svelte Themes