Grid template

The Grid template presents items in a grid layout and is useful when users rely primarily on images to make their selections.

This template can be embedded in the Tab template to provide tabbed navigation or included in the Map + Content template to provide a grid on a map.

The grid template includes the following:

For more flexibility and to take advantage of the latest features, use the Sectioned Item template instead of the Grid template. With the Sectioned Item template, you can mix and match lists and grids to create a custom browsing structure.

An example of a grid template
An example of a grid template
An example of a grid template
Grid template over a map

Grid template UX requirements

SHOULD Limit length of primary and secondary text strings to avoid truncation.
SHOULD Have an action associated with each grid item (information-only items are not recommended).
SHOULD Clearly indicate item state (for grid items that have multiple states, such as selected and unselected) by variations in image, icon, or text.
SHOULD Include a header with an optional title and primary and secondary actions.
SHOULD NOT Include both an action strip and a floating action button at the same time.
MAY Show a loading spinner instead of the icon or image for a grid item when an action associated with the item is in progress.

Resources

Type Link
API reference GridTemplate, GridTemplate.Builder