Documentation Index
Fetch the complete documentation index at: https://mintlify.com/filamentphp/filament/llms.txt
Use this file to discover all available pages before exploring further.
Introduction
The Grid component provides explicit grid syntax without extra styling:The number of columns or responsive column configuration.
Basic usage
The Grid component is useful when you want explicit grid syntax:Responsive grids
Define different column counts for different breakpoints:sm, md, lg, xl, 2xl) follow Tailwind’s responsive design system.
Column spanning
Control how many columns a component occupies:- Integer (e.g.,
columnSpan(2)) - spans 2 columns onlgand higher 'full'- spans full width onlgand highercolumnSpanFull()- spans full width on all devices- Responsive array (e.g.,
['md' => 2, 'xl' => 3])
Column starting position
Control where a component starts in the grid:Column ordering
Control the visual order of components:Container queries
Use container queries for responsive layouts based on parent size:@sm, @md, @lg, @xl, @2xl.
Fallback breakpoints
Support older browsers with fallback breakpoints:Relationship integration
Grids can integrate with singular relationships:The name of the relationship.