# Owl Carousel 2 Touch enabled [jQuery](https://jquery.com/) 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](https://www.npmjs.com/package/owl.carousel): `npm install --save owl.carousel` or `yarn add owl.carousel jquery` - [bower](http://bower.io/search/?q=owl.carousel): `bower install --save owl.carousel` Or download the [latest release](https://github.com/OwlCarousel2/OwlCarousel2/releases). ### 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: ```js import 'owl.carousel/dist/assets/owl.carousel.css'; import 'owl.carousel'; ``` #### Static HTML Put the required stylesheet at the [top](https://developer.yahoo.com/performance/rules.html#css_top) of your markup: ```html ``` ```html ``` **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](https://developer.yahoo.com/performance/rules.html#js_bottom) of your markup right after jQuery: ```html ``` ```html ``` ### 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: ```html