Auto Grid

The AutoGrid component automatically adjusts the number of columns based on the available space.

It uses CSS grid-template-columns property with the auto-fit function to create a responsive grid layout.

Code Example

Props

gap

padding

column

1
2
3
4