carrusel
TypeScript icon, indicating that this package has built-in type declarations

1.2.3 • Public • Published

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.

Package Sidebar

Install

npm i carrusel

Weekly Downloads

7

Version

1.2.3

License

MIT

Unpacked Size

17.1 kB

Total Files

19

Last publish

Collaborators

  • jhanca