FragiolaPrimitives
Overlays

Discard draft

An alert dialog before a destructive action: focus starts on the least destructive answer, a press outside does nothing, Escape or Keep editing closes it, and Discard clears the draft.

  • AlertDialog.Root
  • AlertDialog.Trigger
  • AlertDialog.Portal
  • AlertDialog.Backdrop
  • AlertDialog.Popup
  • AlertDialog.Title
  • AlertDialog.Description
  • AlertDialog.Close
  • open
Read the guide
Theme
Framework