In this article, we’ll walk through the process of taking a seemingly simple design for a text-and-media component and deciding how best to translate it into code, keeping in mind the needs of both users and content authors.
https://smashingmagazine.com/2021/09/developer-decisions-building-flexible-components/