SwiftUI.js
Components

Unredacted

Unredacted adapts SwiftUI's `unredacted` modifier into an explicit wrapper that opts nested content out of placeholder styling.

Unredacted adapts SwiftUI's `unredacted` modifier into an explicit wrapper that opts nested content out of placeholder styling.

Examples

Default

Preview unavailable for this example in the static docs build.

Show code
<VStack spacing={10}>
      <Redacted>
        <Text>Loading profile</Text>
      </Redacted>
      <Redacted>
        <Unredacted>
          <Text>Visible badge</Text>
        </Unredacted>
      </Redacted>
    </VStack>

API

This component currently relies on inherited element props.

Inherits additional props from IBaseComponent.

Overview

Unredacted adapts SwiftUI's unredacted modifier into an explicit wrapper that opts nested content out of placeholder styling.

Status: adapted

On this page