| 1 |
--- |
| 2 |
id: Gallery |
| 3 |
cssPrefix: pf-v6-l-gallery |
| 4 |
section: foundations-and-styles |
| 5 |
subsection: layouts |
| 6 |
propComponents: ['Gallery', 'GalleryItem'] |
| 7 |
--- |
| 8 |
|
| 9 |
import './gallery.css'; |
| 10 |
|
| 11 |
## Examples |
| 12 |
|
| 13 |
### Basic |
| 14 |
|
| 15 |
```ts file="GalleryBasic.tsx" |
| 16 |
|
| 17 |
``` |
| 18 |
|
| 19 |
### With gutters |
| 20 |
|
| 21 |
```ts file="GalleryWithGutters.tsx" |
| 22 |
``` |
| 23 |
|
| 24 |
### Adjusting min widths |
| 25 |
|
| 26 |
```ts file="GalleryAdjustingMinWidths.tsx" |
| 27 |
|
| 28 |
``` |
| 29 |
|
| 30 |
### Adjusting max widths |
| 31 |
|
| 32 |
```ts file="GalleryAdjustingMaxWidths.tsx" |
| 33 |
``` |
| 34 |
|
| 35 |
### Adjusting min and max widths |
| 36 |
|
| 37 |
```ts file="GalleryAdjustingMinMaxWidths.tsx" |
| 38 |
``` |
| 39 |
|
| 40 |
### Alternative components |
| 41 |
|
| 42 |
```ts file="GalleryAlternativeComponents.tsx" |
| 43 |
``` |