Configuration
Here’s the completewebreel.config.json for this example:
What It Demonstrates
Mobile Viewport Dimensions
Set the viewport to mobile device dimensions:- iPhone 15 Pro:
390 x 844 - iPhone 15 Pro Max:
430 x 932 - Pixel 7:
412 x 915 - Galaxy S23:
360 x 780
High-DPI Rendering
Thezoom: 2 setting renders at 2x density for Retina displays:
- Width:
390 × 2 = 780px - Height:
844 × 2 = 1688px
Touch Cursor Style
The centered cursor hotspot creates a touch pointer appearance:Mobile Interactions
The example demonstrates typical mobile UI patterns:-
Hamburger Menu Tap
Opens the navigation drawer.
-
Overlay Dismiss
Taps the overlay backdrop to close the menu.
-
Vertical Scroll
Scrolls down to reveal more content.
Pauses for Mobile Animations
Mobile UIs often have transition animations. The extended pauses give these time to complete:Portrait Orientation
The390 x 844 viewport uses portrait orientation (height > width), matching how most users hold phones.
For landscape recordings, swap the dimensions:
Running the Example
videos/mobile-viewport.mp4.
Next Steps
- Custom Theme - Further customize the cursor
- Page Scrolling - More scrolling examples
- Form Filling - Type into mobile forms