Welcome to the
PixieSlider
A futuristic, glassy-tech JavaScript slider, powered by TailwindCSS v4 and built for cosmic-scale performance.
๐ Examples & CodeQuick Example
<div id="slider-1" class="aspect-[16/9]">
<div data-slide data-media="./img1.jpg"></div>
<div data-slide data-media="./img2.jpg"></div>
<div data-slide data-media="./img3.jpg"></div>
</div>
<script type="module">
import { PixieSlider } from './slider/dist/index.es.js';
const slider = new PixieSlider('pixie-slider', {
paginationDots: true,
progressBar: true,
navigation: true,
navAutoHide: true,
navAutoHideDelay: 2000,
fullscreen: true
});
</script>
๐ผ๏ธ
Image & Video
Seamlessly mix images and videos in one slider.
โจ
Animated Captions
Add neon-glow text overlays with custom animations.
โ๏ธ
Full API
goTo, next/prev, play/pause, or hook into lifecycle events.
Documentation & Demos
Deep dive into usage, options, and visual examples.
๐งAPI Reference
Full JS API docs, config options, and callbacks.