Skip to content

Added Blazor ModalDialog component

Choose a tag to compare

@DarthPedro DarthPedro released this 01 Mar 22:35
· 55 commits to main since this release

Implemented Modal component with basic modal dialog functionality:

  • Native HTML5 Dialog - Built on element for built-in accessibility, focus trapping, and backdrop support
  • Customizable Header - Title and optional summary text
  • Flexible Content - Render any Blazor content in the modal body
  • Configurable Buttons - Show/hide Cancel and Submit buttons with custom text
  • Size Variants - Small, Medium (default), Large, ExtraLarge
  • Position Variants - Top, Center (default), Bottom of viewport
  • Event Callbacks - OnClose and OnSubmit for handling user actions
  • Keyboard Support - Native Escape key to close