Import the custom element, declare it
import { declareCustomElement } from "testnet-maintenance-widget";
declareCustomElement();Then use it in your HTML:
<maintenance-widget nodeurl="http://localhost" show-asleep="false" show-heavy-load="false"></maintenance-widget>