Tetris grid

How to implement such a grid and drag items into the net.

Example

You have 2 ways of doing this
Either go for the performance optimized way
and make a mesh to display the grid,

Or go to other route which is less optimized but should be fine if you keep the object count low enough. And that is to spawn in your tiles 10x10 using a for loop.