<ix-dialog>
This webcomponent follows the open-wc recommendation.
Installation
npm i @digital-realty/ix-dialog
Usage
<script type="module">
import '@digital-realty/ix-dialog/ix-dialog.js';
</script>
<ix-dialog open>
<div slot="headline">
Dialog title
</div>
<form slot="content" id="form-id" method="dialog">
A simple dialog with free-form content.
</form>
<div slot="actions">
<button form="form-id">Ok</button>
</div>
</ix-dialog>
In React
<script type="module">
import { IxDialog } from '@digital-realty/ix-dialog/IxDialog'
</script>
Demo and Documentation
Full documentation and demo are available at DLR Component Gallery.