Skip to main content

Modal/Popup

A reusable modal component is a separate window in a web application that displays information or a confirmation box. Modals are a key component of most websites that display dynamic content and allow users to perform CRUD (Create, Read, Update, Delete) operations

Variants

Props

PropsDatatypeValues/Example
typestring"primary" | "dark" | "danger" | "transparent" | "other" | "icon"
isOpenboolean"true" | "false"
titlestring"Cancel"
zIndexnumber1000
widthstring"35%"