Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
marimo
Light Logo Dark Logo
  • Getting Started
  • Guides
    • Overview
    • Reactivity
    • Interactivity
    • SQL
    • Run as an app
    • Run as a script
    • Outputs
    • Dataframes
    • Plotting
    • Editor features
      • Editor overview
      • Package management
      • AI completion
      • Hotkeys
    • Theming
    • Best practices
      • Performance
    • Coming from other tools
      • Coming from Jupyter
      • Coming from Jupytext
      • Coming from Papermill
      • Coming from Streamlit
    • Integrating with marimo
      • Richly display objects
      • Custom UI elements
    • Reactive state
    • Online playground
    • Exporting
    • Configuration
      • Runtime configuration
    • Troubleshooting
    • Deploying
  • Recipes
  • API Reference
    • Markdown
    • Inputs
      • Array
      • Batch
      • Button
      • Chat
      • Checkbox
      • Code Editor
      • Dataframe
      • Data Explorer
      • Dates
      • Dictionary
      • Dropdown
      • File
      • File Browser
      • Form
      • Microphone
      • Multiselect
      • Number
      • Radio
      • Range Slider
      • Refresh
      • Run Button
      • Slider
      • Switch
      • Table
      • Tabs
      • Text
      • Text Area
      • Custom UI elements
    • Layouts
      • Accordion
      • Carousel
      • Callout
      • Justify
      • Lazy
      • Plain
      • Routes
      • Sidebar
      • Stacks
      • Tree
    • Plotting
    • Media
      • Image
      • Audio
      • Video
      • PDF
      • Download Media
      • Plain text
    • Diagrams
    • Status
    • Outputs
    • Control flow
    • HTML
    • Query Parameters
    • Command Line Arguments
    • Caching
    • State
    • App
    • Cell
    • Miscellaneous
  • FAQ
  • Examples
  • Integrations
    • Google Cloud Storage
    • Google Cloud BigQuery
    • Google Sheets
  • Community

Links

  • GitHub
  • Discord
  • Newsletter
  • Twitter
  • Marimo Cloud Waitlist
  • Blog
Back to top
View this page
Edit this page

Carousel¶

marimo.carousel(items: Sequence[object]) → Html¶

Create a carousel of items.

Example.

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

Args.

  • items: A list of items.

Returns.

  • An Html object.

Next
Callout
Previous
Accordion
Copyright © 2024, marimo-team
Made with Sphinx and @pradyunsg's Furo
On this page
  • Carousel
    • carousel()