How can we create auto image slider with dynamic component

I’m Really Surprised
as i am searching for any topic that uses custom logic to create image slider but not found any