# Progressive detail

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

Source: https://legend.so/slides/effects/progressive-detail/

Legend Slides: Preview.

[All effects](https://legend.so/slides/effects/)

[Progressive detail preview](https://legend.so/slides/effects/previews/progressive-detail/b76e0b3e96e75e0a12ebf116ece8ce8ce70d1cd475e4cd91dbadcf81f981f3f3.mp4)

Recorded in Legend Slides for macOS (release build).

[Install in Slides](legend-slides://effects/install?pack=presenting&version=1.0.5) [Open example](legend-slides://effects/example?effect=progressive-detail) [Download example](https://legend.so/slides/effects/examples/progressive-detail/19aba1b6a4c8df96c3dc3862bf9125eabd3be6dfc3532e71d6c7240397451648.mdx)

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

```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 →](https://legend.so/slides/effects/installation/)

[View Markdown](https://legend.so/slides/effects/progressive-detail.md)[Report a documentation correction](https://github.com/LegendApp/legend-docs/issues/new?title=Docs%3A+Progressive+detail&body=Page%3A+https%3A%2F%2Flegend.so%2Fslides%2Feffects%2Fprogressive-detail%0A%0AWhat+is+incorrect+or+missing%3F%0A%0AExpected+behavior+or+supporting+source%3A%0A)
