2.2 Hidden View in a new window
Hide elements from all users. Compare to the visually-hidden component.
Used for elements which should not be immediately displayed to any user. An example would be a collapsible fieldset that will be expanded with a click from a user.
For anything you want to hide on page load when JavaScript is enabled, use
the .js-hidden
class.
Twig: utils/hidden/hidden.twig
Example
This content is hidden.
Markup
<div class="hidden {{modifier_class}}">
This content is hidden.
</div>