JSFiddle - React, Tailwind, and code Playground

HTML

<script src="http://yui.yahooapis.com/3.5.0pr2/build/yui/yui-debug.js"></script>

JavaScript

YUI({
    combine: false,
    filter: 'DEBUG'
}).use('panel', function(Y) {
    Y.one('body').addClass('yui3-skin-sam');
    var panel = new Y.Panel({
        bodyContent: 'body content',
        headerContent: 'header content',
        modal: true
    }).render();

    // Hack to fix multi-modality bug.
    panel.on('destroy', function() {
        this._uiSetHostVisibleModal(false);
    });

    panel.destroy();
});