This members-only tutorial provides the steps to convert galleries in WordPress into a slider or carousel using Splide.
Before:
After:
After implementing the tutorial, to make any gallery inserted via the WordPress block editor into a slider, add it to a group and give the group a class of splide-slider.
If you would like additional functionality like lightbox with navigation, thumbnails inside the lightbox you may want to use HappyFiles' shortcode,