Grid Fill
Responsive grid that auto-detects column count and fills remaining cells in the last row with a diagonal pattern. Supports configurable breakpoints, custom filler slots, and flexible column sizing.
Basic
Default configuration: cols=2, min-col-width="180px", breakpoint="sm". The last row is filled with diagonal pattern.
Custom Filler Slot
Use the #filler slot to customize filler content. The first filler shows "and many more", the rest use the default pattern.
Breakpoints
The breakpoint prop controls when auto-fit kicks in. Below that breakpoint, the grid uses fixed cols.
Playground
Adjust all props interactively to see how the grid responds.
<GridFill :count="15" :cols="2" min-col-width="180px" breakpoint="sm" /> Rounded
Use the rounded prop to apply consistent rounded corners. Accepts: sm, md, lg, xl, 2xl, 3xl.
Non-square Items
GridFill doesn't enforce aspect-square. Items and fillers can have any dimensions.
Card item 1
Non-square layout with flexible height
Card item 2
Non-square layout with flexible height
Card item 3
Non-square layout with flexible height
Card item 4
Non-square layout with flexible height
Card item 5
Non-square layout with flexible height
Fixed Columns
Set :min-col-width="false" to disable auto-fit and use fixed column count.