SlidesJS
SlidesJS Module for Drupal is a responsive image slider that allows content editors to create customizable carousels with titles, descriptions, and links. It offers navigation controls, autoplay, and touch support, all while maintaining a focus on accessibility and performance.
SlidesJS Module for Drupal
SlidesJS Slider is a powerful, mobile-responsive image slider module for Drupal that allows content editors to create beautiful, customizable image carousels with an intuitive interface.
Key Features
- Fully Responsive Design: Automatically adapts to different screen sizes and devices
- Customizable Size: Single slider control to adjust the overall dimensions while maintaining aspect ratio
- Multiple Content Options: Add titles, descriptions, and links to each slide
- Navigation Controls: Optional previous/next buttons and pagination dots
- Autoplay Support: Configure automatic transitions with adjustable timing
- Touch-Enabled: Swipe support for mobile devices
- Accessibility Features: Screen reader support and keyboard navigation
Technical Details
This module provides a custom block type that site builders can place in any region. Each slider instance can be configured independently with different settings and content:
- Block-based architecture for flexible placement anywhere on your site
- CSS custom properties for dynamic resizing that maintains responsive behavior
- Clean, semantic HTML5 markup
- Progressive enhancement approach ensures graceful fallback
- No external dependencies - uses pure JavaScript for carousel functionality
- Compatible with Drupal 9 and 10
Content Editor Experience
The intuitive interface makes it easy for content editors to:
- Upload images directly through the block configuration
- Add, remove, and reorder slides with simple controls
- Set titles and descriptions for each slide with full text formatting
- Add optional links to direct users to relevant content
- Adjust the overall slider size with a simple slider control
- Configure display options like autoplay, navigation, and pagination
Responsive Design
The module is built with mobile-first principles, ensuring your sliders look great on all devices:
- Fluid, percentage-based sizing that adapts to container width
- Single slider control adjusts both height and width proportionally
- Automatic fallback to full-width on mobile devices
- Optimized UI components for touch interaction
- Responsive text sizing for slide content
Performance Considerations
SlidesJS Slider is built with performance in mind:
- Lightweight JavaScript with minimal DOM manipulation
- CSS transitions for smooth animations
- Lazy-loading option for improved page load times
- Optimized image handling for faster rendering
Installation
Install the module as you would any Drupal module:
- Download and place in your modules directory
- Enable through the Extend interface or using Drush
- Place slider blocks in your desired regions through the Block layout interface
Future Development
Planned enhancements for future releases include:
- Additional transition effects (fade, slide, zoom)
- Integration with Media Library for improved media management
- Custom aspect ratio controls
- Advanced styling options through UI controls
- Viewports module integration for better responsive control
Accessibility Focus
The module prioritizes accessibility with:
- ARIA attributes for screen reader support
- Keyboard navigation for all slider controls
- Pause on hover/focus functionality
- Color contrast compliance for overlay text
- Support for reduced motion preferences
This module brings enterprise-quality slider functionality to Drupal sites with a focus on user experience, performance, and accessibility.
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 11.0.0 | Stable | 9–11 | Mar 20, 2025 | ||
| 11.0.x-dev | Dev | 9–11 | Mar 18, 2025 | ||
| 10.0.x-dev | Dev | 9–10 | Mar 18, 2025 | ||
| 9.0.x-dev | Dev | 9–10 | modern_image_slider | Mar 18, 2025 | |
| 8.x-1.x-dev | Dev | 8 | modern_image_slider | Mar 18, 2025 | |
| 7.x-1.x-dev | Dev | Mar 18, 2025 |