SwiftUI.js
Components

ContentTransition

ContentTransition adapts SwiftUI's content-transition modifiers into an explicit wrapper that annotates changing content on the web.

ContentTransition adapts SwiftUI's content-transition modifiers into an explicit wrapper that annotates changing content on the web.

Examples

Opacity

Preview unavailable for this example in the static docs build.

Show code
<ContentTransition transition="opacity">
      <Text>Status updated</Text>
    </ContentTransition>

Variants

Preview unavailable for this example in the static docs build.

Show code
<ContentTransition transition="scale">
      <Text>42 items</Text>
    </ContentTransition>

API

PropTypeRequiredDescription
transition'opacity' | 'interpolate' | 'scale'NoNo description yet.
activebooleanNoNo description yet.

Inherits additional props from IBaseComponent.

Overview

ContentTransition adapts SwiftUI's content-transition modifiers into an explicit wrapper that annotates changing content on the web.

On this page