LogoLogo
HomepageYouTube ChannelInstall from the AppExchange
  • Home
  • Dynamic Components
  • Flow Components
  • Experience Components
  • Projects
  • 👋Welcome
  • Getting Started
    • Product Tour
    • Quickstart Guide
    • Learn the Basics
    • Installation & Licenses management
    • Flow vs. Dynamic Components
    • Integrating with Experience Cloud
  • Tutorials
    • Videos
    • Projects Tutorials
    • Components Tutorials
      • Alert
        • Create a custom branding alert
        • Create an error alert dismissible
      • Avatar
        • Create an avatar with actions
        • Create an avatar with details
      • Avatar Group
        • Display a list of contacts related to an account
        • Display a list of sharing users related to the record
      • Barcode
        • Generating and Displaying Barcodes for Product Codes
      • Biometrics
        • 101 Tutorial
      • Button
        • Customizing Flow Navigation Buttons
        • How to Add a "Cancel and Close" Button
        • How to Open Flows from Buttons
      • Button Groups
        • Identifying Clicked Buttons
      • Button Menu
        • How to change dynamically Avonni Button Menu Icons
      • Calendar
        • Calendar 101 Tutorial
        • How to Connect Multiple Data Sources to the Avonni Calendar
        • How to Customize Time Spans
        • How to Customize the Right-Click Menu
        • How to Add an Edit Action to Events
        • How to Add a New Event Button to the Avonni Calendar Header
        • How to Create Events by Dragging in the Avonni Calendar
        • How to Reschedule Events with Drag and Drop
        • How to Color-Code Calendar Entries in the Avonni Calendar
        • Using a variable Data Source
        • Using a Query Data Source
      • Carousel
        • Build a Related Products Carousel
      • Combobox
        • Implement Dependent Picklists in Comboboxes
        • How to Dynamically Enable/Disable Dependent Picklists
        • Using Multi-Select Comboboxes with Reactive Formulas
      • CSV Parser
        • 101 Tutorial
      • Data Table
        • Adding Filters
        • How to add Images onthe Data Table
        • Creating Row Actions
        • Displaying a Record as a QR Code
        • Displaying Record Name field as a link
        • Learn the Basics
        • Making a field editable
        • Setting Up Data Export
        • Tips and Tricks
          • Activate infinite scrolling
          • Creating an action from a button or a link
          • Customizing the Badge Color using a formula
          • How to Grayscale Header Actions Dynamically in Avonni Data Table
          • How to Conditionally Color Cells
          • Enabling auto-refresh on the Data Table when pressing a button
          • Handling formula text field
          • How to set column visibity
          • Passing multiple record IDs to another flow
          • Data Table Editor
      • Date Picker
        • Display a date picker with Marked Dates from a Get Records
      • Date Time Picker
        • How to create Collection Variables for StartDateTime and EndDateTime
        • How to Block Out Times
      • Delay Interaction
        • Creating a Confetti Celebration on the Final Screen
        • Launch a flow dialog without a screen
      • Dual Listbox
        • Display contacts with custom icons
        • Accounts list group by industry
      • Expandable Section
        • How to add components into an expandable section
      • Header
        • Building Engaging Card Headers
        • Crafting a Profile Header
        • Adding Action Buttons to Headers
        • Adding a Background Image to Your Header
      • Input Pen
        • Add the custom Toolbar
        • How to Store Input Pen Drawings as Attachments in Salesforce
      • Kanban
        • 📹Introduction
      • List
        • Create a grid list with images
        • Create a sortable list
        • How to Reorder Items and Update Records
        • Vertical List with Actions
      • Navigation
      • Map
        • Customize the Map Marker
        • Visualizing Account Information on a Map
      • Metric
        • 📹Introduction
      • Microphone
        • Save the Microphone recording file as an attached on a record
      • Progress Indicator
        • Creating a Universal Dynamic Progress Step Collection
        • How to Change the Appearance of Your Progress Indicator using a variable
        • Error Handling
      • QR Code
        • Generate a QR Code from a record field
      • Record Detail
        • Using the Record Detail with Reactive Screens
      • Scoped Notification
        • Display message based on a value
      • Text Area
        • TextArea issue with max length when clicking on the next button
      • Tree
        • Build a Tree View with Dynamic Record Details
      • Timeline
        • Assigning multiple source collection to the Timeline
        • Customizing Date Format in the Timeline Component using Luxon
        • Create a horizontal activity timeline
        • Display Tasks
        • Perform actions on selected tasks
      • Vertical Visual Picker
        • Adding sub-items
        • Display a list of online contacts
    • Interactions
      • Enabling auto-refresh for queries after the Flow Dialog ends
      • Creating a Confetti Celebration on the final screen
      • How to create an interaction to navigate to an object
      • How to create an interaction to a record page
      • How to create an interaction to open another flow
      • How to pass an Input Variable from One Flow to Another
      • How to setup an Open Flow Panel interaction
    • Reactive Query Tutorials
      • How to make Data Tables Reactive
      • Build a reactive Data Table Using Dependent Picklists
      • Building a Dynamic Metrics Dashboard with the Data Table
      • How to build a reactive 'Quarterly Opportunity Tracker' component
      • How to Create a Combobox-Filtered Data Table
      • Create a Dynamically Linked Account-Contact View
      • Troubleshooting
    • Tips and Tricks
      • Copy / Paste a component settings
      • Create a link to the record using the href attribute
      • Create a variable and use it in a component property
      • Data Table
      • Hide Standard Header and Footer in a flow
      • How to pass your current RecordID in your screen flow
    • Platform Events
      • Configuration tutorial
  • Flow Components
    • Explore All Components
    • Alert
    • Audio Player
    • Avatar
    • Avatar Group
    • Barcode
    • Barcode Scanner
    • Biometrics
    • Blockquote
    • Button
    • Button Group
    • Button Icon
    • Button Menu
    • Calendar
    • Carousel
    • Chart
    • Chip Container
    • Combobox
    • Color Picker
    • CSV Parser
    • Date Picker
    • Data Table
    • Date Time Picker
    • Delay Interaction
    • Document Scanner
    • Dual Listbox
    • Expandable Section
    • Formatted Address
    • Formatted Name
    • Formatted Value
    • Header
    • Hero Banner
    • Icon Picker
    • Image
    • Input Choice Set
    • Input Choice Set Grid
    • Input Counter
    • Input Date Range
    • Input Pen
    • Illustration
    • Interaction service
    • Kanban
    • List
    • Map
    • Metric
    • Microphone
    • Navigation
    • NFC Scanner
    • Pill Container
    • Progress Bar
    • Progress Circle
    • Progress Indicator
    • Progress Popover
    • QR Code
    • Rating
    • Record Detail
    • Scoped Notification
    • Separator
    • Slider
    • Tabs
    • Text Area
    • Timeline
    • Tree
    • User Location
    • Vertical Visual Picker
    • Visual Picker
    • Visual Picker Link
    • Video Player
    • Welcome Mat
  • Component Builder
    • Overview
    • Properties Pane
    • Interactions Pane
      • Copy Records
      • Download
      • Export To
      • Fire Confetti
      • Flow Navigation
      • Navigate
      • Show Toast
      • Open Alert Modal
      • Open Confirm
      • Open Flow Dialog
      • Open Flow Panel
      • Update Records
      • Refresh Query
      • Refresh All Queries
      • Open Quick Action
    • Style Pane
    • Component Templates
    • Layout and Customization
      • Alignment controls
      • Copy / Paste component settings
      • Margin / Padding
      • Pull To Boundary
      • Undo / Redo
  • Data Sources
    • Understanding Data Sources
    • Manual
    • Variable
    • Query
    • Query VS Variable
    • Picklist
  • Actions
    • Overview
    • Data Manipulation and Transformation
      • Convert Lead
      • Create file
      • Split Text to Text Collection
      • SObject Collection Math
      • SObject Collection Join
      • Get Record from SObject Collection
      • SObject Collection to Activity Timeline Items
      • SObject Collection to Calendar Marked Date Collection
      • SObject Collection to Scheduler Events
      • SObject Collection to Text Collection
    • Data Conversion and Formatting
      • Text Collection Get Value
      • Get Value from String Collection
      • Number Collection Get Value
      • Join Text Collection
      • Format Text in SObject Collection
      • Format Text Collection
      • Text Collection to Combobox Options
      • Text Collection to Dual Listbox Options
      • Text Collection to Progress Indicator Steps
    • UI & Navigation
      • New Avatar Action Collection
      • New Button Menu Item Collection
      • New Carousel Item Collection
      • New Combobox Option Collection
      • New Dual Listbox Option Collection
      • New Header Action Collection
      • New Header Avatar Action Collection
      • New List Action Collection
      • New Navigation Item Collection
      • New Progress Indicator Step Collection
      • New Progress Popover Step Collection
      • New Slider Custom Label Collection
  • Help
    • Performance Guide
    • How do I contact support?
    • How do I report Bugs?
    • Troubleshooting
    • Release Process
  • Miscellaneous
    • Live use cases examples
    • Release Notes
    • Salesforce Flow Limit
    • Security
Powered by GitBook
LogoLogo

Company

  • About Us
  • Pricing

Policies

  • Privacy Policy
  • Terms of Service
On this page
  • Configuring the Carousel
  • Data Mappings for Carousel Content
  • Changing the Properties
  • Changing the number of items per panel
  • Changing Carousel Behavior
  • Adding Interactions
  • Before Interaction Setup
  • Create the interaction
  • Styling the Carousel
  • Examples
  • Specifications

Was this helpful?

  1. Flow Components

Carousel

The Avonni Carousel provides a customizable slideshow experience with navigation controls, autoplay options, and styling for various use cases.

Last updated 1 month ago

Was this helpful?

Configuring the Carousel

Configuring the is key to effectively utilizing the Avonni Carousel Component. The Data Source is where you define the content of your carousel. It includes three main types of data sources: Manual, Variable, and Query.

Data Source Type
Description
When to Use

Involves manually entering data for carousel items. Useful for static content or predefined items.

Ideal for content that doesn't change frequently or for quick setup with specific items.

Links carousel to variable collections in Salesforce. Items change dynamically with the data.

Suitable when carousel content needs to reflect changing data from Salesforce records.

Enables fetching data through a query, pulling various records/data points from Salesforce.

Ideal for complex data retrieval or when sourcing. Using a 'Get Records' collection is not necessary with this method, as the query itself is powerful enough to simplify your flow.

Data Mappings for Carousel Content

In addition to selecting the data source, setting up Data Mappings is vital. Data Mappings allow you to link specific fields in your data source to the carousel's properties, ensuring that the correct data from Salesforce is displayed correctly in the carousel.

How Data Mappings Work:

  • Link specific fields from your data source (like image URLs or text descriptions) to the corresponding carousel attributes.

  • Customize which data points control aspects like image display, captions, etc.

This feature is handy when using Variable or Query Data Sources, as it allows the carousel to dynamically present the correct content based on the data it receives.

Changing the Properties

Changing the number of items per panel

You can select the number of images that need to be displayed by panel. The item numbers may vary based on the screen size. The component allows you to set the number of images displayed for small, medium, or large devices.

Small is 480px and more, Medium is 768px and more, and Large is 1024px and more. Items per panel allows you to define a default value of items for your carousel.

Changing Carousel Behavior

  • Disable Auto-Scrolling: Enable 'disable-auto-scroll' toggle to stop the automatic scrolling of images. Users must use indicator buttons to view images.

  • Remove Control Button: Activate the same toggle ('disable-auto-scroll') to remove the control button.

  • Disable Continuous Looping: Enable 'disable-auto-refresh' toggle. Images will scroll once and stop at the last image. This works even if 'disable-auto-scroll' is not enabled.

  • Set Image Display Duration: Adjust the 'scroll-duration' attribute in advanced options to change how long each image is displayed.

Adding Interactions

Before Interaction Setup

First, add action elements to carousel items using the 'Actions' section in the component builder. Create action buttons here.

Create the interaction

  • On Item Click: The event is fired when a user clicks on an item in the Carousel.

  • On Action Click: The event is fired when a user clicks on an action.

Related articles

Styling the Carousel

From the Styles panel, you can customize styling for the carousel: Margin, Size, Item, Item Title , Item Description and Indicator.

Examples

Specifications

Name
Type
Description

assistiveText

String

Description of the carousel items for screen-readers.

currentPanel

Integer

Dictates the currently active/visible carousel panel.

disableAutoRefresh

Boolean

If present, the carousel doesn't loop after the last image is displayed.

disableAutoScroll

Boolean

If present, images do not automatically scroll and users must click the indicators to scroll.

hideIndicator

Boolean

If present, the progress indicator is hidden.

hidePreviousNextPanelNavigation

Boolean

If present, the left and right arrows of the carousel are hidden.

indicatorVariant

String

Changes the appearance of the progress indicators. Valid values are base or shaded

isInfinite

Boolean

If present, the carousel will loop when reaching the last panel.

itemsPerPanel

Integer

Number of items to be displayed at a time in the carousel. Maximum of 10 items per panel.

smallItemsPerPanel

Integer

Number of items to be displayed for devices of 480px and more

mediumItemsPerPanel

Integer

Number of items to be displayed for devices of 768px and more

largeItemsPerPanel

Integer

Number of items to be displayed for devices of 1024px and more

scrollDuration

Integer

Auto scroll delay. The default is 5 seconds, after which the next image is displayed

items

CarouselItem[]

Images to display in the carousel

Name
Description

itemClick

The item data clicked

Name
Description

Item Background Color

Define a background color on items element

Item Title Color

Define a title color on items element

Item Title Font Size

Define a specific font size on items element

Item Title Font Style

Define a font style on items element

Item Title Font Weight

Define a font weight on items element

Item Description Color

Define a item description color when a description is present

Item Description Font Size

Define a item description font size when a description is present

Item Description Font Style

Define a item description font style when a description is present

Item Description Font Weight

Define a item description font weight when a description is present

Active Indicator Background Color

Define an active indicator background color on the indicator element

Active Indicator Background Color Hover

Define an active indicator background color hover on the indicator element

Active Indicator Border Color

Define an active indicator border color on the indicator element

Active Indicator Border Color Hover

Define an active indicator border color hover on the indicator element

Active Indicator Shaded Background Color

Define an active indicator shaded background color on the indicator element

Active Indicator Shaded Background Color Hover

Define an active indicator shaded background color hover on the indicator element

Active Indicator Shaded Border Color

Define an active indicator shaded border color on the indicator element

Active Indicator Shaded Border Color Hover

Define an active indicator shaded border color hover on the indicator element

Inactive Indicator Background Color

Define an inactive indicator background color on the indicator element

Inactive Indicator Background Color Hover

Define an inactive indicator background color hover on the indicator element

Inactive Indicator Border Color

Define an inactive indicator border color on the indicator element

Inactive Indicator Border Color Hover

Define an inactive indicator border color hover on the indicator element

Inactive Indicator Shaded Background Color

Define an inactive indicator shaded background color on the indicator element

Inactive Indicator Shaded Background Color Hover

Define an inactive indicator shaded background color hover on the indicator element

Inactive Indicator Shaded Border Color

Define an inactive indicator shaded border color hover on the indicator element

Inactive Indicator Shaded Border Color Hover

Define an inactive indicator shaded border color hover on the indicator element

define what will happen when users click on an image.

You can find the instructions for styling .

Interactions
here
Manual
Variable
Query
Data Source
How to create a record detail page navigation
How to create an object page navigation
How to create Action Buttons