To help developers enhance decks and presentations, Figma Slides now supports plugins! You can use the new API features to effectively enable users to create beautiful, functional slide decks.
New:
- Figma's Plugin API typings now support Figma Slides.
- Figma Slides has four new node types: SLIDE, SLIDE_ROW, SLIDE_GRID, and INTERACTIVE_SLIDE_ELEMENT.
figma.editorType
can now return slides
when a plugin is running in Figma Slides.
figma.viewport.slidesMode
can be used to toggle between grid
view or single-slide
view.
figma.currentPage.focusedSlide
identifies the slide currently focused on in the interface.
figma.getSlideGrid()
returns the slide grid, a 2D representation of slides within a deck.
figma.setSlideGrid()
is used to reorder slides in the grid.
getSlideTransition()
gets the current transition for a given SLIDE
node.
setSlideTransition()
is used to set the transition for a given SLIDE
node.
For more information, see the Working in Slides guide.