Skip to content

feat(MDS): Dialog component #114

@LagunaElectric

Description

@LagunaElectric

Component: Dialog

Feature Request:
The Dialog component is needed to present information or requests to users in a modal-type overlay. It serves as a crucial element for displaying important messages, confirming user actions, or collecting user input.

Reasons for the Component:

  • Modal Interaction: Dialogs provide a focused and attention-grabbing interface for displaying critical information or requesting user input without losing context from the underlying content.
  • User Feedback and Confirmation: Dialogs allow us to present users with confirmation messages, such as success notifications or error alerts, ensuring that they are aware of important actions and their outcomes.
  • User Input Collection: Dialogs facilitate the collection of user input through forms or specific prompts, enabling interaction with complex or multi-step actions.

Variations and Special Options:
The Dialog component should support the following variations and special options:

  • Customizable Content: Allow the Dialog to render custom content, including text, images, buttons, forms, or any other desired elements.
  • Size Options: Provide options for different dialog sizes to accommodate varying content and design requirements.
  • Overlay and Background: Include options to control the visibility and styling of the overlay and background behind the dialog.
  • Modal Behavior: Implement the ability to control the modal behavior, such as closing on outside click or pressing the Escape key.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions