There are many ways to build a slideshow in Drupal.
We could build a view, with a slider display. We could have a field formatter, or a custom block.
If we wanted to have each of those, we would want to share the front end code between them.
SDC lets us decouple it by providing templates with variables that could be populated by views, fields, or block values.
UI Patterns lets us configure these things in the UI so we don't have to write additional code.
I use Swiper JS, which is accessible, robust, and well maintained.
To get started, let's create a basic swiper component, based on the demo.
https://swiperjs.com/get-started
In your custom theme's /components/swiper directory, add swiper.component.yml.
Modules
Questions