Skip to main content

Slide

You can create a slide component by adding <hr /> or --- in .mdx file. You can also set slide options using the frontmatter syntax with +++ instead of ---. The options list is described in the table below. Slide options override the global options passed to PresentifyProvider

Slide Options

OptionTypeOptionalDefaultDescription
classNamestring✔️noneset className to slide parent div
backgroundColorstring✔️whiteset background color to slide
backgroundImgstring✔️noneset background Image to slide
layoutnormal / center✔️centerset layout of slide