awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
ganlanyuan avatar

ganlanyuan/tiny-slider

0
View on GitHub↗

Tiny Slider

Tiny-slider is a vanilla JavaScript carousel library used to create touch-enabled content sliders and accessible UI components without external dependencies. It functions as a responsive layout engine that adjusts slide visibility and dimensions based on viewport breakpoints.

The library distinguishes itself through built-in lazy loading for images and media to improve page performance and a responsive system that automatically scales item counts and spacing according to the device screen size. It also supports nested slider instances, allowing for the creation of multi-directional scrolling layouts.

The project covers comprehensive navigation and interaction capabilities, including keyboard arrow support, screen reader accessibility, and touch gesture detection. It provides tools for automated slide transitions, custom navigation styling for pagination and buttons, and an event-driven system for triggering custom logic during lifecycle changes.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Features

  • Accessible Sliders - Provides an interactive content carousel with keyboard navigation and screen reader support for inclusive UX.
  • Touch-Enabled Carousels - Ships a touch-enabled carousel supporting native swipe gestures and mouse-based dragging for content navigation.
  • Responsive Layout Breakpoints - Allows for the configuration of slider behavior and layout settings using specific viewport breakpoints.
  • Accessible UI Components - Provides interactive carousel components built with ARIA roles and keyboard support for screen reader accessibility.
  • Carousel Layout Configurations - Supports configuration of carousel orientation, visible slide count, and item spacing across different screen sizes.
  • Content Sliders - Renders sequences of arbitrary content or images using horizontal or vertical sliding animations.
  • Gesture Navigation - Provides navigation interactions driven by clicking, dragging, or swiping to move through content slides.
  • Keyboard Navigation - Enables interface control and slide movement through keyboard arrow keys and screen reader announcements.
  • Touch Navigation Interfaces - Implements gesture-based navigation, including swipe-to-advance functionality, for mobile devices.
  • Responsive Layout Engines - Functions as a responsive layout engine that automatically adapts slide visibility and dimensions across different screen sizes.
  • Viewport Width Constraints - Matches window width against breakpoints to apply specific layout settings and slide visibility.
  • Touch and Drag Interactions - Supports switching slides by swiping on touch devices or dragging with a mouse.
  • Touch Gesture Detection - Detects and responds to swipe gestures on touch-enabled screens to transition between content slides.
  • Touch Gesture Handlers - Translates mouse and touch input coordinates into translation values to shift content slides.
  • Media Lazy Loading - Postpones the loading of images and media until the slide enters the viewport to optimize performance.
  • Gallery-Specific Lazy Loading - Defers loading of off-screen gallery assets to improve initial page load speed and reduce bandwidth.
  • Responsive Layout Adaptation - Changes slider settings and item visibility based on viewport size to ensure a consistent user experience.
  • Vanilla JavaScript Implementations - Implements a lightweight, dependency-free slider using standard ECMAScript and native browser APIs.
  • Carousel Libraries - Provides a lightweight, dependency-free vanilla JavaScript library for creating touch-enabled content sliders.
  • Lifecycle Event Callbacks - Executes user-defined callbacks during specific operational lifecycle stages such as index changes and transition start/end.
  • Custom Event Emission - Emits custom events during slide transitions and index changes to synchronize state with external logic.
  • Responsive Item Scaling - Automatically adjusts the number of visible slides and item spacing based on the current viewport width.
  • Interaction Callbacks - Provides hooks that trigger custom functions in response to slide changes and touch/drag interactions.
  • Nested Slider Layouts - Supports nested slider instances to enable the creation of complex multi-directional scrolling layouts.
  • Nested Component Hierarchies - Allows separate slider controllers to manage independent axes of movement within a single parent container.
  • Slide Navigation Controls - Includes interactive previous/next buttons and pagination indicators for manual slide cycling.
  • Slide Layout and Styling - Supports configuring slide widths via percentages or pixels and defining spacing between items.
  • Responsive Sliders - Modifies the number of visible slides dynamically based on viewport width for optimal display.
  • Automated Slide Rotation - Automatically loops through slides at a set interval with programmatic pause and resume capabilities.
  • Timer-Based Event Loops - Implements a timer-based event loop to manage automatic slide transitions with pause-on-hover logic.
  • Image Lazy Loading - Delays the loading of off-screen images to reduce initial page load time and save bandwidth.
5,333 stars·777 forks·HTML·MIT·28 views

Star history

Star history chart for ganlanyuan/tiny-sliderStar history chart for ganlanyuan/tiny-slider

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

Frequently asked questions

What does ganlanyuan/tiny-slider do?

Tiny-slider is a vanilla JavaScript carousel library used to create touch-enabled content sliders and accessible UI components without external dependencies. It functions as a responsive layout engine that adjusts slide visibility and dimensions based on viewport breakpoints.

What are the main features of ganlanyuan/tiny-slider?

The main features of ganlanyuan/tiny-slider are: Accessible Sliders, Touch-Enabled Carousels, Responsive Layout Breakpoints, Accessible UI Components, Carousel Layout Configurations, Content Sliders, Gesture Navigation, Keyboard Navigation.

Which projects share features with ganlanyuan/tiny-slider?

Projects with overlapping indexed features include: stevenwanderski/bxslider-4 — This project is a jQuery content slider used to create responsive image galleries and touch-enabled carousels. It… surmon-china/vue-awesome-swiper — vue-awesome-swiper is a Vue.js component wrapper for the Swiper library, providing a declarative interface for… owlcarousel2/owlcarousel2 — OwlCarousel2 is a touch-enabled jQuery plugin used to create responsive content sliders and carousels. It allows for… splidejs/splide — Splide is a framework-agnostic TypeScript library for creating accessible, touch-enabled content carousels and image… glidejs/glide — Glide is a dependency-free ES6 JavaScript library used to create responsive content sliders and carousels. It… rcbyr/keen-slider — Keen-slider is a JavaScript touch carousel library and DOM-based slider engine. It provides a framework-independent…

Projects sharing features with Tiny Slider

These projects share indexed features with Tiny Slider. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • stevenwanderski/bxslider-4stevenwanderski avatar

    stevenwanderski/bxslider-4

    4,166View on GitHub↗

    This project is a jQuery content slider used to create responsive image galleries and touch-enabled carousels. It functions as an accessible UI component that displays images, video, or HTML content using hardware-accelerated animations. The slider includes built-in support for swipe gestures and finger-following navigation for touch-enabled devices. It integrates ARIA attributes, such as Aria Live and Aria Hidden, to ensure screen reader compatibility and accessibility for users of assistive technologies. The system provides comprehensive layout and navigation capabilities, including config

    JavaScriptbxslidercontent-sliderimage-slider
    View on GitHub↗4,166
  • surmon-china/vue-awesome-swipersurmon-china avatar

    surmon-china/vue-awesome-swiper

    12,790View on GitHub↗

    vue-awesome-swiper is a Vue.js component wrapper for the Swiper library, providing a declarative interface for creating touch-enabled carousels. It serves as a virtualized slider component that can render only visible slides to maintain performance when handling large datasets. The project distinguishes itself through high-performance rendering and a wide array of visual effects, including 3D transitions, parallax movements, and image zoom capabilities. It also supports the synchronization of multiple slider instances and provides accessibility features such as ARIA roles and focus-scrolling

    JavaScriptcarouselcarrouselnuxtjs
    View on GitHub↗12,790
  • owlcarousel2/owlcarousel2O

    OwlCarousel2/OwlCarousel2

    7,923View on GitHub↗

    OwlCarousel2 is a touch-enabled jQuery plugin used to create responsive content sliders and carousels. It allows for the creation of image sliders and content collections that adjust the number of visible items based on screen size breakpoints. The project utilizes a modular architecture, enabling the addition or removal of specific functional modules to modify behavior and reduce the final JavaScript bundle size. It provides native support for navigation through touch-screen swiping and mouse-based dragging.

    JavaScript
    View on GitHub↗7,923
  • splidejs/splideSplidejs avatar

    Splidejs/splide

    5,355View on GitHub↗

    Splide is a framework-agnostic TypeScript library for creating accessible, touch-enabled content carousels and image galleries. It provides a dependency-free implementation of sliders that support drag, swipe, and flick interactions across mobile and desktop browsers. The library distinguishes itself through a comprehensive accessibility layer using ARIA roles and screen reader support. It features a responsive breakpoint system that adapts slide dimensions and behavior based on screen width, alongside a plugin system for extending core functionality with custom components and transition effe

    TypeScriptautoplaybreakpointscarousel
    View on GitHub↗5,355
Compare all 30 related projects→