Rectangles & Rounded Corners

Rectangles are the most versatile shape in Azyrom. Use them for buttons, cards, containers, backgrounds, and much more. Master corner radius controls for pixel-perfect rounded rectangles.

Creating Rectangles

1

Activate the Rectangle tool

Press R or select the rectangle icon from the shape tools in the toolbar.

2

Click and drag

Click on the canvas and drag to create a rectangle. Release to finish.

3

Adjust size

Use the Properties Panel to set exact dimensions, or drag the corner handles.

Drawing Modifiers

Modifier Effect
Shift Constrain to perfect square
Alt/Option Draw from center instead of corner
Shift + Alt Draw square from center

Corner Radius

Round the corners of any rectangle using corner radius controls.

Setting Corner Radius

Corner Radius Handles

When you select a rectangle or frame, small circular handles appear inside each corner. These handles provide a visual, intuitive way to adjust corner radius—just like in Figma.

1

Select a rectangle

Click on any rectangle or frame to select it. You'll see corner radius handles appear inside each corner.

2

Drag a handle

Click and drag any corner handle toward the center to increase the radius. A tooltip displays the current value.

3

Release to apply

All four corners update uniformly. The maximum radius is half the smaller dimension of the shape.

Independent Corner Radii

Each corner can have a different radius:

  1. Select the rectangle
  2. Hold Alt/Option while dragging a corner radius handle
  3. Only that corner will be adjusted—others remain unchanged

You can also use the Properties Panel: click the chain link icon to unlink corners, then enter different values for each corner (top-left, top-right, bottom-right, bottom-left).

Tip

The corner radius handles move as you drag them—they're always positioned at the current radius distance from each corner. When radius is 0, handles appear at a small default offset so they remain visible and grabbable.

Smooth Corners vs. Circular Corners

Azyrom supports two corner styles:

Toggle between styles in the Properties Panel corner section. Smooth corners look more natural and are preferred for modern UI design.

Rectangle Properties

Position & Size

Fill

Add solid colors, gradients, or images as fills. Multiple fills can be stacked.

Stroke

Add outlines with customizable width, color, and style (solid, dashed, dotted).

Effects

Apply drop shadows, inner shadows, and blur effects.

Common Use Cases

Buttons

Create buttons with rounded corners (typically 4-8px radius), add a fill color, and place text inside.

Cards

Use larger corner radii (8-16px) with subtle shadows for card components.

Input Fields

Combine rectangles with text elements. Use stroke instead of fill for outlined input styles.

Containers & Frames

Large rectangles with no fill or very subtle fills work as layout containers.

Pro Tip

To create a pill-shaped button, set the corner radius to half the rectangle's height. For a 40px tall button, use 20px corner radius.

Converting to Path

For more control, convert a rectangle to an editable path:

  1. Select the rectangle
  2. Choose Object → Convert to Path (or ⌘/Ctrl + Shift + O)
  3. Edit individual anchor points with the Pen tool

Note: Once converted, you can no longer use the corner radius controls. The corners become fixed bezier curves.