What are Frames?

Frames act as containers that provide additional control over nested objects with enhanced functionalities. Frames allow you to build everything from individual elements, to entire spaces and UI surfaces.

Similar to Groups, you can adjust the properties of a frame including its dimensions and visibility.

Frames enable other features including constraints, clipping, align and distribute, and additional State Machine capabilities.

Creating Frames

There are four ways to create Frames in Bezi.

If you have objects selected in your canvas, the Frame will automatically be created around them. If there aren’t any active selections, you can draw a Frame in the viewport.

Using Frames for clipping

Enable clipping on Frames to hide the children objects that extend beyond the Frame’s boundary.

Using constraints on Frames

Constraints dictate how nested objects behave when their parent Frame’s size changes. Constraints can be applied to objects that are inside a Frame.

Align and Distribute within Frames

When one or more nested objects are selected, the align and distribute options appear at the top of the Properties Panel. Objects within their parent Frame can be aligned or distributed relative to to the Frame or each other, allowing for precise and efficient positioning.

There are two align and distribute modes to choose between: Within Frame and Selected Objects.

You can align and distribute nested objects within different Frames at the same time. The selected objects will always respect their own parent Frame.

Using Frames with the State Machine

Frames can have states, and each Frame state can manage multiple nested object’s states. Nested objects listen to the state of the parent Frame, so you can manage all nested objects within the parent Frame’s state machine.