mixin view-dialog 
    +view('dialog', 'Dialog')
        .c-box
            +backdrop(pad=true)
                +dialog('Lorem ipsum')(flat=true)
                    +slot('body')
                        = loremIpsum

        .c-box
            +backdrop(pad=true)
                +dialog('Lorem ipsum')
                    +slot('body')
                        p.u-mt-0= loremIpsum
                        p= loremIpsum
                        p= loremIpsum
                        p= loremIpsum
                        p= loremIpsum

        .c-box
            +backdrop(pad=true)
                +dialog('Lorem ipsum')(scrollable=true)
                    +slot('body')
                        p.u-mt-0= loremIpsum
                        p= loremIpsum
                        p= loremIpsum
                        p= loremIpsum
                        p= loremIpsum

        .c-box
            +backdrop(pad=true)
                +dialog('Tags')(sidebarTitle='#channel')
                    +slot('sidebar')
                        +menu(style={ 'min-width': '10em' })
                            +menu-item(icon='bookmark')= 'Bookmark'
                            +menu-item(icon='tags', selected=true)= 'Tags'
                            +menu-item(icon='hash')= 'achannel'
                    +slot('body')
                        p.u-mt-0= loremIpsum

        .c-box
            +backdrop(pad=true)
                +dialog('#channel')
                    +slot('sidebar')
                        +menu(style={ 'min-width': '10em' })
                            +menu-item(icon='bookmark')= 'Bookmark'
                            +menu-item(icon='tags', selected=true)= 'Tags'
                            +menu-item(icon='hash')= 'achannel'
                    +slot('body')
                        p.u-mt-0= loremIpsum

        .c-box
            +backdrop(pad=true)
                +dialog
                    +slot('header')
                        .l-media__block.l-flex
                            +action-button(quiet=true icon='chevron-left')
                            +action-button(quiet=true icon='chevron-right')
                        .l-media__block.l-media__block--main
                            +div-heading('xl')(class="u-mt-0")= 'Tags'
                    +slot('sidebar')
                        +menu(style={ 'min-width': '10em' })
                            +menu-item(icon='bookmark')= 'Bookmark'
                            +menu-item(icon='tags', selected=true)= 'Tags'
                            +menu-item(icon='hash')= 'achannel'
                    +slot('body')
                        p.u-mt-0= loremIpsum