Simple slide viewer for title, description, and optional image items
Carousel
Carousel renders a slide viewer with previous and next controls when more than one item exists.
ui.carousel({ { title = 'Lua first', description = 'Build UI by describing nodes in Lua.' }, { title = 'Motion ready', description = 'AnimatePresence powers enter and exit transitions.' }})
API
ui.carousel(items, props?)
lui.carousel(items, props?)
Item shape
Field
Type
Description
title or label
string
Slide title. Defaults to Slide N.
description or content
string
Slide body.
image
string
Optional image URL.
String items are accepted and become the slide title.