Carousel
Overview
Shows one slide at a time with previous/next arrows and dots, optionally advancing automatically. Each component you drop inside becomes a slide.
When to use
- Promotional banners on a customer portal home page.
- Before/after photos of a project.
- Customer testimonials, one per slide.
- Featured products or services.
When not to use
- Slides should come from records (one per product): use Gallery or Record Cards.
- All items should be visible at once: use Grid.
Quick start
- Drag Carousel onto the page; in the editor all slides are shown in a grid so you can edit them.
- Drop one component per slide — usually a Card or Container holding an Image and Text.
- Content tab: turn on Autoplay and set the Interval (ms) if slides should rotate by themselves.
- Preview to see arrows, dots and autoplay (autoplay never runs in the editor).
Layout rules
- Can contain any component.
- Can be placed in any container (page, section, card, row, column, grid…).
Properties
Advances to the next slide automatically. Only runs in preview and the live app, and only with two or more slides.
Default: false
Time each slide stays visible when autoplay is on, in milliseconds.
Options: 1000 to 20000
Default: 5000
Example: 8000 for text-heavy slides
Other components can read this component's activeIndex from the Data Picker → Component state.
Responsive behavior
The active slide takes the carousel's width on every device; arrows sit over the slide edges, so leave some side padding in slide content. Height follows the tallest slide content.
Permissions
Choose which app roles receive this component in the Permissions tab; the server never sends it (or anything inside it) to other roles. This controls what appears on the screen, not what data people can read: set record access under Users → Roles & permissions. The Visibility tab's "Show only when" rule is a display rule only.
Accessibility
- Arrows and dots are labelled buttons (Previous, Next, Slide 1…). Avoid autoplay for content people need to read carefully.
Examples
Testimonials
Carousel (Autoplay: on, Interval: 7000) Card: Paragraph "Fantastic service…", Text "— Maria, Oslo" Card: Paragraph "On time, every time.", Text "— Ken, Leeds"
Common patterns
- Jump to a slide from a button: Set state → Component state → this Carousel → activeIndex → 2.
- Keep slides the same height by setting a Min height on each slide card.
Limitations
- Nesting: can contain any component. Can be placed in any container (page, section, card, tab, accordion item, step, modal, drawer…). Each direct child is one slide.
- Arrows and dots only appear with two or more slides.
- No swipe gestures; visitors use the arrows or dots.
- No events; the active slide index is available as component state activeIndex.
Troubleshooting
Why: They were dropped directly into the carousel.
Fix: Wrap them in one Card or Container — one child per slide.