---
schema_version: "1"
id: 3e95d4c6dd8492962f26399b6767def744212e051368761caf47454caf713cc8
title: AgentforceCarousel
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/genai/agentforce-mobile-sdk/references/ios/agentforce-carousel-ios.md
canonical_url: https://developer.salesforce.com/docs/ai/agentforce-mobile-sdk/references/agentforce-mobile-sdk/agentforce-carousel-ios.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 9b29c4716eba2857305d8f0afb97b82059e9a259f18dca019d4a6067434615cb
products:
  - Agentforce Mobile SDK
  - Agentforce and Einstein Generative AI
---
# AgentforceCarousel

## Overview

A horizontal scrolling carousel view that displays cards.

## Declaration

```swift
@MainActor
struct AgentforceCarousel
```

## Properties

| Property | Type        | Description                           |
| -------- | ----------- | ------------------------------------- |
| `body`   | `some View` | The main view content of the carousel |

## Methods

| Method               | Signature              | Description                          |
| -------------------- | ---------------------- | ------------------------------------ |
| View Implementations | `View-Implementations` | Default SwiftUI view implementations |
