Then you render the component with the dialog content as the children.
How to use the HTML element <dialog>? In my work, I often create custom UI components or use pre-existing ones. The challenge with such components is that they are often tied to a specific framework, ...