I think this is the huge one. Kids can spot hypocrisy easily. You can't convince a kid to not get addicted to social media if you yourself are addicted. Just like children of smokers know their smoking parents telling them not to smoke are full of shit.
I do it by 1. not using social media and 2. when I do use my phone, set a good example by visibly using it for a specific purpose, putting it down after I'm done doing the task. Rather than just sitting there like a zombie scrolling and "consuming content." I'm deliberately trying not to normalize sitting there scrolling your phone, oblivious to the world around you. You can't hide this entirely because every time you go out into the world, you see adults everywhere zoned out mesmerized by their phones.