Pagiflow Demos & Examples

Options: Layout

Items & Scroll

Control how many items are visible and how many are scrolled at once.

itemsPerSlide & slidesToScroll
1
2
3
4
5
6
Pagiflow('#demo-items-per-slide', { itemsPerSlide: 3, slidesToScroll: 1 });
Options: Layout

Gap

Control the spacing between slides in the slider track.

Gap Controls
A
B
C
Options: Layout

Height

Controls the total height of the slider track.

height
Slide 1
Slide 2
Slide 3
Slide 4
Slide 5
Note: The default value is auto, but a fixed height is required for vertical sliders, fade transitions, and thumbnail layouts.
Options: Layout

Center Mode

Keep the active slide centered with partial views of adjacent slides.

Center Mode & Padding
Slide 1
Slide 2
Slide 3
Options: FX

Animation Speed

Control the duration and toggle of slide transitions.

Speed & Animate
Fast
Medium
Slow
Options: FX

Transitions

Choose between classic sliding or sleek cross-fading.

Fade vs Slide
Fade 1
Fade 2
Fade 3
Options: Logic

Infinite Loop

Seamless wrapping for non-stop slide movement.

Loop Toggle
Loop A
Loop B
Loop C
Options: Logic

RTL Support

Full Right-to-Left direction support for internationalized layouts.

RTL Toggle
Slide 1
Slide 2
Slide 3
Options: Layout

Vertical Direction

Switch the slider axis to scroll slides vertically instead of horizontally.

Vertical Direction
Slide 1
Slide 2
Slide 3
Slide 4
Slide 5
Pagiflow('#demo-vertical', { direction: 'vertical', height: '260px', loop: true, nav: true });
Options: Logic

Autoplay & Playback

Automate slide transitions with configurable delays and pause behavior.

Autoplay & Pause
Auto 1
Auto 2
Auto 3
Options: UI

Navigation

Customize navigation buttons, icons, and end-of-slider behavior.

Navigation Icons & End Logic
Nav 1
Nav 2
Nav 3
Options: UI

Pagination

Fine-tune dot pagination visibility and screen position.

Dot Positioning
Dot 1
Dot 2
Dot 3
Options: Layout

Grid System

Multi-row and multi-column layouts for complex displays.

Grid Columns & Fill
1
2
3
4
5
6
Options: Marquee

AutoScroll (Marquee)

Continuous, non-stop scrolling movement for logos or banners.

Continuous Movement
Logo 1
Logo 2
Logo 3
Logo 4
Logo 5
Logo 6
Logo 7
Logo 8
Logo 9
Logo 10
Logo 11
Logo 12
Options: Features

Thumbnails

Auto-generated thumbnail navigation for easy slide selection.

Thumbnails Position & Toggle
Main 1
Main 2
Main 3
Main 4
Main 5
Main 6
Main 7
Main 8
Main 9
Main 10
Options: Advanced

Slider Syncing

Connect two separate slider instances to move in tandem.

Bidirectional Sync
Master A
Master B
Master C
Slave A
Slave B
Slave C
Navigate either slider; the other will follow.
Options: Performance

Lazy Loading

Load images only when they become visible in the viewport.

On-Demand Loading
Lazy Image 1
Lazy Image 2
Lazy Image 3
Images load only when they enter the viewport. Check network tab!
Programmatic API

Methods Playground

Exhaustive testing of the programmatic API. Trigger actions on the instance below.

Instance: playgroundSlider
Active
Slide 0
Slide 1
Slide 2
Slide 3
Slide 4
Commands
Console Output
> Waiting for input...
Programmatic Callbacks

Event Hooks

Listen to internal state changes and react in your application.

onSlideChange
Slide 0
Slide 1
Slide 2
> event-log: waiting for change...
Showcase Visuals

Real-World Example

A production-ready implementation featuring high-resolution imagery, captions, and sleek interactions.

Mountain Landscape

Alpine Serenity

Swiss Alps, Switzerland

Tropical Beach

Island Paradise

Maldives, Indian Ocean

City Skyline

Neon Pulse

Tokyo, Japan

Snowy Peak

Ethereal Heights

Mount Everest Base, Nepal

Ancient Forest

Whispering Woods

Redwood National Park, USA

Configuration
Pagiflow('#demo-showcase', {
    itemsPerSlide: 1,
    centerMode: true,
    centerPadding: '10%',
    loop: true,
    autoplay: true,
    nav: true,
    gap: 20
  });