ImageSlide

Slides

Image slide with an optional caption.

ImageSlide(src: …, caption: …)

Example

Presentation { ImageSlide(src: "chart.png", caption: "Revenue by month") }

Renders with the class wf-image-slide, stable across releases, so a stylesheet may target it.

Props of ImageSlide
Prop Type Meaning
src: String

Image path (required)

caption: String

Caption under the image

Attribute families: global, aria, data. Plus the universal props on every element: animate:, exit:, speed:, class:, ref:.