An overlay component that centers content, with an optional semi-transparent background.
The Blanket component provides an overlay that centers content that fills its parent. It's ideal for creating modal dialogs, overlays, and other UI elements that need to appear above the main content.
The component can be imported via:
Use the withBackground prop to control whether the blanket displays a semi-transparent background overlay.
Control the visibility of the blanket with the isActive prop. When set to false, the blanket fades out and becomes non-interactive.
PlumaBlanket extends BoxWhether the blanket is active. Toggle this to false to hide the blanket with an animation.
Whether to display the semi-transparent background overlay.