templUI Pro coming soon  

50% OFF Join Waitlist

Carousel

Interactive slideshow for cycling through a series of content.

TailwindCSS
Vanilla JS

Usage

1. Add the script to your page/layout:

// Option A: All components (recommended)
@utils.ComponentScripts()

// Option B: Just Carousel
@components.CarouselScript()

2. Use the component:

@components.Carousel(components.CarouselProps{...})

Examples

Autoplay

Minimal

With Images

© 2025 templui. Stupid code not excluded.