GoDrawGoDraw

Rectangle

Stable

Boxes are where most diagrams begin.

Draw sharp or rounded rectangles, the workhorse shape for boxes, cards, containers, and UI mockups.

What it does

The rectangle tool draws four-sided boxes with optional rounded corners. It's the foundation for flowchart nodes, UI frames, containers, and grouping regions.

Rectangles with sharp and rounded corners
Sharp vs. rounded rectangles

How it works

1

Select the tool

Press R or 3, or pick the rectangle from the toolbar.

2

Draw

Click and drag to set the size. Hold Shift to constrain to a perfect square.

3

Style it

Adjust stroke color, fill, edge roundness, and sloppiness in the style panel.

Styling options

Rectangles support stroke color, background fill and fill texture, stroke width and style, sloppiness, edge roundness, and opacity. See Styling for the full set of controls.

Tip

Double-click a rectangle to add bound text that moves and resizes with the box.

Coming soon

  • Auto-layout snapping between boxes
  • Saved shape style presets
Was this helpful?