Import
Basic Usage
Hide on Large Screens
Using Visibility Instead of Display
With Different Elements
Responsive Navigation Example
With View Items
Props
Node for inserting children
Pick at which viewport sizes to hide the children. Use responsive breakpoints:
{ s: boolean, m: boolean, l: boolean }Use
visibility: hidden instead of display: none. This maintains the element’s space in the layout while making it invisibleCustom root element html tag (default: “div”)
Hidden works seamlessly with View’s divided prop - when an item is hidden, its divider is also hidden automatically.
Use
visibility when you need to maintain layout spacing even when content is hidden. Without it, the element is completely removed from the layout.The responsive
hide prop follows Reshaped’s breakpoint system: s (small), m (medium), l (large).