You can slice it, chop it, or shred it before freezing.
I use a silicone muffin tray and fill it with about 1/2 portions. Then stick it in the freezer.
Freeze the zucchini until it is 100% solid so that the shredded pieces don’t come loose when you remove the ‘muffins’ from the pan.
These zucchini ‘muffins’ are easily stored in ziploc freezer bags- and you can fit a lot of them in a 1 gallon bag!