Effects

Relay only supports drop shadows currently.

Shadow examples

Limitations

Drop shadow limitations:

  • Drop shadows currently do not work on the following layers:
    • Non-rectangular vectors
    • Rotated rectangular vector
  • Multiple drop shadows per layer is not supported.
  • Drop shadow blend modes other than “Normal” are only available on Android versions 10+ (ignored otherwise).
  • Drop shadows on most layers are only available on Android versions 9+ except Text, which is available on all Android versions supported by Compose.
  • Shadows will always show behind transparent layers in Compose.