Personally, I would leave that functionality to the frontend developer and not enforce it by Strapi. Strapi is an API to provide data to frontends, whether that’s web, mobile or another server.
You could create a Content Type that is setup for this sort of component behaviour. It would give the images, text and other elements via the API to build those components on the frontend.