GridList
Responsive grid layout for cards and items.
Preview
Usage
import { GridList } from '@ramtt/ui'
<GridList columns={3}>
<GridList.Card>Item 1</GridList.Card>
<GridList.Card>Item 2</GridList.Card>
</GridList>Props
| Prop | Type | Default | Description |
|---|---|---|---|
| columns | 2 | 3 | 4 | 3 | Column count |
| gap | 'sm' | 'md' | 'lg' | 'md' | Gap size |
| children* | ReactNode | — | Grid items |