# GridComponent

Cards in rows of a fixed number of columns.

```java
ScrollComponent scroll = add(new ScrollComponent(at(new Box("maps", 12, 28, 276, 140))));
GridComponent<MapInfo> grid = scroll.add(new GridComponent<>(at(new Box("grid", 16, 32, 250, 0)),
        4, 36, 8, 8, maps, GridComponent.thumbnails(MapInfo::picture, MapInfo::name), this::vote));
grid.selected(current);
```

## Variants

- Cards

Page: https://minuit.dryaides.com/components/grid.html
