<!--
{
  "availability" : [
    "Apple News Format: 1.7.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppleNewsFormat",
  "identifier" : "/documentation/AppleNewsFormat/Gallery",
  "metadataVersion" : "0.1.0",
  "role" : "Object",
  "symbol" : {
    "kind" : "Object",
    "modules" : [
      "Apple News Format"
    ],
    "preciseIdentifier" : "data:news_format:Gallery"
  },
  "title" : "Gallery"
}
-->

# Gallery

The component for displaying a sequence of images in a specific order as a horizontal strip.

```
object Gallery
```

## Discussion

Use the `Gallery` component for sequences of images where the ordering of the items is important to the story. To display images in no specific order, use the [`Mosaic`](/documentation/AppleNewsFormat/Mosaic) component. People can swipe to view the images in a gallery as shown in this example:

![Screenshot of an Apple News article with a gallery on iPad.](images/com.apple.applenews/media-3591432@2x.png)

### Example

```json
{
  "components": [
    {
      "role": "gallery",
      "items": [
        {
          "URL": "bundle://gallery-01.jpg",
          "caption": "Thanks to the record drought, mountain lions have begun to descend from the peaks, sometimes into urban settings."
        },
        {
          "URL": "bundle://gallery-02.jpg",
          "caption": "Coyotes are also seen in cities more often."
        },
        {
          "URL": "bundle://gallery-03.jpg",
          "explicitContent": true
        }
      ]
    }
  ]
}
```

## See Also

  <doc://com.apple.applenews/documentation/AppleNews/adding-a-gallery-of-images>

## Relationships

### Inherits From

[`Component`](/documentation/AppleNewsFormat/Component)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)