The Prototyping Panel allows you to transform static designs into interactive prototypes. Define user flows, add interactions to elements, and create realistic simulations of your final product.
Opening the Prototyping Panel
- Go to View → Panels → Prototyping in the menu
- The panel appears in the right sidebar
- It contains two main sections: Flows and Interactions
Prototype Flows
Flows define starting points for your prototype and help organize different user journeys.
Creating a Flow
- Create at least one frame in your design
- In the Prototyping Panel, click Create Flow
- Enter a flow name (e.g., "Login Flow", "Onboarding", "Checkout")
- Select a starting frame (the first screen users see)
- Choose a color to identify this flow
- Click Create
Managing Flows
- Rename - Click the ⋮ menu on a flow → Rename
- Change Color - Click ⋮ → Change Color → Select from palette
- Change Starting Frame - Click ⋮ → Change Starting Frame → Select frame
- Set as Default - Click ⋮ → Set as Default (shown when presenting)
- Delete - Click ⋮ → Delete
Flow Features
- Multiple Flows - Create different flows for different user journeys
- Color Coding - Each flow has a unique color for easy identification
- Default Flow - One flow can be marked as default (shown with white border)
- Active Flow - Click a flow to make it active (shown in bold)
Interactions
Interactions define what happens when users interact with elements in your prototype.
Adding an Interaction
- Select an element on the canvas (button, icon, image, etc.)
- The Interactions section appears in the Prototyping Panel
- Click Add Interaction
- Choose a Trigger (what activates the interaction)
- Choose an Action (what happens)
- Configure action details (destination, transition, etc.)
Interaction Triggers
Triggers determine when an interaction activates:
Mouse/Touch Triggers
- On Click - When element is clicked/tapped
- Mouse Down - When mouse/touch is pressed down (NEW - fires on press, separate from onClick)
- On Hover - When mouse enters element area
- On Press - When mouse/touch is pressed down
- On Drag - When element is dragged
- While Hovering - Continuous trigger while hovering
- While Pressing - Continuous trigger while pressed
- Mouse Enter - When mouse enters element area (supports delay)
- Mouse Leave - When mouse leaves element (supports delay)
- Mouse Up - When mouse/touch is released (supports delay)
Time-Based Triggers & Delays
Control timing for more sophisticated interactions:
- After Delay - Trigger after specified time (e.g., 2 seconds)
- Delay Support Expanded - The following triggers now support delay timers:
afterDelay- Core delay triggermouseEnter- Delay before action on mouse entermouseLeave- Delay before action on mouse leavemouseUp- Delay before action on mouse releaseonPress- Delay before action on pressonHover- Delay before action on hover
- Cancellable Delays - Delayed interactions can be cancelled on hover out
- Auto-Revert on Hover - Hover navigation automatically returns to previous state when hover ends
- Timer Management - System tracks and cleans up all delay timers
- Frame Lifecycle - Delays are properly managed during frame transitions
Use mouseDown for instant feedback (like button press effects), then onClick for the actual action. This creates a more responsive feel. Add delays to hover triggers to prevent accidental activations.
Input Triggers
- Key Press - When specific keyboard key is pressed
- Gamepad Button - When gamepad button is pressed
Video Triggers
- When Video Ends - When video playback completes
- When Video Hits - When video reaches specific timestamp
Interaction Actions
Actions determine what happens when a trigger activates:
Navigation Actions
- Navigate To - Go to another frame/screen
- Back - Return to previous frame in navigation stack
- Navigate to Section - Go to section using last-visited frame memory
Overlay Actions
- Open Overlay - Show frame as modal/popup over current screen
- Close Overlay - Dismiss current overlay
- Swap Overlay - Replace current overlay with another
Component Actions
- Swap - Change component instance to different variant
- Reset Component - Reset component to original variant
Scroll Actions
- Scroll To - Scroll to specific element
- Reset Scroll - Return scroll position to original
Variable Actions
- Set Variable - Change value of design variable
- Set Variable Mode - Switch variable collection mode
- Conditional - Execute if/then/else logic based on conditions
Video Actions
- Play Video - Start video playback
- Pause Video - Pause video playback
- Toggle Video Play - Play if paused, pause if playing
- Seek Video - Jump to specific timestamp
- Jump Video Time - Move forward/backward by relative time
- Mute Video - Mute video audio
- Unmute Video - Unmute video audio
- Toggle Video Mute - Mute if unmuted, unmute if muted
- Reset Video - Return to beginning and original play state
Other Actions
- Open URL - Open external website in browser
- Reset All - Reset scroll, component, and video state
- None - No action, only transition/animation
Transitions
Transitions control how screens animate when navigating:
Basic Transitions
- Instant - No animation, immediate change
- Dissolve - Fade out/fade in crossfade
Slide Transitions
- Slide Left - New screen slides in from right
- Slide Right - New screen slides in from left
- Slide Top - New screen slides in from bottom
- Slide Bottom - New screen slides in from top
Advanced Transitions
- Push - Push current screen out while new one enters
- Smart Animate - Intelligently animate matching elements between frames
- Move In/Out - New screen moves over or under current
- Scale - Scale new screen in from center
- Rotate - Rotate to new screen
Transition Settings
- Duration - How long the transition takes (milliseconds)
- Easing - Animation curve (ease-in, ease-out, ease-in-out, linear)
Animated Transitions in Preview (NEW)
Prototype preview now includes real animated transitions for realistic testing:
- Real Animations - Transitions are actually animated, not instant switches
- Direction-Aware - Slide transitions respect navigation direction (forward vs back)
- Smart Animate Enhanced - Improved element rendering during SmartAnimate transitions:
- Accurate fill and stroke rendering
- Text content displayed correctly during transition
- Rotation and opacity animated smoothly
- Better visual fidelity matching final frames
- Flutter's AnimatedSwitcher - Uses native Flutter animations for smooth 60fps transitions
- Custom Transition Engine - Enhanced TransitionEngine for complex transition types
Prototype Connection Nodes (NEW)
Create prototype connections directly on the canvas with visual drag-and-drop linking:
Interactive Connection Handles
When in prototype mode, elements display interactive connection handles:
- Connection points appear - Hover over elements to see connection handles
- Drag to link - Click and drag from one element's handle to another element
- Visual feedback - Connection line follows your cursor during drag
- Drop to create - Release on target element to create interaction
How to Use Connection Nodes
- Switch to Prototype mode (or press
Cmd/Ctrl+P) - Hover over an element to reveal connection handles
- Click and hold a connection handle
- Drag to the target element you want to link to
- Release to create the prototype interaction
- Interaction appears in the Prototyping Panel for further configuration
Benefits
- Faster workflow - Create connections without switching between canvas and panel
- Visual clarity - See connection relationships directly on canvas
- Intuitive - Figma-style interaction for familiar UX
- Hover highlights - Connection points highlight when hovered
- Temporary guides - Visual connection line during drag operation
Selectable Interaction Connections (NEW)
Click and edit prototype connections directly on the canvas:
Selecting Connections
- Click connection lines - Click the connection "noodles" between elements to select them
- Hit testing - Accurate click detection on connection lines
- Cursor feedback - Cursor changes when hovering over connections
- Selection highlight - Selected connections highlighted on canvas
Figma-Style Interaction Popover
When you select a connection, a popover appears with interaction details:
- Quick Details - Shows trigger type and action at a glance
- Edit Button - Opens full interaction editor for configuration
- Delete Button - Remove interaction directly from popover
- Keyboard Deletion - Press
DeleteorBackspaceafter selecting - Context Menu - Right-click for additional options
Managing Connections on Canvas
- Switch to Prototype mode
- Click on any connection line (blue arrow/noodle)
- Popover appears showing interaction details
- Choose to edit or delete the interaction
- Or press
Deletekey to remove it
Use connection nodes for quick linking, then click the connections to fine-tune triggers and transitions. This two-step workflow is faster than configuring everything in the panel first.
Prototype Mode Navigation (NEW)
Pan and zoom are now fully enabled in prototype mode for easier testing:
Pan & Zoom in Prototype Mode
- Previously restricted - Pan and zoom were disabled in prototype mode
- Now enabled - Full pan and zoom support while viewing prototypes
- Same controls - Use Space+drag, scroll wheel, pinch gestures as normal
- Better testing - Navigate large prototype flows more easily
- Consistent experience - Navigation works the same across all editor modes
How to Navigate
- Space + Drag - Pan around the prototype canvas
- Scroll Wheel - Pan vertically and horizontally
- Cmd/Ctrl + Scroll - Zoom in and out
- Pinch Gesture - Zoom on trackpad
- Zoom Controls - Use toolbar zoom buttons
Presenting Prototypes
- Create at least one flow with a starting frame
- Add interactions to elements
- Click Present button in toolbar (or press
Cmd/Ctrl+P) - Prototype opens in presentation mode
- Click elements with interactions to navigate
- Press
Escto exit presentation mode
Prototype Preview Controls (NEW)
Enhanced preview mode with scale/zoom controls, device orientation toggling, and automatic frame matching:
Scale/Zoom Modes
Control how your prototype scales to fit the preview window:
- Keyboard Shortcut - Press
Zkey to cycle through scale modes - Click Indicator - Click the scale indicator in toolbar to cycle modes
- 6 Scale Modes Available:
- Fit Width - Scale to fit window width (maintains aspect ratio)
- Fit Height - Scale to fit window height (maintains aspect ratio)
- Fill - Scale to fill entire window (may crop content)
- 100% - Show at actual size (1:1 pixels)
- 50% - Show at half size
- 200% - Show at double size
- Visual Indicator - Current mode shown in toolbar (e.g., "Fit W", "100%")
- Session Persistence - Scale mode persists during preview session
- Use Cases - Perfect for testing large screens, mobile designs, or detailed UI elements
Device Orientation Toggle
Switch between portrait and landscape orientations when using device frames:
- Availability - Only visible when a device frame is selected (hidden for "No Device")
- Toggle Button - Click orientation icon in toolbar
- Portrait icon (phone vertical) for portrait mode
- Landscape icon (phone horizontal) for landscape mode
- Instant Rotation - Device frame rotates immediately
- Dimension Swap - Frame dimensions swap automatically (e.g., 393×852 becomes 852×393)
- Visual Indicator - Device indicator shows "(Landscape)" suffix when in landscape mode
- Session Persistence - Orientation persists during preview session
- All Devices Supported - Works with phones, tablets, desktops, and watches
- Use Cases - Test responsive layouts and orientation-specific designs
Auto-Match Frame to Device
Azyrom automatically suggests matching device presets when you create or resize frames:
- Automatic Detection - System detects when frame dimensions match standard devices
- Blue Suggestion Card - Appears in Properties Panel when match found
- Match Types:
- Exact Match - "Matches iPhone 15 Pro exactly"
- Approximate Match - "Close to iPhone 15 Pro (95% match)"
- Landscape Detection - "Matches iPhone 15 Pro (landscape)"
- One-Click Apply - Click "Apply" button to set exact preset dimensions
- Adjust to Preset - Click "Adjust to" to snap approximate matches to exact size
- Smart Disappearance - Suggestion disappears once preset is applied
- Tolerance - 5% tolerance for approximate matching (90% confidence minimum)
- All Orientations - Works for both portrait and landscape frame sizes
- Benefits - Ensures frame dimensions match real devices perfectly for accurate prototyping
Create a frame with dimensions like 393×852, and Azyrom will suggest "iPhone 15 Pro". Click "Apply" to ensure exact dimensions. Then in prototype preview, select the device frame and toggle orientation to test both portrait and landscape. Use the Z key to zoom in on specific UI details.
Common Prototyping Patterns
Simple Navigation
- Select a button
- Add interaction: Trigger = On Click, Action = Navigate To
- Select destination frame
- Choose transition (e.g., Slide Left)
Back Button
- Select back button/icon
- Add interaction: Trigger = On Click, Action = Back
- Choose transition (e.g., Slide Right for reverse effect)
Modal Dialog
- Create a frame for the modal content
- Select trigger element (e.g., "Settings" button)
- Add interaction: Trigger = On Click, Action = Open Overlay
- Select modal frame as overlay
- On modal's close button: Trigger = On Click, Action = Close Overlay
Hover State
- Create a component with two variants: Default and Hovered
- On Default variant: Trigger = Mouse Enter, Action = Swap to Hovered variant
- On Hovered variant: Trigger = Mouse Leave, Action = Swap to Default variant
Auto-Advance Carousel
- Create frames for each carousel slide
- On each slide: Trigger = After Delay (3000ms), Action = Navigate To next slide
- Add manual navigation buttons as backup
Tips and Best Practices
- Organize with Flows - Use different flows for different user journeys
- Set a Default Flow - Makes it easy to start presentations
- Use Color Coding - Assign flow colors that match your design system
- Smart Transitions - Use Smart Animate for smooth element transformations
- Consistent Transitions - Use same transition style throughout a flow
- Back Navigation - Always provide a way to go back
- Test Interactions - Present frequently to test user flow
- Overlays for Modals - Use Open Overlay instead of Navigate To for dialogs
- Group Related Screens - Keep related frames close together
- Use Variables - Create dynamic prototypes with variable actions
Keyboard Shortcuts
General
- Cmd/Ctrl+P - Present prototype
- Esc - Exit presentation mode
- Cmd+Shift+P - Open Prototyping Panel
During Prototype Preview
- Z - Cycle through scale/zoom modes (Fit Width, Fit Height, Fill, 100%, 50%, 200%)
- R - Restart prototype from beginning
- ← (Left Arrow) - Go back to previous frame
- → (Right Arrow) - Go to next frame in sequence
- Space - Go to next frame in sequence
- N - Go to next frame in sequence
Related Topics
- Components - Create reusable component variants for interactive states
- Variables - Use variables for dynamic prototype behavior
- Frames - Creating frames for prototype screens
- Video Properties - Adding video elements to prototypes