Simple grid layout for a collection of elements.