Design · Prizma Design Foundations / Components

Modal

Modals interrupt the current flow to deliver critical information or request a decision. Prizma modals always include a title, a supporting message, and a primary action. They are centered on screen and overlay a dimmed background.

Anatomy
Verification failed

We couldn’t verify your identity. Please try again with better lighting.

Variants
Identity verified

You can continue with your process.

Confirmation.modal--confirm

A single positive action to move forward.

Verification failed

We couldn’t verify your identity.

Recovery.modal--error

Explains what went wrong and offers a retry path.

Camera access needed

Allow access to continue with face verification.

Permission.modal--permission

Requests a decision before the flow can continue.

Tokens
TokenRoleLayer
--modal-surfaceModal card backgroundComponent
--modal-borderModal card borderComponent
--modal-titleTitle text colorComponent
--modal-subSupporting text colorComponent
--modal-overlayBackground overlay colorComponent
--modal-close-iconClose icon colorComponent
--radius-modalModal corner radiusSemantic

Component tokens

The color tokens for this component live in Color → Tokens, and its spacing, radius, and type map to the shared foundation scales.

Was this page helpful?