I wish to create the following pattern in Illustrator:


I tried fills, but didn't get that edge. Any ideas? Apart from placing the squares one by one of course.

  • 1
    What shape do you start with?
    – Jongware
    Apr 28, 2018 at 14:18

1 Answer 1


Drag a square to the swatches collection (as you obviously have already done). It can be useful to have a filled square without a stroke (see NOTE1)

Then fill a big rectangle with that "squares pattern". Expand the result, release its clipping mask and ungroup. You may need 3 separate ungroupings to get rid of all group levels. Now you have only to delete the unwanted squares and the clipping mask shapes, no need to place the squares one by one. You can select multiple squares easily with the lasso tool.

NOTE1: If the square has a stroke, the fill pattern isn't aligned corner point at corner point, the strokes lean against each other. Here you can see the difference between stroked and fill only squares after ungrouping and few squares moved apart:

enter image description here

You can after ungrouping select all and add a stroke, if needed.

  • I've just seen your answer and thank you for it, giving it a try
    – agiro
    Apr 28, 2018 at 15:09
  • took way longer than it should have, but Im brand new to illustrator anyway. Thanks for the help, much appreciated!
    – agiro
    Apr 28, 2018 at 15:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.