Grid Fill
Responsive grid that auto-fills empty cells with a placeholder pattern, so the last row always looks complete. Use for galleries, masonry-style lists, or stat tiles.
Default
Pass count and let GridFill add fillers to complete the last row.
Custom filler slot
Use the #filler slot to render your own placeholder. Receives { index }.
Rounded
The rounded prop applies consistent corners with overflow hidden.
Non-square items
GridFill does not force aspect-square; items and fillers can be any height.
Card item 1
Flexible height, not square.
Card item 2
Flexible height, not square.
Card item 3
Flexible height, not square.
Card item 4
Flexible height, not square.
Card item 5
Flexible height, not square.
Fixed columns
Set :min-col-width="false" to disable auto-fit and lock the column count.
API Reference
Props, events, and slots for each sub-component.
GridFill
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| count | number | — | Number of items rendered in the default slot. |
| cols | number | 2 | Base column count below the responsive breakpoint. |
| breakpoint | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "sm" | Breakpoint where auto-fit takes over. |
| minColWidth | string | false | "180px" | Min column width for auto-fit. Set false to disable auto-fit. |
| rounded | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | — | Rounded corners + overflow hidden. |
| fillerClass | string | "bg-pattern-diagonal" | Class applied to each filler cell. |
Slots
| Slot | Description |
|---|---|
| default | Grid items. |
| filler | Custom filler cell. Receives { index }. |