A dependency-free JavaScript ES6 slider and carousel. It’s lightweight, flexible and fast. Designed to slide. No less, no more
A dependency-free JavaScript ES6 slider and carousel. It’s lightweight, flexible and fast. Designed to slide. No less, no more
What can convince you:
Visit glidejs.com for documentation.
Looking for old documentation? Wiki contains archived documentation of Glide.js in version
^2.0.0.
Glide.js is an open source project licensed under the MIT license. It's completely free to use. However, it would be great if you buy me a cup of coffee once in a while to keep me awake :)
Pull-in a latest version with NPM ...
npm install @glidejs/glide... provide <link> to the required core stylesheet. You can also optionally add an included theme stylesheet ...
<link rel="stylesheet" href="node_modules/@glidejs/glide/dist/css/glide.core.min.css">
<link rel="stylesheet" href="node_modules/@glidejs/glide/dist/css/glide.theme.min.css">... then, prepare a little bit of necessary markup ...
</div>... and finally, initialize and mount a Glide.
import Glide from '@glidejs/glide'
new Glide('.glide').mount()Need a few selected modules? Import and mount only what you need.
import Glide, { Controls, Breakpoints } from '@glidejs/glide/dist/glide.modular.esm'
new Glide('.glide').mount({ Controls, Breakpoints })The issue channel is especially for improvement proposals and bug reporting. If you have implementing problems, please write on StackOverflow with glidejs tag.
Build using NPM scripts. The following scripts are available:
build:css - Outputs CSS files from SASS files.build:js - Outputs all destination variants of the script.build - Comprehensively builds the entire library.test - Runs complete test suite.lint - Lints library JavaScript files.Copyright (c) 2014-present, Jędrzej Chałubek. Licensed under the terms of the MIT License.
is glide Dead?
Feature Request: Custom Fixed Width for Glide.js Slides
Cant import Clones, Move and Sizes after upgrade to 3.7.1
Skip next Slide when Click arrow button on Mobile IOS 14
Animation speeds up when returning to tab; way to pause when changing tab?
Gaps and mixed format images
Add class to all perView active slides
The requested module '@glidejs/glide' does not provide an export named 'default'
glidejs not working on mobile
Direction pattern parsing fails for `perSwipe` setting with integer value