Skip to content

# Frame ​

Frames are elements in Basalt used for organizing user interfaces. Unlike BaseFrames, Frames always require a parent container.

Frame inherit from Container, VisualElement and BasicElement

## Example ​

Click to see example
lua

    local basalt = require("basalt")

    local main = basalt.addFrame() -- This is a Baseframe
    local subFrame = main:addFrame() -- This is a Frame

    basalt.autoUpdate()