{"repo":"beynar/svelte-light-carousel","free":true,"listed":false,"github":"https://github.com/beynar/svelte-light-carousel","clone":"git clone https://github.com/beynar/svelte-light-carousel.git","description":null,"language":"Svelte","stars":23,"topics":["carousel","carousel-slider","lightweight","svelte","sveltekit"],"license":"MIT","category":"ecommerce","readme_excerpt":"Svelte light carousel A lightweight carousel component for Svelte focused on low runtime and minimalism. Usage Features - Lightweight, no dependencies no shifting - Enough features to cover most basic (e-commerce) use cases - 100% headless and customizable - Snippets for arrows, pagination, progress bar, and dots, so you can build your own UI - Rely on CSS native scroll behavior on mobile and mouse wheel on desktop - Accessible WAI-ARIA compliant + good semantic structure - Preserve trackpad and mouse wheel's native behavior - Performant, no complicated calculation, rely on RAF for sliding animations - Can show partial view of the next slide - Responsive properties: layout, gap, delta and native scroll disabling - Snapping and drag free option - Auto play with pause on hover option - Vertical layout option (with auto height calculation enabled by default, but can be disabled) - SSR friendly - Disable click on child when dragging - Won't crush your lighthouse score at all Props Name Type Default Description ---- ---- ------- ----------- id string random The base id for the carousel and its accessible properties. slides $$Generic[] [] The slides to be rendered. withGrabCursor boolean true Whether the cursor should change to a grab cursor when hovering over the carousel. key keyof Slide undefined Property of the slide to use as a key in the eached block. axis \"x\" \"y\" x The axis of the carousel. dragFree boolean false Whether the carousel should be able to be dragged freely. disa","default_branch":null,"files":null,"tree":[],"storefront":"/r/beynar","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/beynar/svelte-light-carousel/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}