Link to an article by using the article-linking container component.
- Apple News Format
- Apple News API
Use the ArticleLink component to create a link to another Apple News Format article. To create a link, nest child components inside the
Article component. You can use these child components to provide content, styling, and layout, like you do with any other Apple News Format component.
The two special components that can only be used inside an
Article container are ArticleThumbnail and ArticleTitle. These components are used by VoiceOver for iOS and VoiceOver for macOS to make Apple News content more accessible. Apple News automatically populates their content; for example, if you define the
Article component without explicitly defining the
text property, the title of the linked article is used.