Both Owl Carousel and Slick are widely-used libraries that help create sliding image galleries and content carousels on websites. These packages make it easy to create touch-friendly, responsive slideshows without writing complex code from scratch. They're particularly popular among developers who want to quickly add attractive product galleries, image sliders, or content carousels to their websites.
Unable to load comparison data. Please try again later.
A modern and fully-featured slider that works great on both mobile and desktop. It supports touch interactions and has lots of cool effects like fade, cube, and parallax transitions.
Swiper is currently the most popular and well-maintained carousel alternative. It's easier to customize than Owl Carousel, has better documentation, and works great with modern frameworks like React and Vue.
Carousel/SliderA small but feature-rich carousel library that works well in all browsers. It includes responsive options, touch support, and works with images, text, or any HTML content.
Tiny-slider is a great middle-ground option that's smaller than Owl Carousel but has most of the features. It's especially good for developers who want something simple that just works.
Carousel/SliderA lightweight and flexible slider that focuses on performance. It has no dependencies and includes essential features like touch swipe, responsive breakpoints, and automatic width calculation.
Splide is gaining popularity because it's smaller in size than other options but still powerful. It's perfect for developers who want a simple, fast carousel without extra bloat.
Carousel/SliderA modern carousel library built with TypeScript that focuses on smooth scrolling and performance. It has great mobile support and works well with React, Vue, and other frameworks.
Embla is newer but gaining traction because of its excellent performance and modern development approach. It's perfect for developers who want a carousel that feels super smooth.
Carousel/SliderTouch enabled jQuery plugin that lets you create a beautiful, responsive carousel slider. To get started, check out https://owlcarousel2.github.io/OwlCarousel2/.
Notice: The old Owl Carousel site (owlgraphic [dot] com) is no longer in use. Please delete all references to this in bookmarks and your own products' documentation as it's being used for malicious purposes.
This package can be installed with:
npm install --save owl.carousel
or yarn add owl.carousel jquery
bower install --save owl.carousel
Or download the latest release.
Add jQuery via the "webpack.ProvidePlugin" to your webpack configuration:
const webpack = require('webpack');
//...
plugins: [
new webpack.ProvidePlugin({
$: 'jquery',
jQuery: 'jquery',
'window.jQuery': 'jquery'
}),
],
//...
Load the required stylesheet and JS:
import 'owl.carousel/dist/assets/owl.carousel.css'; import 'owl.carousel';
Put the required stylesheet at the top of your markup:
<link rel="stylesheet" href="/node_modules/owl.carousel/dist/assets/owl.carousel.min.css" />
<link rel="stylesheet" href="/bower_components/owl.carousel/dist/assets/owl.carousel.min.css" />
NOTE: If you want to use the default navigation styles, you will also need to include owl.theme.default.css
.
Put the script at the bottom of your markup right after jQuery:
<script src="/node_modules/jquery/dist/jquery.js"></script> <script src="/node_modules/owl.carousel/dist/owl.carousel.min.js"></script>
<script src="/bower_components/jquery/dist/jquery.js"></script> <script src="/bower_components/owl.carousel/dist/owl.carousel.min.js"></script>
Wrap your items (div
, a
, img
, span
, li
etc.) with a container element (div
, ul
etc.). Only the class owl-carousel
is mandatory to apply proper styles:
<div class="owl-carousel owl-theme"> <div> Your Content </div> <div> Your Content </div> <div> Your Content </div> <div> Your Content </div> <div> Your Content </div> <div> Your Content </div> <div> Your Content </div> </div>
NOTE: The owl-theme
class is optional, but without it, you will need to style navigation features on your own.
Call the plugin function and your carousel is ready.
$(document).ready(function(){ $('.owl-carousel').owlCarousel(); });
The documentation, included in this repo in the root directory, is built with Assemble and publicly available at https://owlcarousel2.github.io/OwlCarousel2/. The documentation may also be run locally.
This package comes with Grunt and Bower. The following tasks are available:
default
compiles the CSS and JS into /dist
and builds the doc.dist
compiles the CSS and JS into /dist
only.watch
watches source files and builds them automatically whenever you save.test
runs JSHint and QUnit tests headlessly in PhantomJS.To define which plugins are build into the distribution just edit /_config.json
to fit your needs.
Please read CONTRIBUTING.md.
Please make sure to check out our Roadmap Discussion.
The code and the documentation are released under the MIT License.
💥Free and open-source admin dashboard template built with Bootstrap 4.5 💥
:tv: d.tube app. A full-featured video sharing website, decentralized.
ShoppingCart (Ecommerce) 🛒 Application using Angular10, Firebase, PWA, Drag&Drop, Materialized Bootstrap and i18n 🚀🔥👨💻
NGLP is an Angular Material Landing Page.
Laravel Instagram Clone!