Scrim
Scrim is a temporary, translucent layer that makes underlying content less prominent.
Also known as: Backdrop, Shade
| Salt package | @salt-ds/core |
|---|---|
| Available since | 1.15.0 |
Note: This tab list includes overflow; tab positions may be inaccurate or change when a tab is selected
Use the fixed prop to make the scrim fill the viewport.
A scrim can fill its parent container.
Ensure you have explicitly set a position attribute for the parent container.
You can pass children to a scrim, such as a Spinner to indicate loading state. You can incorporate other elements as children, to display them above the scrim and draw attention to them.