| 1 |
--- |
| 2 |
id: Grid |
| 3 |
cssPrefix: pf-v6-l-grid |
| 4 |
section: foundations-and-styles |
| 5 |
subsection: layouts |
| 6 |
propComponents: ['Grid', 'GridItem'] |
| 7 |
--- |
| 8 |
|
| 9 |
import './grid.css'; |
| 10 |
|
| 11 |
## Examples |
| 12 |
|
| 13 |
### Basic |
| 14 |
|
| 15 |
```ts file="GridBasic.tsx" |
| 16 |
``` |
| 17 |
|
| 18 |
### With gutters |
| 19 |
|
| 20 |
```ts file="GridWithGutters.tsx" |
| 21 |
``` |
| 22 |
|
| 23 |
### With overrides |
| 24 |
|
| 25 |
```ts file="GridWithOverrides.tsx" |
| 26 |
``` |
| 27 |
|
| 28 |
## Ordering |
| 29 |
|
| 30 |
### Standard ordering |
| 31 |
|
| 32 |
```ts file="GridStandardOrdering.tsx" |
| 33 |
``` |
| 34 |
|
| 35 |
### Responsive ordering |
| 36 |
|
| 37 |
```ts file="GridResponsiveOrdering.tsx" |
| 38 |
``` |
| 39 |
|
| 40 |
### Grouped ordering |
| 41 |
|
| 42 |
```ts file="GridGroupingOrdering.tsx" |
| 43 |
|
| 44 |
``` |
| 45 |
|
| 46 |
### Alternative components |
| 47 |
|
| 48 |
```ts file="GridAlternativeComponents.tsx" |
| 49 |
``` |