Custom layouts

This page is an overview of how to create a custom layout.

When to create a custom layout

Only create a custom layout if your UIs can't be expressed by composing the basic layouts that LayoutKit provides.

Layout protocol

Create a custom layout by implementing the Layout protocol.

Please read the documentation of the protocol and its methods carefully.