Last modified: August 22, 2025
Use the AutoGrid
component to arrange components into columns based on available space and specified column width restraints. Includes two modes: fixed column sizing (default), and flexible column sizing. For both modes, the layout will be responsive automatically, whether you’re using it in an app card, app home page, or app settings page.

Prop | Type | Description |
---|---|---|
columnWidth Required | Number | Sets width of each column in pixels. When flexible is true , acts as minimum width before expanding. |
gap | flush (default) | 'xs' , 'extra-small' | 'sm' , 'small' | 'med' , 'medium' | lg , large | xl , extra-large | Sets spacing between grid items. |
flexible | Boolean | When false , columns have exact columnWidth . When true , columns expand equally to fill available space with columnWidth as the minimum. Default is false . |
Examples
Flexible grid with minimum column width
Withflexible
set to true
, the specified columnWidth
is used as a minimum width. Compare the width of the tiles in this example to the example at the top of the page, which doesn’t include flexible={true}
.

Fixed card layout with large gap
