
Pattern for making popup modal dialogs
Pattern for application pages
Pattern for writing Playwright E2E tests that capture screenshots and narration for GIF/MP4 generation
```skill --- name: popup-menus description: Pattern for creating popup menus anchored to icon buttons --- # Instructions ## Overview Popup menus are icon-triggered dropdown menus that appear over the page content, anchored below the button the user clicked. They automatically adjust position to avoid being clipped by viewport edges. Clicking a menu item fires a callback and dismisses the menu. Clicking outside or pressing Escape also dismisses it. ## Architecture: Two Layers ### 1. Base Com