Owl Carousel 2 alternatives and similar libraries
Based on the "Sliders" category.
Alternatively, view Owl Carousel 2 alternatives based on common mentions on social networks and blogs.
-
impress.js
It's a presentation framework based on the power of CSS3 transforms and transitions in modern browsers and inspired by the idea behind prezi.com. -
Glide.js
A dependency-free JavaScript ES6 slider and carousel. It’s lightweight, flexible and fast. Designed to slide. No less, no more -
Splide
Splide is a lightweight, flexible and accessible slider/carousel written in TypeScript. No dependencies, no Lighthouse errors. -
Sequence
The responsive CSS animation framework for creating unique sliders, presentations, banners, and other step-based applications. -
Swiffy Slider
Super fast carousel and slider with touch for optimized websites running in modern browsers. -
jQuery.adaptive-slider
A jQuery plugin for a slider with adaptive colored figcaption and navigation.
SaaSHub - Software Alternatives and Reviews
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Owl Carousel 2 or a related project?
README
YEAH SO THIS IS PRETTY MUCH DEAD, DO YOURSELF A FAVOR AND SWITCH TO tiny-slider
Owl Carousel 2
Touch 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.
Quick start
Install
This package can be installed with:
- npm:
npm install --save owl.carousel
oryarn add owl.carousel jquery
- bower:
bower install --save owl.carousel
Or download the latest release.
Load
Webpack
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';
Static HTML
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>
Usage
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();
});
Documentation
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.
Building
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.
Contributing
Please read [CONTRIBUTING.md](CONTRIBUTING.md).
Roadmap
Please make sure to check out our Roadmap Discussion.
License
The code and the documentation are released under the [MIT License](LICENSE).
*Note that all licence references and agreements mentioned in the Owl Carousel 2 README section above
are relevant to that project's source code only.