---
title: DialogSeverity
framework: swiftui
role: symbol
role_heading: Structure
path: swiftui/dialogseverity
---

# DialogSeverity

The severity of an alert or confirmation dialog.

## Declaration

```swift
struct DialogSeverity
```

## Overview

Overview You can use dialog severity to indicate that people need to take extra care when interacting with the dialog, like when an action taken from the dialog permanently deletes data.

## Topics

### Getting severities

- [automatic](swiftui/dialogseverity/automatic.md)
- [standard](swiftui/dialogseverity/standard.md)
- [critical](swiftui/dialogseverity/critical.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
