minuit

GridComponent

Cards in rows of a fixed number of columns.

Java

Inside a PanelComponent constructor. The same call draws in every family and chroma.

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);

Cards

GridComponent, cards