ComponentsDismiss

Dismiss

Let someone remove a message and continue their work.

Example

Draft recovered

The last saved draft is available in your workspace.

Setup

Download the shared Inlay assets once. Then choose HTML, React, or Vue and copy the example above.

Labeled action

Use visible text when a close icon would be ambiguous.

Example

Draft recovered

The last saved draft is available in your workspace.

Usage

FocusAfter closing a message, move focus to its restore control.
MotionThe message leaves using the shared exit duration and respects reduced motion.