Hello ;)
There are some interesting references online that could give you some idea by reading them.
For example:
How Does Mendix Support Different Screen Sizes & Devices?
Personally I wouldn't go for custom code. I wouldn't use React unless there's a really good reason to. Try to reuse all the widgets and styling components the atlas framework provides you or the styling module of the company you're working for (if that exists)