Skip to content
HTML Templates For Developers

Glide — HTML Slider Template

A dependency-free HTML slider in four setups: autoplay hero, multi-card carousel, cross-fading quotes and a thumbnail gallery, with swipe, keyboard and ARIA support.

FreeVanilla HTMLOne-page
Glide — HTML Slider Template — template preview

Live preview

This is the actual template running in a sandbox, shown at 1280px wide.

Description

Glide is one small JavaScript file that turns any block of markup into a slider. The page shows it four ways: a full-width hero that autoplays with a progress bar, a card carousel that shows one, two or three cards depending on screen width, a testimonial fader that cross-fades between quotes, and a gallery with a large stage and a thumbnail strip.

Everything is configured with data attributes on the slider element, such as data-glide-autoplay, data-glide-effect and data-glide-per-view, so you rarely need to touch the script. Arrow buttons, dots, thumbnails, a pause button and a counter are optional parts that wire themselves up when they are present.

Accessibility is part of the build. Each slider is a labelled carousel region with numbered slides, hidden slides are removed from the tab order, the track is a polite live region while paused and silent while autoplaying, and autoplay pauses on hover and focus. Visitors who prefer reduced motion get sliders that start paused. All artwork is original inline SVG drawn once and reused.

Key features

  • Four configurations: autoplay hero, multi-card carousel, cross-fading quotes, thumbnail gallery
  • Arrows, generated dots, thumbnails, slide counter and a pause/play button
  • Touch swipe and mouse drag with a snap threshold, plus arrow, Home and End keys
  • Autoplay with a CSS progress bar that pauses on hover, focus and hidden tabs
  • Responsive cards per view set with data-glide-per-view, -sm and -lg attributes
  • Fade or slide effect and optional looping, chosen by data attributes
  • ARIA carousel roles, numbered slides, polite live region and inert hidden slides
  • Starts paused when the visitor prefers reduced motion
  • Original SVG artwork shared through one inline sprite, no images to download
  • Self-hosted Sora font and no dependencies or external requests

Front-end template: what is demonstration only

  • All destinations, workshops, prices, quotes and people are fictional sample content.
  • The links on the hero slides point at example.com placeholders.

What is included

Pages and sections

  • Intro and jump links
  • Hero slider with autoplay and progress bar
  • Multi-card carousel
  • Cross-fading quote slider
  • Gallery with thumbnails
  • Options reference table

Framework

Plain HTML5, CSS3 and JavaScript. No framework, no build step — open index.html and edit.

Bundled open-source components

  • Sora typeface (OFL-1.1)
  • Lucide icons (inlined SVG) (ISC)

Everything is inside the download with its licence. Nothing loads from a CDN.

Supported browsers

Chrome, Edge, Firefox, Safari, Opera

Current versions. Checked in Chromium at desktop, tablet and phone widths.

Files in the download (10) · 58 KB ZIP
  • LICENSE.txt1.3 KB
  • README.md2.5 KB
  • assets/css/style.css16 KB
  • assets/fonts/sora-LICENSE.txt4.3 KB
  • assets/fonts/sora-latin-wght-normal.woff233 KB
  • assets/images/favicon.svg257 B
  • assets/js/main.js12 KB
  • documentation/index.html11 KB
  • documentation/licenses/lucide-LICENSE.txt3.1 KB
  • index.html31 KB

Includes a README, a documentation page with customisation notes, and the licence text.

Read the documentation

Changelog

  1. Version 1.0.0 Nov 23, 2026Current

    • Initial release.

Licence

Free Template Licence. Use it in unlimited personal and commercial projects, modify it freely and use it in client work. You may not redistribute or resell the template itself. Attribution is appreciated, not required.

Read the full licence terms

Customer reviews

No reviews yet. Reviews come only from customers who have downloaded or bought this template.

Write a review