import{_ as a,o as s,c as e,Q as n}from"./chunks/framework.4313453f.js";const u=JSON.parse('{"title":"Frame","description":"","frontmatter":{},"headers":[],"relativePath":"references/frame.md","filePath":"references/frame.md","lastUpdated":null}'),l={name:"references/frame.md"},o=n(`

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()
local basalt = require("basalt")

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

basalt.autoUpdate()
`,5),p=[o];function t(r,c,i,y,E,m){return s(),e("div",null,p)}const h=a(l,[["render",t]]);export{u as __pageData,h as default};