Type
magento2-module
the last carousel you'll ever need for magento2
magento2-module
MIT
None
None
None
None
None
the last carousel you'll ever need for Magento2
cd <magento_root>
composer config repositories.swissup composer http://swissup.github.io/packages/
composer require swissup/slick-carousel --prefer-source
bin/magento module:enable Swissup_SlickCarousel
bin/magento setup:upgrade
<div data-mage-init='{"slick": {"slidesToShow": 4, "slidesToScroll": 1, "dots": true, "autoplay": true, "variableWidth": true}}'>
<div style="margin-right: 10px"><img src="http://placehold.it/350x150" alt=""/></div>
<div style="margin-right: 10px"><img src="http://placehold.it/150x150" alt=""/></div>
<div style="margin-right: 10px"><img src="http://placehold.it/300x150" alt=""/></div>
<div style="margin-right: 10px"><img src="http://placehold.it/450x150" alt=""/></div>
<div style="margin-right: 10px"><img src="http://placehold.it/250x150" alt=""/></div>
<div style="margin-right: 10px"><img src="http://placehold.it/350x150" alt=""/></div>
</div>