A geometrical rectangle shape can be inserted with the help of the drawing tool in Google Docs. You can make a rectangle, a rectangle with a soft edge, or rounded corners rectangle, etc in Google Docs.
You can customize the rectangle box with text, add color background, font style, etc. So let us see how to insert rectangle in Google Docs–
How to insert rectangle in Google Docs
Open Google Docs on your desktop computer
In the “Menu Bar” click “Insert” and navigate to the “Drawing” option
Click on “+New”. It will open a new window called Drawing Panel.

Click on the “Shapes” icon and select the rectangle shape that you want to draw in Google Docs.

With the help of a mouse draw the rectangular size box according to the need to insert rectangle in Google Docs. See below example

After making the rectangle you can customize it by adding text, fill the color in a box,etc. Click on the “Save and Close” button to save it. Your Google Docs rectangle will automatically appear in the document.
There are different types of shapes that can be added in Google Docs.