Live demo
Demo source
nv-dialogheader shows a dialog's title (heading) and an optional
subheading for context. Put it in the dialog's header slot. Keep the title
short and say what the dialog is for. You can also replace its content with
your own markup in the default slot.
Anatomy
The dialog anatomy shows the header above the body and footer in the dialog composition.
Usage
The parent design allows a replacement header for custom layouts. Keep a
clear task title and use the subtitle for context. The close control belongs
to nv-dialog, so replacing this header does not remove it; the parent's
undismissable setting controls it. Preserve the dialog's accessible label
when providing custom title markup.