Modal
A modal is an overlay that interrupts the current workflow to present important information or request input, blocking interaction with the underlying content until dismissed or completed.
Overview
Code
Anatomy

Usage Guidelines
Use When
Best Practices
Key Differences between Modal
vs. Drawer
Placement
Modal
Centered on screen
Drawer
Slides in from screen edge of the screen
Background
Modal
Fully obscures the underlying page with an overlay
Drawer
Keeps the underlying page partially visible
Primary Use Case
Modal
Short, focused tasks or important information that requires full attention
Drawer
Supplemental tasks, data entry, or property settings that benefit from maintaining context with the page
Frequency
Modal
Used sparingly to avoid interruption
Drawer
Can remain open for ongoing interactions, but may also collapse when interacting with the underlying page, depending on context
Placement
Modals are positioned at the center of the viewport for maximum visibility.

Accessibility
Crafted with ❤️ at Zuora
© 2025 Zuora Inc.
Modal
A modal is an overlay that interrupts the current workflow to present important information or request input, blocking interaction with the underlying content until dismissed or completed.
Overview
Code
Anatomy

Usage Guidelines
Use When
Best Practices
Key Differences between Modal vs. Drawer
Aspect
Modal
Drawer
Placement
Centered on screen
Slides in from screen edge of the screen
Background
Fully obscures the underlying page with an overlay
Keeps the underlying page partially visible
Primary Use Case
Short, focused tasks or important information that requires full attention
Supplemental tasks, data entry, or property settings that benefit from maintaining context with the page
Frequency
Used sparingly to avoid interruption
Can remain open for ongoing interactions, but may also collapse when interacting with the underlying page, depending on context
Placement
Modals are positioned at the center of the viewport for maximum visibility.

Accessibility
Crafted with ❤️ at Zuora
© 2025 Zuora Inc.
Modal
A modal is an overlay that interrupts the current workflow to present important information or request input, blocking interaction with the underlying content until dismissed or completed.
Overview
Code
Anatomy

Usage Guidelines
Use When
Best Practices
Key Differences between Modal vs. Drawer
Aspect
Modal
Drawer
Placement
Centered on screen
Slides in from screen edge of the screen
Background
Fully obscures the underlying page with an overlay
Keeps the underlying page partially visible
Primary Use Case
Short, focused tasks or important information that requires full attention
Supplemental tasks, data entry, or property settings that benefit from maintaining context with the page
Frequency
Used sparingly to avoid interruption
Can remain open for ongoing interactions, but may also collapse when interacting with the underlying page, depending on context
Placement
Modals are positioned at the center of the viewport for maximum visibility.

Accessibility
Crafted with ❤️ at Zuora
© 2025 Zuora Inc.
On This Page
Modal
A modal is an overlay that interrupts the current workflow to present important information or request input, blocking interaction with the underlying content until dismissed or completed.
Overview
Code
Anatomy

Usage Guidelines
Use When
Best Practices
Key Differences between Modal vs. Drawer
Aspect
Modal
Drawer
Placement
Centered on screen
Slides in from screen edge of the screen
Background
Fully obscures the underlying page with an overlay
Keeps the underlying page partially visible
Primary Use Case
Short, focused tasks or important information that requires full attention
Supplemental tasks, data entry, or property settings that benefit from maintaining context with the page
Frequency
Used sparingly to avoid interruption
Can remain open for ongoing interactions, but may also collapse when interacting with the underlying page, depending on context
Placement
Modals are positioned at the center of the viewport for maximum visibility.

Accessibility
Crafted with ❤️ at Zuora
© 2025 Zuora Inc.
On This Page
Modal
A modal is an overlay that interrupts the current workflow to present important information or request input, blocking interaction with the underlying content until dismissed or completed.
Overview
Code
Anatomy

Usage Guidelines
Use When
Best Practices
Key Differences between Modal vs. Drawer
Aspect
Modal
Drawer
Placement
Centered on screen
Slides in from screen edge of the screen
Background
Fully obscures the underlying page with an overlay
Keeps the underlying page partially visible
Primary Use Case
Short, focused tasks or important information that requires full attention
Supplemental tasks, data entry, or property settings that benefit from maintaining context with the page
Frequency
Used sparingly to avoid interruption
Can remain open for ongoing interactions, but may also collapse when interacting with the underlying page, depending on context
Placement
Modals are positioned at the center of the viewport for maximum visibility.

Accessibility
Crafted with ❤️ at Zuora
© 2025 Zuora Inc.