DUCarousel

Components

Image carousel with hero, gallery, cards, peek, cover, and minimal styles — no Swiper dependency.

import { DUCarousel, DU_CAROUSEL_SAMPLES } from 'deri-ui';
Live preview

Hero · autoplay

Tropical beach shoreline
Travel

Coastal Escape

Soft sand · Clear water

Mountain ridge above clouds
Adventure

Alpine Ridge

High trails · Thin air

City street at dusk
Urban

City Pulse

Neon · Night walks

Sunlit forest path
Nature

Forest Path

Quiet · Green canopy

Modern workspace interior
Workspace

Studio Light

Workspaces · Calm focus

Cover

Tropical beach shoreline
Travel

Coastal Escape

Soft sand · Clear water

Morning light on the shoreline

Mountain ridge above clouds
Adventure

Alpine Ridge

High trails · Thin air

Ridgelines above the cloud deck

City street at dusk
Urban

City Pulse

Neon · Night walks

Dusk settling over downtown

Sunlit forest path
Nature

Forest Path

Quiet · Green canopy

Sunbeams through old growth

Cards

Tropical beach shoreline
Travel

Coastal Escape

Soft sand · Clear water

Mountain ridge above clouds
Adventure

Alpine Ridge

High trails · Thin air

City street at dusk
Urban

City Pulse

Neon · Night walks

Sunlit forest path
Nature

Forest Path

Quiet · Green canopy

Modern workspace interior
Workspace

Studio Light

Workspaces · Calm focus

Peek

Tropical beach shoreline
Coastal Escape
Mountain ridge above clouds
Alpine Ridge
City street at dusk
City Pulse
Sunlit forest path
Forest Path
Modern workspace interior
Studio Light

Gallery · thumbs

Tropical beach shoreline

Coastal Escape

Soft sand · Clear water

Mountain ridge above clouds

Alpine Ridge

High trails · Thin air

City street at dusk

City Pulse

Neon · Night walks

Sunlit forest path

Forest Path

Quiet · Green canopy

Modern workspace interior

Studio Light

Workspaces · Calm focus

Minimal

Tropical beach shoreline

Coastal Escape

Morning light on the shoreline

Mountain ridge above clouds

Alpine Ridge

Ridgelines above the cloud deck

City street at dusk

City Pulse

Dusk settling over downtown

typescript
<DUCarousel variant="hero" autoplay slides={DU_CAROUSEL_SAMPLES} />
<DUCarousel variant="cards" slides={DU_CAROUSEL_SAMPLES} />
<DUCarousel variant="gallery" slides={DU_CAROUSEL_SAMPLES} />

Props

PropTypeDefaultDescription
slidesDUCarouselSlide[]Slides (image, title, subtitle, caption, badge)
variant'hero' | 'gallery' | 'cards' | 'peek' | 'minimal' | 'cover''hero'Visual style
autoplay / intervalboolean / numberfalse / 4500Auto advance
showArrows / showDotsbooleantrueControls
radiusDURadius'md'Corner radius
heightstringOptional Tailwind height class

Usage

import { DUCarousel, DU_CAROUSEL_SAMPLES } from 'deri-ui';

<DUCarousel variant="hero" autoplay slides={DU_CAROUSEL_SAMPLES} />
<DUCarousel variant="cards" slides={DU_CAROUSEL_SAMPLES} />
<DUCarousel variant="gallery" slides={DU_CAROUSEL_SAMPLES} />

Customize with className, radius, and Tailwind utilities. Theme tokens come from deri-ui/tailwind.preset.

Related

© 2026 Deri Ui. Developed by Deribew Shimelis. Copy and use the code freely in your projects.