Visual Editor
The Visual Editor is the heart of Vinyasa, providing an intuitive interface for designing user interfaces.
The Canvas
The canvas is an infinite, pannable, and zoomable workspace.
- Panning: Hold
Spaceand drag the mouse, or use the scroll bars. - Zooming: Use
Ctrl + Mouse Wheelor the zoom controls in the bottom right corner. - Selection: Click an element to select it. Click and drag on the empty canvas to create a selection box and select multiple elements.
The Toolbox
Located in the left panel, the Toolbox contains all available UI components categorized for easy access.
- Search: Use the search bar to quickly find components.
- Drag & Drop: Simply drag any component from the list onto the canvas.
- Click to Add: Clicking a component will add it to the center of your current view.
The Properties Panel
The Right Panel displays the properties of the currently selected element(s).
- Common Properties: Position (
X,Y), Size (Width,Height), Rotation (Angle), and Visibility. - Specific Properties: Each component has unique properties. For example, a
ButtonhasTextandColor, while anImagehasSrc. - Multi-Selection: When multiple elements are selected, you can edit their common properties simultaneously (e.g., align them all to the same
Leftposition).
Context Menu
Right-click on any element or the canvas to access the context menu:
- Copy/Paste: Duplicate elements.
- Delete: Remove selected elements.
- Bring to Front / Send to Back: Adjust the layering (Z-index) of elements.
- Group/Ungroup: Combine multiple elements into a single group for easier manipulation.
Keyboard Shortcuts
| Action | Shortcut |
|---|---|
| Select All | Ctrl + A |
| Copy | Ctrl + C |
| Paste | Ctrl + V |
| Delete | Delete or Backspace |
| Undo | Ctrl + Z |
| Redo | Ctrl + Y or Ctrl + Shift + Z |
| Group | Ctrl + G |
| Ungroup | Ctrl + Shift + G |
| Move | Arrow Keys (Shift for larger steps) |
| Pan Canvas | Space + Drag |