<!--
{
  "documentType" : "article",
  "framework" : "AppleNewsFormat",
  "identifier" : "/documentation/AppleNews/wrapping-text-around-a-component",
  "metadataVersion" : "0.1.0",
  "role" : "article",
  "title" : "Wrapping Text Around a Component"
}
-->

# Wrapping Text Around a Component

Define the layout of a text component to wrap around another component.

## Discussion

You can wrap the text of one body component around another component by using the `targetAnchorPosition` property of the [`Anchor`](/documentation/AppleNewsFormat/Anchor) object. For example, you can wrap body text around a pull quote. You can include an `Anchor` object in a text component to vertically align that component to the position of a text character in a body component. If they also share columns, these components would then overlap. In the case of overlap, the text would automatically wrap around the component that contains the `Anchor` object.

Consider the following figure:

- The article has a 7-column layout.
- A `body` component starts in column 0 and spans 5 columns.
- A `pullquote` component starts in column 4 and spans 3 columns.
- A `pullquote` component contains an `Ancho`r object that aligns the pull quote with a character range in the second paragraph of the body component.

![Screenshot of an article layout with body and pull quote.](images/com.apple.applenews/media-4087468@2x.png)

> Tip:
> For a step-by-step process for creating an inset pull quote, see <doc://com.apple.applenews/documentation/AppleNews/apple-news-format-tutorials#Advanced-Design-Tutorial-2-Layout-and-Positioning>. Get started at <doc://com.apple.applenews/documentation/AppleNews/setting-up-the-advanced-tutorials>.

---

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)