<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-5HGSQD2L" height="0" width="0" style="display:none;visibility:hidden" title="GTM"></iframe>

Visible

Show content based on the size of the user's screen/window.
styleKeys: visible

The preview has been updated.

Share
Share

Props

Visible
This component is implemented using the <div /> as the root element. You can utilize the native attributes supported by <div /> tag. The ref is directly assigned to the root element, allowing you to access and manipulate it as needed.
See core props for additional props that can be applied to this component.
proptyperequireddescriptiondefault
xsboolean | nullfalse
Whether or not the content should be visible on extra-small screens
false
smboolean | nullfalse
Whether or not the content should be visible on small screens
false
mdboolean | nullfalse
Whether or not the content should be visible on medium screens
false
lgboolean | nullfalse
Whether or not the content should be visible on large screens
false
xlboolean | nullfalse
Whether or not the content should be visible on extra-large screens
false

Related