import{_ as a,c as s,o as i,a4 as e}from"./chunks/framework.nQaBHiNx.js";const E=JSON.parse('{"title":"Frame","description":"","frontmatter":{},"headers":[],"relativePath":"references/frame.md","filePath":"references/frame.md","lastUpdated":null}'),t={name:"references/frame.md"},n=e(`
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
local basalt = require("basalt")
local main = basalt.addFrame() -- This is a Baseframe
local subFrame = main:addFrame() -- This is a Frame
basalt.autoUpdate()