CrazyGLCrazyGLHomeExploreGitHubBrowse heroesLoading hero…← Back to gallery@crazygl/gallery-slider

Gallery Slider

A full-bleed image gallery where each slide carries its own picture and copy. Image and text transition independently — fade, Ken-Burns zoom, push-slide, clip wipe or blur-morph for the image; fade, rise, clip-reveal or blur for the text. Autoplay, arrows, dots, counter, swipe.

ReactImageInteractiveFont#slider#gallery#carousel#transitions#images#slideshow#fade#morph

Usage

import GallerySlider from '@crazygl/hero-gallery-slider';

export default function Page() {
  return (
    <GallerySlider
      slideCount={3}
      imageTransition="blur"
      textTransition="clip"
      slide1Image="/img/one.jpg"
      slide1Heading="Tiered in white sugar"
      slide1CtaLabel="Discover"
      slide1CtaHref="/products"
    />
  );
}

Customise

  • SlidesslideCount (1–5) and per-slide slideNImage, slideNEyebrow, slideNHeading, slideNSubtext, slideNCtaLabel, slideNCtaHref.
  • TransitionsimageTransition, textTransition, duration, easing, and ambient kenBurns.
  • Playbackautoplay, interval, and toggles for showArrows, showDots, showCounter, showProgress.
  • StyletextPosition, textColor, accentColor, scrim, headingFont/bodyFont, and CTA ctaColor/ctaTextColor/ctaShape.

Best for

  • Hospitality, fashion, and luxury-brand landing pages that lead with photography.
  • Product showcases and editorial "chapters" where each slide tells one beat of a story.
  • Portfolios and case-study reels that need cinematic image-to-image transitions.
01 · Install the package

One command, zero config.

npm install @crazygl/hero-gallery-slider
02 · Render the component

Import once, drop it in.

The component takes the same props you see in the live customizer on the right — every default ships poster-quality.

hero.tsx
import GallerySlider from '@crazygl/hero-gallery-slider';

export default function Landing() {
  return (
    <GallerySlider />
  );
}
03 · Use it in a page

SSR-safe by default.

The wrapper renders static HTML on the server and only initialises the canvas after hydration, so search engines see your copy.

page.tsx
// app/page.tsx — works in SSR-first frameworks (Next, Remix, Astro, etc.)
'use client';

import GallerySlider from '@crazygl/hero-gallery-slider';

export default function Page() {
  return (
    <section>
      <GallerySlider
        heading="Say hi."
        subheading="Your new hero."
      />
      <article>
        <h2>Welcome</h2>
        <p>Your content keeps its own voice below the hero.</p>
      </article>
    </section>
  );
}
You might also like

Similar heroes

Particle Slider

A cinematic auto-playing slider built on one shared particle engine. Each slide picks a visualization — magnetic sphere, spiral galaxy, liquid wave field, vortex portal, image-to-particle, particle text, neural cloud, cube lattice, orbital rings, terrain — and the thousands of particles MORPH from one formation into the next instead of resetting. The field reacts to the pointer (repel / attract / magnetic). Per-slide heading, subheading, CTA, text transition and layout. Dark, premium, developer-grade.

Product Carousel

A centred showcase carousel for transparent product PNGs — the active product sits front and large while the previous and next peek in from the sides, dimmed and scaled. Swipe, drag, arrows or dots; products swing into frame with captions that animate in.

Masked Text Carousel

A big heading sits behind a product image; where the image overlaps the words the text shows only its outline (or inverts, or ghosts) while the rest stays solid — the product literally masks the type. Swipeable, with a floating, pointer-reactive product and smooth slide transitions.

Cinematic Before / After Slider

Two images or videos blended in 3D across a glowing, draggable glass divider. The split refracts the scene with a chromatic edge, the whole plane tilts on pointer parallax, and corner labels call out before and after — a transformation showcase for AI enhancement, photo and video editing, design tools, and beauty tech.

Scroll Text Fade

A long block of copy that fades word-by-word as the visitor scrolls — early words go dim, current words pop, future words sit faded.

Letter Morph

Heading where each letter cross-fades and morphs through the next phrase — letters that match stay, letters that don't blur-swap.
Live customizer

Gallery Slider

Slides4Slide 1 imageSlide 1 eyebrowSlide 1 headingSlide 1 subtextSlide 1 buttonOptional CTA button label (leave empty for none).Slide 1 button linkURL for the button (used only when the button label is set).Slide 2 imageSlide 2 eyebrowSlide 2 headingSlide 2 subtextSlide 2 buttonOptional CTA button label (leave empty for none).Slide 2 button linkURL for the button (used only when the button label is set).Slide 3 imageSlide 3 eyebrowSlide 3 headingSlide 3 subtextSlide 3 buttonOptional CTA button label (leave empty for none).Slide 3 button linkURL for the button (used only when the button label is set).Slide 4 imageSlide 4 eyebrowSlide 4 headingSlide 4 subtextSlide 4 buttonOptional CTA button label (leave empty for none).Slide 4 button linkURL for the button (used only when the button label is set).Slide 5 buttonOptional CTA button label (leave empty for none).Slide 5 button linkURL for the button (used only when the button label is set).Image transitionText transitionDuration1.8sEasingAmbient Ken BurnsSlowly zoom the current image while it's on screen, independent of the transition.AutoplayInterval5sArrowsDotsCounterProgress barText positionText colourAccentScrim0.4Heading fontBody fontButton colourButton text colourButton shapeInteractivityWhich input drives the hero — try Scroll if you want the page to drive motion.
CrazyGL · crazygl.comProgrammable hero sections for real websites.