ModalFooter provides a consistent action area for Modal. It accepts primaryAction and optional secondaryAction buttons with responsive layout behavior.
Basics
Pass a primaryAction button to create a simple footer. The footer automatically displays a top border.
Two Actions
Add a secondaryAction for cancel/dismiss patterns. On larger screens, buttons display side-by-side. On smaller screens, they stack vertically with the primary action on top.
Destructive Actions
Use variant="negative" on the primary button for destructive actions.
Loading State
Show a loading state on the primary button while an action is processing.