Skip to content

🎠 ♻️ Everyday 30 million people experience. It's reliable, flexible and extendable carousel.

License

Notifications You must be signed in to change notification settings

naver/egjs-flicking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

version npm bundle size (scoped) Coveralls github DeepScan grade

GitHub commit activity npm downloads per month GitHub contributors GitHub

Angular React Vue Preact Svelte

Everyday 30 million people experience. It's reliable, flexible and extendable carousel.
πŸ“±πŸ’»πŸ–₯

Supported Frameworks
AngularJSΒ Β  ReactΒ Β  Vue.jsΒ Β  PreactΒ Β  Svelte


iPhone demo Music app demo Full page demo
Parallax demo
πŸ–±οΈClick each images to see its source or check our full demos.

✨ Features

  • Use it in a framework you like.
    • We supports all major JS frameworks like React, Vue, Angular
  • SSR(Server Side Rendering) ready
    • You can use Flicking at your favorite SSR frameworks like Next.js or Nuxt.js.
  • Circular(Loop) Mode
  • Ready-to-use plugins you can grab right away.
    • Autoplay, Fade effect, Parallax effect, ...
  • Restore state like position and active slide with persist
  • You can make native-scroll like UI with bound and moveType: freeScroll
  • Supports both Desktop & Mobile
  • Rich API
  • Supports IE9+ with the polyfill

βš™οΈ Installation

npm

$ npm install --save @egjs/flicking

CDN

πŸƒ Quick Start

HTML

Flicking requires minimal structure to initialize properly.

You don't need to consider this when using Flicking with the frameworks.

<div id="my-flicking" class="flicking-viewport">
  <div class="flicking-camera">
    <div class="panel"></div>
    <div class="panel"></div>
    <div class="panel"></div>
  </div>
</div>

ES Modules

import Flicking from "@egjs/flicking";
// import styles
import "@egjs/flicking/dist/flicking.css"; // Supports IE10+, using CSS flex
// Or...
import "@egjs/flicking/dist/flicking.inline.css"; //Supports IE9+, using CSS inline-box

const flicking = new Flicking("#my-flicking", { circular: true });

With CDN

<!-- Packaged with all dependencies -->
<script src="https://unpkg.com/@egjs/flicking@4.0.0-beta.4/dist/flicking.pkgd.min.js"></script>
<link rel="stylesheet" href="https://unpkg.com/@egjs/flicking@4.0.0/dist/flicking.css">
var flicking = new Flicking("#my-flicking", { circular: true });

πŸ“¦ Packages

Package Version Description
@egjs/flicking-plugins version Readymade effects for your carousel
@egjs/ngx-flicking version Angular Angular port of @egjs/flicking
@egjs/react-flicking version React React port of @egjs/flicking
@egjs/vue-flicking version Vue.js Vue.js@2 port of @egjs/flicking
@egjs/vue3-flicking version Vue.js Vue.js@3 port of @egjs/flicking
@egjs/preact-flicking version Preact Preact port of @egjs/flicking
@egjs/svelte-flicking version Svelte Svelte port of @egjs/flicking

🌐 Supported Browsers

IE Chrome Firefox Safari iOS Android
9+(With polyfill), 11+ for Angular & Svelte Latest Latest Latest 7+ 4+

πŸ“Ό Demos

Check our Demos.

πŸ“– Documentation

See Documentation page.

πŸ™Œ Contributing

See CONTRIBUTING.md.

πŸ“ Feedback

Please file an Issue.

πŸ›£οΈ Roadmap

See our Roadmap.

πŸ“œ License

@egjs/flicking is released under the MIT license.

Copyright (c) 2015-present NAVER Corp.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Β Β Β Β Β Β