Skip to content

<Slide>

A single slide. Provides SlideContext. Auto-registers with the parent presentation.

NameTypeDefaultDescription
childrenReactNode—Slide body.
id?string—Stable ID for routing/anchors. Auto-generated if omitted.
steps?number—Force the number of steps. Inferred from Fragments, CodeStepper, CodeDiff and DiagramStepper when omitted.
layout?ComponentType<LayoutProps>—Wrap children in a layout component.
notes?ReactNode—Speaker notes — surfaced via SpeakerView.
meta?Record<string, unknown>—Arbitrary metadata for plugins/tooling.