Opens in a new tab

Card carousel

A card carousel for Bricks Builder beside a darkened photo panel: the title sits over the photo on the left, and on the right a looping carousel of tall photo cards, built on the FBK Card component, runs with the active card largest. It plays on its own, with a pause button so it stays accessible.

Dark mode readyNeeds Code execution

Copying for Fancy Framework · Desktop first

Needs a framework. Get Fancy Framework (free)

In the annual plan, $99/year. See plans

Uses a small script. Turn on Code execution in Bricks › Settings › Custom code. How to turn on Code execution

Preview

Template details

What’s inside

The components it’s built from. They come with the template when you paste it, and you edit them from the Bricks panel.

  • FBK Button

    A link styled as a button, with style, size and width.

  • FBK Card

    A media slot, title, text, a content slot and an actions slot.

  • FBK Intro

    Eyebrow, title, lead and an actions slot for buttons.

Adjust it

Change these variables in Bricks to tune it; everything else follows your framework.

On the element Panel + carousel, class fbk-cardslide

Card height (the photo cards) and the space above and below

--fbk-card-overlay-height
clamp(21em, 28vw, 25em)
--fbk-t-pad-y
var(--space-xxl)

Cards that are not the active one are a little smaller

--fbk-t-inactive-scale
0.95

The pause button's ring track: light, it sits on the dark panel

--fbk-slider-track
var(--white)

The carousel gets most of the width: three cards per view must not look thin

--fbk-t-columns
minmax(0, 0.8fr) minmax(0, 2.2fr)
--fbk-t-carousel-col
2

From the screen's left edge to its center (the grid is centered), full height

--fbk-t-panel-w
50vw
--fbk-t-panel-bottom
0px

Replaces

In Fancy Bricks 1.0 and 2.0 this was Carousel (1.0), Slider (dual with progress bar) (1.0), Carousel (2.0) and Section carousel (2.0).