Earlier quoted context omitted.
Well you're articulating the result you want, but not the mechanism for how you expect to achieve it. A law has to articulate which behaviors are legal or, and what the penalties for non-compliance are. Otherwise we could just pass laws saying 'the economy has to make everyone prosperous, people have to feel safe and fulfilled' and call it a day. So, what actual rules do you want to make in service of these desirable…
What I'd recommend is research on specific behaviors taken by social media companies to determine which are shown to cause harms. Some of that is already done by the companies themselves. If, for example, infinite scrolling is seen as a practice that increases addiction to the platforms, a law can be passed that makes it illegal to implement infinite scrolling. A law like that is pretty easy to explain and understand…
Not saying these are impossible questions to answer or get right in a law, just that there are more things to think about than which component you decide to show data inside.