Effects
LEGEND APPSPreview
Exploded layers
Reveal and compare caller-supplied content while keeping its state mounted.
← All effects

Still captured in Legend Slides for macOS (development build).
Requires a Legend Slides build with effect installation support. Installs the presenting pack (1.0.0, 22 KB source) and its dependencies. macOS host capabilities: reanimated, skia. Installed decks work offline.
Use it in a deck
---
title: Exploded layers
---
import { View, Text } from "react-native";
import { ExplodedLayers } from "slides:presenting/Composition";
# Exploded layers
<View style={{ width: 1696, height: 650 }}>
<Steps count={3}>{step => <ExplodedLayers expanded={step > 0} layers={[{id: "ui",label: "UI",content: <Text>Presentation</Text>,color: "#155e75"},{id: "data",label: "Data",content: <Text>Model</Text>,color: "#312e81"}]} style={{width: 1696,height: 580}} />}</Steps>
</View>
Configure
- content
- Supply the illustrations or React content.
- style
- Give the composition explicit stage bounds.
Only imported effects enter the compiled deck. Installation and versioning →