@sol-parts/sol-stimulus-components
v0.2.0
Published
Composable Stimulus controllers extracted from the sol.parts e-commerce platform: swipe gestures and a dependency-light looping slideshow.
Readme
@sol-parts/sol-stimulus-components
Composable Stimulus controllers extracted from the sol.parts e-commerce platform. Plain ES modules — no build step, no CSS framework, Turbo-aware, composed together through DOM events.
npm install @sol-parts/sol-stimulus-componentsSymfony AssetMapper users can require controllers individually:
php bin/console importmap:require @sol-parts/sol-stimulus-components/swipeControllers
| swipe | slideshow |
|---|---|
| |
|
| Turns mouse/touch gestures into Stimulus events:
swipeLeft, dragging, gesture-aware click, … Docs · Live demo | Looping slideshow with autoplay, pagination and animated aspect-ratio; pairs with swipe for drag/flick. Docs · Live demo |
