Examples

Basic

<div class="pf-v6-c-backdrop"></div>

Documentation

Overview

This component puts a backdrop over the entire viewport.

Usage

ClassApplied toOutcome
.pf-v6-c-backdrop<div>Initiates backdrop. Required
.pf-v6-c-backdrop__open<body>Lock scrolling when backdrop is active. This class should be set on <body> while backdrop is active and removed while backdrop is inactive. Required

CSS variables