Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
G

glide

> 开发工具
Open source

A dependency-free JavaScript ES6 slider and carousel. It’s lightweight, flexible and fast. Designed to slide. No less, no more

7.7K stars0 likes2 views
WebsiteGitHub

About

A dependency-free JavaScript ES6 slider and carousel. It’s lightweight, flexible and fast. Designed to slide. No less, no more

Glide.js is 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:

  • Dependency-free. Everything included, ready for action.
  • Lightweight. Only ~23kb (~7kb gzipped) with every functionality on board.
  • Modular. Remove unused modules and drop script weight even more.
  • Extendable. Plug-in your own modules with additional functionalities.
  • Bundlers ready. Using Rollup or Webpack? We have your back.

Documentation

Visit glidejs.com for documentation.

Looking for old documentation? Wiki contains archived documentation of Glide.js in version ^2.0.0.

Donation

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 :)

  • PayPal
  • Github Sponsors

Getting started

Pull-in a latest version with NPM ...

bash
npm install @glidejs/glide

... provide <link> to the required core stylesheet. You can also optionally add an included theme stylesheet ...

xml

<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 ...

xml

</div>

... and finally, initialize and mount a Glide.

javascript
import Glide from '@glidejs/glide'

new Glide('.glide').mount()

Need a few selected modules? Import and mount only what you need.

javascript
import Glide, { Controls, Breakpoints } from '@glidejs/glide/dist/glide.modular.esm'

new Glide('.glide').mount({ Controls, Breakpoints })

Contributing

The issue channel is especially for improvement proposals and bug reporting. If you have implementing problems, please write on StackOverflow with glidejs tag.

Browser Support

  • IE 11+
  • Edge
  • Chrome 10+
  • Firefox 10+
  • Opera 15+
  • Safari 5.1+
  • Safari iOS 9+

Building

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.

Credits

  • Jędrzej Chałubek - Creator
  • Contributors

License

Copyright (c) 2014-present, Jędrzej Chałubek. Licensed under the terms of the MIT License.

Issues· 245 open

View all issuesOpen on GitHub
  • #720

    is glide Dead?

    Updated Oct 27, 2025
  • #673

    Feature Request: Custom Fixed Width for Glide.js Slides

    Updated Sep 4, 2025
  • #703

    Cant import Clones, Move and Sizes after upgrade to 3.7.1

    Updated Aug 28, 2025
  • #554

    Skip next Slide when Click arrow button on Mobile IOS 14

    Updated Jul 23, 2025
  • #671

    Animation speeds up when returning to tab; way to pause when changing tab?

    Updated Jul 11, 2025
  • #717

    Gaps and mixed format images

    Updated May 13, 2025
  • #303

    Add class to all perView active slides

    extension candidateUpdated May 6, 2025
  • #674

    The requested module '@glidejs/glide' does not provide an export named 'default'

    Updated Apr 15, 2025
  • #713

    glidejs not working on mobile

    Updated Apr 9, 2025
  • #712

    Direction pattern parsing fails for `perSwipe` setting with integer value

    Updated Apr 3, 2025

> Tags

JavaScriptcarouseldependency-freees6javascript

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
Category开发工具
PricingOpen source

> Related tools

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具