<ui-container>

Centred, width-constrained page container.

Layout · stable · since 2.0.0 · extends _UIElement

Examples

<ui-container size="sm"><p>Narrow content</p></ui-container>
<ui-container size="xl"><p>Wide content</p></ui-container>

Playground

Generated HTML

Event log

    API

    Attributes and properties

    PropertyAttributeTypeDefaultDescription
    disableddisabledbooleanfalse
    busydata-ui-busybooleanfalse
    sizesizestring"md"Max width: sm, md, lg, xl or full.

    Methods

    None.

    Events

    None.

    Slots

    CSS classes