Is it possible to include a reusable component conditionally based on device? The toggle visibility feature solves the issue as far as functionality is concerned. However, the block or container stays in the page as a blank object and looks odd. You can always make out something is hidden in the page with cursor. Take the case of example screen shot. You can easily figure out the bottom of the page has a hidden component.
Here is a screen shot of my code. I first assign a Id to the block and use the Toggle Component Visibility from UI Builder.
Thanks,
Ariv
Please ignore this issue. After I put both divider and bottomPanelContainer inside another block and applied the logic of component visibility to the block itself, it solved the issue.