Overview
Note
Provided by Aegis Dash. Since Aegis Dash 1.1.0 this block is registered by the plugin. It appears in the inserter once one of its settings is on at Aegis → Blocks → Slider; there is no separate switch for the block itself. A site that already used the block through the Aegis theme has those settings turned on the first time Aegis Dash 1.1.0 loads. The theme only registers its own copy while Aegis Dash is not providing the block. Extras marked Pro need Aegis Pro.
| Block | Name | Role |
|---|---|---|
| Slider | aegis/slider | Carousel wrapper — settings, navigation, autoplay |
| Slide | aegis/slide | Single panel — holds any inner blocks |
Slide blocks only insert inside a Slider (parent: aegis/slider in block.json).
Slider attributes
| Attribute | Type | Default | Description |
|---|---|---|---|
type | string | slider | slider, marquee (Splide AutoScroll; not the Group Marquee variation), or fade |
perPage | number | 1 | Visible slides |
perMove | number | 1 | Slides advanced per navigation |
autoplay | boolean | false | Auto-advance |
pauseOnHover | boolean | true | Pause autoplay on hover |
loop | boolean | false | Infinite loop |
drag | boolean | true | Touch/mouse drag |
showArrows / showDots | boolean | true | Navigation UI |
speed | number | 400 | Transition ms |
interval | number | 5000 | Autoplay interval ms |
direction | string | ltr | ltr, rtl, or ttb |
height | string | "" | Optional fixed height |
breakpoints | boolean | true | Responsive perPage |
keyboard | boolean | true | Arrow keys when the slider is focused |
Slide block
- Container for slide content — images, text, buttons, etc.
- Supports background and text colors, padding
- Renders as
<div class="splide__slide">viarender.php
Usage

Add Slide blocks inside the Slider and set navigation in the sidebar.
- Insert the Slider block (defaults include three Slide children, one visible at a time).
- Build content inside each Slide.
- Configure autoplay, arrows, dots, and loop in Slider settings. Raise Slides Per Page to show more than one slide at once.
- Set Type to
marqueefor continuous scrolling (uses Splide AutoScroll). That is not the Group Marquee variation — see Block variations and Aegis Dash Marquee. - Set Type to
fadewhen the Fade extra is on (Splide fade; one slide per page).
New sliders default to Slides Per Page 1. Saved blocks keep their stored perPage. A template that still has "perPage":3 with three slides shows every slide at once, so Splide hides overflow arrows and dots. Set Slides Per Page to 1 or add more slides. See Common Issues.
Aegis → Blocks → Slider
There is no parent Slider toggle. Enabling any extra implies the block (same pattern as Related Posts). Without Aegis Dash (the theme’s own copy), all free extras behave as on. The aegis/slide child uses the same parent key.

Slider options in Aegis → Blocks.
| Extra | Inspector | Off fallback |
|---|---|---|
slider_slide | Implies the block (default slide type stays available) | Slide type remains the default |
slider_fade | Type: Fade | Fade remaps to slide |
slider_navigation | Show Arrows | arrows off |
slider_pagination | Show Dots | dots off |
slider_loop | Loop | loop off |
slider_keyboard | Keyboard Navigation | keyboard off |
slider_responsive | Responsive Breakpoints | breakpoints off |
slider_autoplay | Autoplay / Interval / Pause on Hover (Pro extra) | autoplay off |
Type (slider/marquee), per page, per move, speed, direction, height, and drag stay available when the block is registered.
Plugin demo patterns aegis/slider-* register only when Slider is implied on. Inspector extras are passed as window.aegisSliderFeatures on the block editor script.
Pro sub-features
Aegis → Blocks → Slider Pro extras (when Aegis Pro is licensed): fade effect, thumbnails, lightbox, mousewheel, aspect ratio, lazy loading, arrow styles, dot styles, and an autoplay pause control. Each extra is gated like Map/Countdown. The inspector reads window.aegisSliderEditor.features. Frontend extras run on Splide. Swiper-only effects (cube, coverflow, flip, cards, creative) were leftover from an older stack and are not offered.
See Aegis Dash Block Variations and Pro Block Extensions.
Developer notes
- Source:
src/Blocks/slider/,src/Blocks/slide/ - Registration:
src/Blocks/BlockRegistrar.php— directoryslidemaps to parent keyslider; extras imply that parent - Inspector extras:
window.aegisSliderFeaturesinlined on the registered editor script handle - Splide JS/CSS register from
vendor/aegis/framework/publiconinit8 (splideandsplide-autoscrollscripts;splidestyle). Oninit20 the generated slider view handle depends onsplide. - Styles:
block.jsonstyleisfile:style-index.cssplus thesplidehandle. Webpack compilesstyle.scssbecauseindex.tsximports it (same pattern as Related Posts). - View scripts:
view.js,splide,splide-autoscroll.view.tswaits untilSplideis defined before mounting. - Editor canvas lays slides in a horizontal row (
--aegis-slider-per-page). Arrows and dots in the editor are decorative chrome, not interactive Splide controls. - Accessibility: keyboard arrow navigation — see Accessibility
Next Steps
- Custom Blocks — Block index
- Block patterns — Slider category patterns (plugin demos)