import QtQuick

Rectangle {
    width: 50
    height: 50
    color: "blue"
}
Qt for WebAssembly: qmlfiddle
Output