DOCUMENTATION

Carousel

Last updated May 2026
Advanced Block
All plans

The Carousel block is a horizontally scrollable card deck that supports two distinct variants — Editorial for rich content slides with headlines, body copy, and CTA buttons, and Product Scroll for full-bleed product images with inline price badges. Both variants share the same canvas, sidebar, and image effect system.

What it is

Each card in the carousel is a slide — an independent unit with its own background, image, text, link, and image effect settings. Slides are scrolled horizontally with momentum-based drag on touch and desktop. The sidebar gives you separate tabs for per-slide configuration and global canvas settings.

Editorial variant — 4 slides

Artificial Intelligence

You can do more with AI.

Productivity

Enhance your productivity.

Product

Launching something new.

Design

Beautifully crafted details.

Product Scroll variant — price badges
Lego Keyboard 60%MYR 200
Trimui Smart ProMYR 300
Zaopin Z2 4K HzMYR 250
New ProductMYR 0

Adding a Carousel block

/ → Carousel
Type / on any empty paragraph, type carousel, press Enter.
Block palette
Click + on any block → scroll to Advanced → Carousel.
Template picker
Several templates include pre-configured carousels with slides and styles already set.

When first added, the carousel populates with four default editorial slides so you can immediately see the layout. Switch to the Product Scroll variant from the Canvas tab to replace them with product-style defaults.

Variants

Editorial

Each slide has an eyebrow (small all-caps label above the title), a title, an optional body paragraph, and an optional CTA button. Text aligns left, center, or right. Text color is either white (dark theme) or black (light theme). Content is editable inline directly on the canvas by double-clicking any element.

Product Scroll

Each slide shows a full-bleed image (or solid background) with two floating pill badges anchored to the bottom: a product name pill on the left and a price pill on the right in blue. The product name and price are editable directly on the card. There is no eyebrow, body, or CTA in this variant.

Switching variants replaces the slides with variant-specific defaults (editorial or product). Your existing slide count and card sizing are preserved, but slide content resets. Switch variants before building out your slides.

Canvas interactions

Drag to scroll
Click and drag horizontally anywhere on the card track to scroll. Works on both mouse and touch. Momentum and snap points are built in.
Click a card
Selects the slide and switches the sidebar to the Slide tab showing that slide's settings. A blue ring appears around the selected card.
Double-click text
On editorial slides, double-clicking the eyebrow, title, or body activates inline editing directly on the canvas. The cursor appears inside the element.
← → arrows
The arrow buttons on the left and right of the carousel scroll by one card width. Toggle them on or off in the Canvas tab under Arrows.
Dot indicators
The dot strip below the carousel shows one dot per slide. Clicking a dot selects that slide and smooth-scrolls to it. The active dot expands to a pill.
Height drag
Hover any card to reveal five dots at the bottom edge — drag them to resize the card height. All cards resize together since height is a global setting.
Width drag
The Add slide placeholder on the right has a drag handle on its right edge — drag it to resize the card width globally.
Size preset pills
Hover a card to reveal S / M / L / XL size pills at the top. Clicking a preset snaps card width and height to that preset simultaneously. See Card sizing.

Slides

Each slide is managed from the Slide tab in the sidebar. Click any card on the canvas to open its settings, or click a slide in the Layers list at the bottom of the tab.

Slide fields

FieldVariantsDescription
eyebrowEditorialSmall all-caps label above the title. Editable inline on the canvas.
titleEditorial ProductMain slide headline. Editable inline. In Product variant, renders as a pill badge at the bottom-left of the card.
bodyEditorialSupporting paragraph beneath the title. Hidden until you start typing or the slide is selected.
bgColorEditorial ProductCard background color. 16 palette swatches plus a custom color picker. Also used as the primary (shadow) color in dither duotone mode.
imageUrlEditorial ProductUpload via the ImageUploader, pick from your media library, or paste a URL. When set, the image fills the card as a background. An image effect can transform how it renders.
linkUrlEditorial ProductMakes the entire card a link on the published page. Accepts external URLs (https://) or internal page slugs starting with /. Use the page picker dropdown to link to a published blnk page without typing.
textAlignEditorialLeft, center, or right. Controls both text alignment and flex alignment of the content block within the card.
themeEditorial"White" (dark theme) renders all text in white; "Black" (light theme) renders it in near-black. Choose based on your background color or image.
showCtaEditorialToggles a CTA pill button at the bottom of the slide. When enabled, a label field appears to customise the button text.
ctaLabelEditorialText shown inside the CTA button. Defaults to "Learn more".
priceProductPrice value shown in the blue badge. Editable inline on the card in edit mode.
currencyProductCurrency code shown beside the price (e.g. MYR, USD). Defaults to MYR.
imageEffectEditorial ProductPer-slide image effect override. If set, overrides the carousel-level default. Options: none, dither, ascii.

Managing slides

Add slide
Click the + placeholder at the end of the carousel track, or click "Add slide" at the bottom of the Slide tab's layer list. New slides inherit the background color and currency of the last slide.
Reorder
Use the ← → arrow buttons in the slide header inside the Slide tab to move a slide left or right.
Delete
Click the trash icon in the slide header. Requires at least 2 slides — the delete button is hidden when only one slide remains.
Layer list
The bottom of the Slide tab shows all slides as a list. Click any row to select that slide. A blue dot indicates slides with an uploaded image.

Card sizing

Card dimensions are global — all slides share the same width and height. There are three ways to change them:

1
Size preset pills (fastest)

Hover any card on the canvas to reveal S / M / L / XL pills at the top. Clicking one snaps width and height simultaneously to the preset dimensions.

2
Drag handles

The dotted handle at the bottom of any card resizes height. The right edge of the Add slide placeholder resizes width. Both are drag-only.

3
Sliders in the Canvas tab

Use the Card width and Card height sliders for precise control. Adjusting via slider clears the active size preset.

Size presets — S / M / L / XL
100×130
S
130×170
M
160×210
L
190×250
XL
S
240 × 280px — compact cards, good for dense product grids or small viewport layouts.
M
300 × 380px — the default editorial size. Works well for most content.
L
360 × 480px — the default when first added. Comfortable for text-heavy editorial slides.
XL
420 × 580px — large showcase cards. Works well for hero-style carousels.
Card width
Slider: 180–560px. Dragging the add-slide placeholder right edge also adjusts this.
Card height
Slider: 200–1200px. Dragging the bottom handle of any card also adjusts this.
Corner radius
Slider: 0–40px. Controls border-radius on all cards simultaneously.
Card gap
Slider: 0–48px. Space between cards in the track.
Container width
Slider: 600–1600px. Maximum width of the carousel wrapper. Centered with auto margins.

Image effects

Both variants support three image rendering modes, set at two levels: a carousel-level default (Canvas tab → Image effect) that applies to all slides, and a per-slide override (Slide tab → Image effect) that overrides the default for that slide only.

None (default)

The uploaded image renders as a standard CSS background image with background-size: cover and background-position: center. A gradient overlay fades from the bottom to improve text legibility.

Dither

The image is rendered through a WebGL dithering shader. The shader converts the image into a grid of dots or pixels using one of four algorithms, then maps pixel luminance to two configurable colors.

Pattern
Bayer (ordered), Halftone, Noise (random), or Crosshatch. Controls the dithering algorithm.
Color mode
Duotone (two custom colors), Grayscale, Original (full-color dither), or Custom (two fully independent colors).
Tone 1
The shadow color in duotone mode. Automatically uses the slide's background color — set it via the background swatch.
Tone 2
The highlight color in duotone mode. 8 presets plus a custom color picker.
Grid size
2–12px. Controls the size of each dither cell. Smaller = finer image detail, larger = more stylised pixelation.
Animated
When enabled, the dither pattern animates subtly over time. Canvas-level setting only.
For the best dither duotone results: set the slide background to your shadow color (e.g. a deep navy), then set Tone 2 to your highlight color (e.g. white or gold). The contrast between the two drives the image quality.

ASCII

The image is converted to a live ASCII character grid rendered on a canvas element. The grid updates in real time as settings change.

Character set
9 options: blocks, standard, dots, binary, minimal, dense, braille, circles, hash. Controls which characters map to pixel luminance values.
Text color
7 presets (including matrix green #00ff41) plus a custom color picker.
Resolution
20–120 columns (canvas-level: 20–1200). Higher = more characters and finer detail.
Animation
4 modes: none, fade (characters fade in from random), matrix (cascading columns), typewriter (left-to-right reveal).
Image effects use your uploaded image URL through a proxy endpoint (/api/proxy-image) to avoid CORS issues when fetching external images for the WebGL shader or canvas renderer.

Canvas settings

The Canvas tab in the sidebar controls global carousel settings.

General

Variant
Editorial or Product Scroll — see Variants for details. Switching resets slide content.
Card size
S / M / L / XL preset buttons — same as the hover pills on the canvas. See Card sizing.
Card width
180–560px slider.
Card height
200–1200px slider.
Corner radius
0–40px slider. Applied to all cards.
Card gap
0–48px slider. Space between cards.
Container width
600–1600px slider. Max-width of the carousel wrapper.
3D tilt on hover
Wraps each card in a TiltCard component with a 8° max tilt, 1.02× scale, and a glare highlight. Applied on the published page only — not in the editor.
Arrows
Toggles the left and right scroll arrow buttons. When off, only drag-to-scroll and dot navigation are available.
Image effect
Default image effect for all slides. Per-slide overrides take precedence. See Image effects.

3D tilt on hover

When enabled, each card is wrapped in a TiltCard interactive component. On the published page, hovering a card tilts it up to 8° on both axes, scales it to 102%, and adds a specular glare highlight that follows the cursor.

The 3D tilt effect only activates on the published page. In the editor, cards render flat so you can interact with them normally (select, edit, resize). The tilt also only applies when a slide has no link — linked slides use a standard <a> tag wrapper instead.

When tilt is enabled, the carousel track adds 24px of vertical padding above and below to give cards room to scale without being clipped.

Any slide can be made into a link by setting its Card link URL. On the published page, the entire card becomes a clickable anchor.

  • External URLs must start with https:// or http://.
  • Internal blnk pages can be linked by slug (starting with /) — use the page picker dropdown to select from your published pages without typing.
  • Invalid URLs (no protocol, no leading slash) are silently ignored on publish.
  • In the editor, a small link icon appears in the top-right corner of a slide when a URL is set, as a visual indicator.
  • Linked slides open in a new tab (target="_blank"). Internal slugs open in the same tab.

Slide backgrounds

Each slide has its own background color. The palette contains 16 presets and a custom color picker:

16-color palette + custom

4 grays · 4 light neutrals · 8 accent colors · custom picker

When an image is uploaded withoutan image effect, setting the background color clears the image URL (the image becomes invisible behind the background). When an image effect is active, the background color is preserved as the shader's primary color — changing background color is how you change the dither shadow tone.

Publishing behaviour

On a published page, the carousel renders via CarouselPublic (an SSR component). The card track is horizontally scrollable with momentum on touch devices. Arrow buttons are rendered server-side if showArrows is true. Image effects (dither, ASCII) are client-rendered via the same shader components used in the editor.

Image effects require JavaScript to render — if JS is disabled or slow to load, slides will show their background color until the effect canvas initialises. Upload a meaningful background color as a fallback for every slide that uses dither or ASCII.

Slide links work as standard anchor tags on the published page. The 3D tilt effect activates via a client component wrapper on published pages only.

Tips and patterns

Dark + dither
Set slide background to a deep color (navy, black, forest green), upload a photo, choose Dither → Duotone, and set Tone 2 to white. Produces a striking two-color editorial look.
Product grid feel
Use the Product Scroll variant with the S or M size preset. Set all backgrounds to #000 or #111 for a uniform dark product shelf. Upload square or portrait product images.
ASCII art header
Add a single wide card (XL preset, width ~480px), upload a portrait photo, choose ASCII → matrix animation. Works well as a hero-width feature card at the start of the carousel.
Mixed effects
Set the carousel default to None, then override individual slides with dither or ASCII. Lets you combine photographic and effect slides in the same carousel.
Internal page links
Use the page picker in the Card link field to link product slides directly to their product pages. The picker lists all your published blnk pages by title.