Interview practice question
Design a reusable modal system for an app
Frontend Engineering · Frontend System Design · Beginner
How would you design a modal system that any part of your app can use?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Native dialog or accessible base component.
- API: declarative component or modal manager.
- Focus management, Escape, labelling.
- Stacking and scroll lock.
- Portal rendering.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.