Skip to content

Carousel

marimo.carousel

carousel(
    items: Sequence[object], wrapAround: bool = False
) -> Html

Create a carousel of items.

PARAMETER DESCRIPTION
items

A list of items.

TYPE: Sequence[object]

wrapAround

Whether carousel jumps back to the start when navigating beyond the last item.

TYPE: bool DEFAULT: False

RETURNS DESCRIPTION
Html

An Html object.

Example
mo.carousel([mo.md("..."), mo.ui.text_area()])