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

# Parallax

The behavior whereby a component moves at a speed different from the scroll speed.

```
object Parallax
```

## Discussion

When you apply the `Parallax` behavior to a component, the component moves at a different speed than the scroll speed. Use the `factor` property to set the speed of the component. [This video](https://developer.apple.com/apple-news/videos/parallax.mp4) shows an example of the `parallax` behavior.

> Tip:
> When you use parallax behavior, you might notice text becoming illegible as it covers an image. You can fix this easily, and create a cleaner, more legible article, by adding a background color.

### Example

```json
{
  "components": [
    {
      "role": "figure",
      "behavior": {
        "type": "parallax",
        "factor": 0.8
      },
      "URL": "bundle://figure.jpg"
    }
  ]
}
```

## See Also

  <doc://com.apple.applenews/documentation/AppleNews/adding-parallax-behavior>

## Relationships

### Inherits From

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

---

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)