A value from the breakpoints section in the theme. Will render children
from that breakpoint and above. Default breakpoint values: sm, md, lg, xl, 2xl.
Show / Hide
Show and Hide wrapper components render or not render the child elements if the media query matches.
Props#
above
abovestringbelow
belowA value from the breakpoints section in the theme. Will render children
from that breakpoint and below. Default breakpoint values: sm, md, lg, xl, 2xl.
stringbreakpoint
breakpointA custom css media query that determines when the children are rendered.
Will render children if that query resolves to true.
stringssr
ssrbooleanProps#
above
aboveA value from the breakpoints section in the theme. Will render children
from that breakpoint and above. Default breakpoint values: sm, md, lg, xl, 2xl.
stringbelow
belowA value from the breakpoints section in the theme. Will render children
from that breakpoint and below. Default breakpoint values: sm, md, lg, xl, 2xl.
stringbreakpoint
breakpointA custom css media query that determines when the children are rendered.
Will render children if that query resolves to true.
stringssr
ssrboolean