React Bootstrap Visibility

React Visibility - Bootstrap 4 & Material Design

Note: This documentation is for an older version of Bootstrap (v.4). A newer version is available for Bootstrap 5. We recommend migrating to the latest version of our product - Material Design for Bootstrap 5.
Go to docs v.5

React Bootstrap visibility class allows controlling the visibility of elements without changing the display. This utility keep content visible for screen readers.

Control the visibility, without modifying the display, of elements with visibility utilities. These do not modify the display value at all and are helpful for hiding content from most users, but still keeping them for screen readers.

Apply .visible or .invisible as needed.



        <div className="visible">...</div>
        <div className="invisible">...</div>

      


          .visible {
              visibility: visible;
          }
          .invisible {
              visibility: hidden;
          }
          .element {
              @include invisible(visible);
          }
          .element {
              @include invisible(hidden);
          }