Hidden
Utility component to responsively hide or show content.
#
Importimport { Hidden } from '@volue/wave-react';
#
Examples#
BasicHidden
provides a way to hide or show content/components according to the passed value.
Hidden
hides content both visually and for assistive technology/screen reader users.
For hiding content but keeping it available to screen readers, use Visually Hidden component.
#
ResponsiveHidden
supports responsive syntax for hide
property, which means you can control the visibility based on the size of the viewport.
#
API ReferenceProp | Type | Default |
---|---|---|
as | enum | div |
css | StitchesCss | No default value |
hide | boolean | true |
display | enum | "block" |