Effects
LEGEND APPSPreview

Progressive detail

Reveal and compare caller-supplied content while keeping its state mounted.

All effects
Recorded in Legend Slides for macOS (release build).

Requires a Legend Slides build with effect installation support. Installs the presenting pack (1.0.5, 22 KB source) and its dependencies. macOS host capabilities: reanimated, skia. Installed decks work offline.

Use it in a deck

progressive-detail.mdx
---
title: Progressive detail
---

import { View, Text } from "react-native";
import { ProgressiveDetail } from "slides:presenting/Composition";

export function Summary() { return <View style={{ padding: 42, borderRadius: 32, backgroundColor: "#123444" }}><Text style={{ color: "white", fontSize: 74 }}>One request</Text><Text style={{ color: "#67e8f9", fontSize: 38 }}>from tap to pixels</Text></View>; }
export function Detail() { return <View style={{ width: 920, gap: 24 }}>{["1  Parse the input", "2  Update state", "3  Draw the view"].map(row => <View key={row} style={{ padding: 22, borderRadius: 20, backgroundColor: "#164e63" }}><Text style={{ color: "white", fontSize: 42 }}>{row}</Text></View>)}</View>; }

# Progressive detail

<View style={{ width: 1696, height: 650 }}>
<Steps count={2}>{step => <ProgressiveDetail expanded={step > 0} summary={<Summary />} detail={<Detail />} 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 โ†’

More in the presenting pack