Modal Component
Problem 25basic18 mins
Modal Component
Created on: 15 Sep 2025, 11:30 AM
Time Elapsed
00:00
Problem Description
Build a reusable modal component with backdrop, close on escape, and focus trap.
Requirements
- •Backdrop overlay
- •Close on escape key
- •Close on backdrop click
- •Focus trap
- •Portal rendering
- •Animations
Tags
ReactModalAccessibilityPortal
Code Editor
Loading editor...