# PreviewLightDark

Artifact: [androidx.compose.ui:ui-tooling-preview](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/tooling/preview/MultiPreviews.kt+class:androidx.compose.ui.tooling.preview.PreviewLightDark) Added in [1.6.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.6.0) Common/All
- Cmn

  ```
  @Retention(value = AnnotationRetention.BINARY)
  @Target(allowedTargets = [AnnotationTarget.ANNOTATION_CLASS, AnnotationTarget.FUNCTION])
  @Preview(name = "Light")
  @Preview(name = "Dark", uiMode = 33)
  annotation PreviewLightDark
  ```

*** ** * ** ***

A MultiPreview annotation for displaying a @`https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable` method using light and dark themes.

Note that the app theme should support dark and light modes for these previews to be different.

## Summary

| ### Public constructors |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/tooling/preview/PreviewLightDark#PreviewLightDark()()` | Cmn |

## Public constructors

### PreviewLightDark

Cmn

```
PreviewLightDark()
```