<aside> ℹ️ Usually, styling this element takes from-to: 3-5h
</aside>
A popup can be found on the following elements:
The popup should be displayed in the following states:
Please account for the following:
Popup title might span multiple lines
Popup content might be larger than viewport and require scrolling

Product zoom popup

Account details popup

Share wishlist popup

Terms and conditions on the checkout page

Write a review popup
The Popup component is responsible for rendering popups.
Mainly we need to style popup close button, borders, width, button placement, and heading, the content of each popup is different scope.
<aside>
➡️ Several other components use the Popup component (e.g. MyAccountOrderPopup, ImageZoomPopup) – however, you don't need to style content now.
</aside>
If you want to show new popup, you need to perform this steps:
showPopup prop from state manager
Popup and add id
onClick event for element, which should trigger Popup visibility and pass to showPopup() the same id which is specified for the Popup
To style a component, override its .style.scss file. You can also customize how it is rendered by overriding the .component.js file.
How to override JavaScript classes?