Skip to content

zk-flex ​

A flex container.

Props ​

PropTypeDefaultDescription
classstring|nullnullCSS class(es) merged onto the root element

Undeclared attributes forward to the root element.

Slots ​

SlotDescription
defaultThe items

A <div class="flex">: the layout is in your style (for example mithril-scss). No script.

Examples ​

Row ​

blade
<x-zk-flex>
    <x-zk-flex-item>One</x-zk-flex-item>
    <x-zk-flex-item>Two</x-zk-flex-item>
</x-zk-flex>

Documentation of 3.2.0 , built from c93e21f on 3.2.0 by pipeline #2919741884 on 2026-10-06.