Getting Started
Getting Started with Vinyasa
Welcome to Vinyasa! This guide will help you navigate the interface and build your first user interface mockup using both visual and text-based tools.
Prerequisites
One of the best things about Vinyasa is its simplicity. There are no prerequisites:
- No installation required.
- No complex setup.
- Works in any modern web browser (Chrome, Edge, Firefox, or Safari).
Interface Overview
The Vinyasa workspace is divided into three functional zones designed to maximize your productivity:
- Creation Zone (Left): Contains the Toolbox (visual components) and the Code Editor (YAML engine).
- The Stage (Center): An infinite canvas for your designs. Supports panning, zooming, and multi-selection.
- The Inspector (Right): The Properties Panel. It updates dynamically based on what you select on the stage.
Step 1: Your First Component (The Visual Way)
Let's start with the most intuitive way to build:
- Click the Toolbox icon in the top-left.
- Locate the "Basic" or "Shapes" group.
- Drag a "Rectangle" onto the canvas.
- With the rectangle selected, go to the Properties Panel on the right.
- Change the Fill property to
#7335b7(Our signature purple). - Change the Corner Radius to
12to give it a modern look.
Step 2: Adding Precision (The Text-to-UI Way)
Now, let's add a button using code for perfect placement.
- Switch to the Code Editor tab (icon looks like
< >). - You will see the YAML definition of the rectangle you just created.
- Below the rectangle entry, add this code for a button:
- type: button left: 150 top: 200 width: 200 text: "Confirm Action" fill: "#f8842b" # Signature orange color: "#ffffff" - Click Run. The button appears exactly where you specified.
Step 3: Organizing with "Window"
For professional mockups, it's best to group elements within a container. The window element acts as a parent frame.
- Add a
windowtype at the top of yourelementslist in the code editor. - Set its
widthto800andheightto600. - Move your other elements inside its bounds visually by dragging them.
First Project Checklist
Before you finish your first session, make sure you know how to:
- Pan the Canvas: Hold
Spaceand drag. - Zoom: Use
Ctrl + Mouse Wheel. - Delete: Select an element and hit
BackspaceorDelete. - Export: Use the File > Export as RVV menu to save your work to your computer.
What's Next?
Now that you've mastered the basics, explore the full power of Vinyasa:
Text-to-UI Deep Dive : Learn the full YAML syntax.Element Reference : See all 50+ available UI components.Pro Tips : Master keyboard shortcuts and advanced styling.