Share your script with the community.Publish your script on RoScripts so players can find your script.
Create a window
Rayfield:CreateWindow() is the entry point for your UI. Call it once after loading the library.
local Window = Rayfield:CreateWindow({ Name = "Rayfield Example Window", Icon = 0, -- Icon in Topbar. Can use Lucide Icons (string) or Roblox Image (number). 0 to use no icon (default). LoadingTitle = "Rayfield Interface Suite", LoadingSubtitle = "by Sirius", ShowText = "Rayfield", -- for mobile users to unhide Rayfield, change if you'd like Theme = "Default", -- Check https://docs.sirius.menu/rayfield/configuration/themes ToggleUIKeybind = "K", -- The keybind to toggle the UI visibility (string like "K" or Enum.KeyCode) DisableRayfieldPrompts = false, DisableBuildWarnings = false, -- Prevents Rayfield from emitting warnings when the script has a version mismatch with the interface. -- ScriptID = "sid_xxxxxxxxxxxx", -- Your Script ID from developer.sirius.menu — enables analytics, managed keys, and script hosting ConfigurationSaving = { Enabled = true, FolderName = nil, -- Create a custom folder for your hub/game FileName = "Big Hub" }, Discord = { Enabled = false, -- Prompt the user to join your Discord server if their executor supports it Invite = "noinvitelink", -- The Discord invite code, do not include Discord.gg/. E.g. Discord.gg/ABCD would be ABCD RememberJoins = true -- Set this to false to make them join the Discord every time they load it up }, KeySystem = false, -- Set this to true to use our key system KeySettings = { Title = "Untitled", Subtitle = "Key System", Note = "No method of obtaining the key is provided", -- Use this to tell the user how to get a key FileName = "Key", -- It is recommended to use something unique, as other scripts using Rayfield may overwrite your key file SaveKey = true, -- The user's key will be saved, but if you change the key, they will be unable to use your script GrabKeyFromSite = false, -- If this is true, set Key below to the RAW site you would like Rayfield to get the key from Key = {"Hello"} -- List of keys that the system will accept, can be RAW file links (pastebin, github, etc.) or simple strings ("hello", "key22") }})
Options
string
required
The title displayed in the window header.
number | string
Icon shown in the topbar. Pass a Roblox image ID (number), a Lucide icon name (string), or 0 for no icon.
string
Title shown on the loading screen.
string
Subtitle shown on the loading screen.
string
Text shown to mobile users to unhide the UI.
string | table
The theme to apply. Pass a theme identifier string or a custom theme table. See Themes.
string | Enum.KeyCode
The key that toggles UI visibility.
boolean
Suppresses built-in Rayfield prompts.
boolean
Prevents Rayfield from emitting warnings when there is a version mismatch between your script and the interface.
string
Your Script ID from the Sirius Developer Platform. Connects your script to the platform for analytics, managed keys, and hosted script delivery. Create a project at developer.sirius.menu to get your Script ID.
object
Controls automatic configuration saving.
Show ConfigurationSaving options
boolean
Enables configuration saving.
string | nil
Custom folder name for saved config files. Leave nil to use the default.
string
The name of the saved config file.
object
Prompts the user to join your Discord server on supported executors.
Show Discord options
boolean
Enables the Discord join prompt.
string
Your Discord invite code, without discord.gg/. For example, discord.gg/ABCD → "ABCD".
boolean
When true, the user is only prompted once. When false, they are prompted every load.
The key system UI loads a detectable Roblox model. Secure Mode blocks the key UI entirely. Users without a saved key from a previous session won’t be able to load the script.
boolean
Enables the key system. Configure it with KeySettings.
Rayfield’s key system checks the key inside your script, against the keys in Key or the file it links to. Forge checks keys on its servers, and players get them from your ad links or your store.
object
Settings for the key system. Only used when KeySystem is true.
Show KeySettings options
string
Title displayed on the key prompt.
string
Subtitle displayed on the key prompt.
string
Instructions for obtaining the key, shown to the user.
string
File name used to save the key locally. Use something unique to avoid conflicts with other Rayfield scripts.
boolean
When true, the user’s key is saved so they don’t need to re-enter it. Note: changing the key will invalidate saved keys.
boolean
When true, Rayfield fetches the key from the URL specified in Key.
table
A list of accepted keys (strings), or RAW file URLs (Pastebin, GitHub, etc.) when GrabKeyFromSite is true.
Looking for server-validated keys with ad-gated delivery? The Sirius Developer Platform offers a managed key system with user-hash locking, per-key watermarks, and ad provider integration — available on all plans including Free.
Create a tab
Tabs are the top-level sections inside a window. Each tab can hold its own elements.
local Tab = Window:CreateTab("Tab Example", 4483362458) -- Title, Image
Lucide icon support
You can use a Lucide icon name in place of a Roblox image ID.
local Tab = Window:CreateTab("Tab Example", "rewind")
Lucide icons and Roblox image IDs are detectable by game anti-cheats. If you need your script to be undetectable, use getcustomasset() instead. See Secure Mode for details.
Create a section
Sections add a labelled group header inside a tab.
local Section = Tab:CreateSection("Section Example")
Update a section
Section:Set("Section Example")
Create a divider
Dividers add a horizontal rule inside a tab to visually separate content.
local Divider = Tab:CreateDivider()
Update a divider
Divider:Set(false) -- Whether the divider's visibility is to be set to true or false.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Sirius Docs","colors":{"primary":"#0088FF","light":"#3399FF","dark":"#0070D6"},"logo":{"light":"https://mintcdn.com/sirius-b451bfde/i5Ltpj53aNl_8MQt/logo/light.svg?fit=max\u0026auto=format\u0026n=i5Ltpj53aNl_8MQt\u0026q=85\u0026s=54c5dbeffb5f92b996b229f0af6d91e6","dark":"https://mintcdn.com/sirius-b451bfde/i5Ltpj53aNl_8MQt/logo/dark.svg?fit=max\u0026auto=format\u0026n=i5Ltpj53aNl_8MQt\u0026q=85\u0026s=c2b0c69bc3745e87216955024b58daff"},"favicon":"https://mintcdn.com/sirius-b451bfde/t1ypL1f4YGzGeawd/favicon.svg?fit=max\u0026auto=format\u0026n=t1ypL1f4YGzGeawd\u0026q=85\u0026s=6936b3b142405ae09e1f5c214ae0bb32","appearance":{"default":"dark","strict":true},"background":{"color":{"dark":"#0A0A0B"}},"navbar":{"primary":{"type":"button","label":"Discord","href":"https://discord.sirius.menu"}},"footer":{"socials":{"github":"https://github.com/SiriusSoftwareLtd"}},"fonts":{"family":"Unica77LL","weight":400,"source":"fonts/Unica77LL-Regular.woff2","format":"woff2"},"icons":{"library":"lucide"},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Discord","icon":"discord","href":"https://discord.sirius.menu"},{"anchor":"GitHub","icon":"github","href":"https://github.com/SiriusSoftwareLtd"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"sirius-b451bfde","hasAudioNarration":false,"actualSubdomain":"sirius-b451bfde","customDomains":["docs.sirius.menu"],"gitSource":{"type":"github","owner":"siriussoftwareltd","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"edits":true,"issues":true,"thumbs":false},"entitlements":{},"buildId":"6b0caabedba3707ae46cff10","clientVersion":"0.0.4377","searchFilterCounts":[{"language":"default","tag":"Rayfield Gen2","count":26},{"language":"default","tag":"RoScripts","count":17},{"language":"default","tag":"Elements","count":16},{"language":"default","tag":"Rayfield (2022)","count":11},{"language":"default","tag":"Endpoints","count":8},{"language":"default","tag":"Guides","count":7},{"language":"default","tag":"Get started","count":5},{"language":"default","tag":"Configuration","count":5},{"language":"default","tag":"Getting started","count":4},{"language":"default","tag":"Feedback","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":true,"enableContextualStarterQuestions":true,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"[email protected]","showHelpButton":true}},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":"@font-face{font-family:'Unica77';src:url('/fonts/Unica77LL-Medium.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:'Unica77';src:url('/fonts/Unica77LL-Light.woff2') format('woff2');font-weight:300;font-style:normal;font-display:swap}aside p,aside button>p,aside nav>div>p,aside nav div>p{font-size:0.7rem!important;font-weight:600!important;letter-spacing:0.07em!important;text-transform:uppercase!important;opacity:0.45!important}aside a{font-size:0.875rem!important;padding-left:0.5rem!important}h1,.prose h1{font-weight:500!important;letter-spacing:-0.005em!important}h2,h3,h4,.prose h2,.prose h3,.prose h4{font-weight:500!important;letter-spacing:0!important}header a[href=\"https://discord.sirius.menu\"]{background-color:#1c1c1f!important;border:1px solid #2a2a2e!important;border-radius:0.6rem!important;color:#ededed!important}header a[href=\"https://discord.sirius.menu\"] *{background-color:transparent!important;box-shadow:none!important}header a[href=\"https://discord.sirius.menu\"]:hover{background-color:#26262a!important;border-color:#34343a!important}@font-face{font-family:\"Unbounded\";src:url(\"/fonts/unbounded-600.woff2\") format(\"woff2\");font-weight:600;font-display:swap}a.fg-card{position:relative;display:flex;align-items:center;min-height:178px;margin:0 0 1.75rem;overflow:hidden;border-radius:20px;background:#161616;color:#ededed;text-decoration:none!important;border:0!important;container-type:inline-size}a.fg-card span[data-as=\"p\"]{display:contents}.fg-card-l{position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start;max-width:21rem;padding:24px 28px}.fg-card-brand{display:inline-flex;align-items:center;gap:8px;color:#ededed}.fg-card-mark{width:13px;height:15px}.fg-card-word{font-family:\"Unbounded\", Inter, sans-serif;font-weight:600;font-size:13px;letter-spacing:-0.01em}.fg-card-title{margin-top:12px;font-size:1.3rem;line-height:1.25;letter-spacing:-0.015em;color:#ededed}.fg-card-sub{margin-top:6px;font-size:0.85rem;line-height:1.45;color:#939393}.fg-card-go{display:inline-flex;align-items:center;gap:6px;height:32px;margin-top:16px;padding:0 14px;border-radius:980px;background:#ffffff;color:#0a0a0a;font-size:0.8rem;font-weight:500}.fg-card-art{position:absolute;top:22px;right:-40px;display:flex;flex-direction:column;gap:10px;width:360px;pointer-events:none;-webkit-mask-image:linear-gradient(90deg, transparent 0, #000 35%);mask-image:linear-gradient(90deg, transparent 0, #000 35%)}.fg-card-row{display:flex;align-items:center;gap:12px;height:42px;padding:0 14px;border-radius:12px;background:#1e1e1e;font-size:13px;color:#c6c6c6;white-space:nowrap}.fg-card-r2{margin-left:36px}.fg-card-r3{margin-left:12px}.fg-card-r3 img{width:26px;height:26px;margin:0!important;border-radius:7px}.fg-card-ic{display:grid;color:#939393}.fg-card-ic svg{width:16px;height:16px}.fg-card-mono{font-family:\"JetBrains Mono\", ui-monospace, monospace;font-size:12px;color:#ededed}.fg-card-chip{display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:980px;background:#282828;color:#ededed;font-size:12px}.fg-card-q{margin-left:auto;color:#7e7e7e}.fg-card-amt{margin-left:auto;color:#ededed}@container (max-width: 640px){.fg-card-art{display:none}}a.sv-banner{position:relative;display:flex;align-items:center;flex-wrap:wrap;gap:0.55rem 1rem;margin:0 0 1.75rem;padding:0.8rem 0.85rem 0.8rem 1.15rem;overflow:hidden;background:linear-gradient(100deg, #17171a 0%, #121214 45%, #0f0f11 100%);border:1px solid transparent;border-radius:0.85rem;text-decoration:none!important}a.sv-banner::before{content:\"\";position:absolute;top:50%;left:0;width:15rem;height:15rem;transform:translate(-40%, -50%);background:radial-gradient(\n circle,\n rgba(255, 255, 255, 0.16) 0%,\n rgba(255, 255, 255, 0.06) 34%,\n rgba(255, 255, 255, 0) 66%\n );pointer-events:none;animation:sv-banner-bloom 7s ease-in-out infinite}.sv-banner-mark,.sv-banner-copy,.sv-banner-cta{position:relative}.sv-banner-mark{flex:none;display:grid;place-items:center;color:#ffffff}.sv-banner-mark svg{display:block;width:auto;height:1.5rem;filter:drop-shadow(0 0 12px rgba(255, 255, 255, 0.45))}.sv-banner-copy{flex:1 1 16rem;display:flex;flex-direction:column;gap:0.15rem;min-width:0}.sv-banner-title,.sv-banner-title>span:not(.sv-banner-badge){display:inline-flex;align-items:center;flex-wrap:wrap;gap:0.85rem}.sv-banner-title{color:#f4f4f5;font-size:0.85rem;font-weight:500;letter-spacing:-0.005em}.sv-banner-badge{color:#a9a9b2;font-size:0.68rem;font-weight:400;letter-spacing:0.01em;padding:0.1rem 0.42rem;background:rgba(255, 255, 255, 0.07);border-radius:0.35rem}.sv-banner-sub{color:#90909a;font-size:0.79rem;line-height:1.4}.sv-banner-cta,.sv-banner-cta>span:not(.sv-banner-arrow){display:inline-flex;align-items:center;gap:0.35rem}.sv-banner-cta{flex:none;padding:0.42rem 0.8rem;color:#0a0a0a!important;font-size:0.79rem;font-weight:500;white-space:nowrap;background:#ffffff;border-radius:0.55rem}@keyframes sv-banner-bloom{0%,100%{opacity:0.75;transform:translate(-40%, -50%) scale(1)}50%{opacity:1;transform:translate(-40%, -50%) scale(1.08)}}@media (prefers-reduced-motion: reduce){a.sv-banner::before{animation:none}}a.rg2-banner{position:relative;display:flex;align-items:center;flex-wrap:wrap;gap:0.55rem 1rem;margin:0 0 0.6rem;padding:0.8rem 0.85rem 0.8rem 1.15rem;overflow:hidden;background:linear-gradient(100deg, #0e1a26 0%, #0c141d 45%, #0b0f14 100%);border:1px solid rgba(0, 136, 255, 0.22);border-radius:0.85rem;text-decoration:none!important}a.rg2-banner::before{content:\"\";position:absolute;top:50%;left:0;width:15rem;height:15rem;transform:translate(-40%, -50%);background:radial-gradient(\n circle,\n rgba(0, 136, 255, 0.28) 0%,\n rgba(0, 136, 255, 0.1) 34%,\n rgba(0, 136, 255, 0) 66%\n );pointer-events:none}.rg2-banner-mark,.rg2-banner-copy,.rg2-banner-cta{position:relative}.rg2-banner-mark{flex:none;display:grid;place-items:center;color:#3399ff}.rg2-banner-mark svg{display:block;width:auto;height:1.4rem;filter:drop-shadow(0 0 12px rgba(0, 136, 255, 0.55))}.rg2-banner-copy{flex:1 1 16rem;display:flex;flex-direction:column;gap:0.15rem;min-width:0}.rg2-banner-title,.rg2-banner-title>span:not(.rg2-banner-badge){display:inline-flex;align-items:center;flex-wrap:wrap;gap:0.85rem}.rg2-banner-title{color:#f4f4f5;font-size:0.85rem;font-weight:500;letter-spacing:-0.005em}.rg2-banner-badge{color:#7cc0ff;font-size:0.68rem;font-weight:400;letter-spacing:0.01em;padding:0.1rem 0.42rem;background:rgba(0, 136, 255, 0.14);border-radius:0.35rem}.rg2-banner-sub{color:#8d95a0;font-size:0.79rem;line-height:1.4}.rg2-banner-cta,.rg2-banner-cta>span:not(.rg2-banner-arrow){display:inline-flex;align-items:center;gap:0.35rem}.rg2-banner-cta{flex:none;padding:0.42rem 0.8rem;color:#9ecdff!important;font-size:0.79rem;font-weight:500;white-space:nowrap;background:rgba(0, 136, 255, 0.1);border:1px solid rgba(0, 136, 255, 0.35);border-radius:0.55rem}"}]}
{"page":{"pagePath":"rayfield/windows","slug":"/rayfield/windows","pageMetadata":{"title":"Rayfield windows, tabs and sections","sidebarTitle":"Windows","description":"How to create and manage windows, tabs, and sections in Rayfield.","href":"/rayfield/windows"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"How to create and manage windows, tabs, and sections in Rayfield.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,hr:`hr`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Note,ResponseField,Tip,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.a,{href:`/rayfield-gen2/`,className:`rg2-banner`,children:[_jsx(`span`,{className:`rg2-banner-mark`,\"aria-hidden\":`true`,children:_jsxs(`svg`,{viewBox:`0 0 322.75 322.75`,fill:`currentColor`,children:[_jsx(`path`,{d:`M166.45,37.98l132.88,70.28,23.42,62.87-99.18-33.25c-14.38-4.82-25.82-15.89-31.12-30.11l-26-69.79Z`}),_jsx(`path`,{d:`M284.76,166.45l-70.28,132.88-62.87,23.42,33.25-99.18c4.82-14.38,15.89-25.82,30.11-31.12l69.79-26Z`}),_jsx(`path`,{d:`M156.3,284.76L23.42,214.48,0,151.61l99.18,33.25c14.38,4.82,25.82,15.89,31.12,30.11l26,69.79Z`}),_jsx(`path`,{d:`M37.99,156.3L108.27,23.42,171.14,0l-33.25,99.18c-4.82,14.38-15.89,25.82-30.11,31.12l-69.79,26Z`})]})}),_jsxs(`span`,{className:`rg2-banner-copy`,children:[_jsx(`span`,{className:`rg2-banner-title`,children:_jsxs(_components.p,{children:[`Rayfield Gen2 is out\n`,_jsx(`span`,{className:`rg2-banner-badge`,children:`New`})]})}),_jsx(`span`,{className:`rg2-banner-sub`,children:`A ground-up rebuild — faster, undetectable by design, and actively developed. Use it for new scripts instead of Rayfield (2022).`})]}),_jsx(`span`,{className:`rg2-banner-cta`,children:_jsxs(_components.p,{children:[`Read the Gen2 docs\n`,_jsx(`span`,{className:`rg2-banner-arrow`,\"aria-hidden\":`true`,children:`→`})]})})]}),`\n`,_jsxs(`a`,{href:`https://forge.sirius.menu/roblox-key-system?utm_source=rayfield-docs\u0026utm_medium=referral\u0026utm_campaign=docs_card`,target:`_blank`,rel:`noopener noreferrer`,className:`fg-card`,children:[_jsxs(`span`,{className:`fg-card-l`,children:[_jsxs(`span`,{className:`fg-card-brand`,children:[_jsxs(`svg`,{className:`fg-card-mark`,viewBox:`0 0 1315.24 1546.03`,fill:`currentColor`,\"aria-hidden\":`true`,children:[_jsx(`path`,{d:`m1046.7,106.38c0,.13-.13.26-.13.26l-14.81,43.14-32.61,94.85-.39-.52-59.9,188.39c-23.77-3.9-47.94-5.85-72.24-5.85-53.01,0-106.93,9.48-159.42,29.36-87.44,33.26-154.88,104.59-183.2,193.72l-147.47,463.71c-152.66-25.08-288.18-128.5-347.17-283.5C9.48,777.45,0,723.54,0,670.52c0-180.86,110.18-351.32,289.35-419.41L929.89,6.86l2.34-.91c.39-.13.78-.26,1.17-.39,65.22-24.29,129.67,35.08,113.3,100.83Z`}),_jsx(`path`,{d:`m268.55,1439.64c0-.13.13-.26.13-.26l14.81-43.14,32.61-94.85.39.52,59.9-188.39c23.77,3.9,47.94,5.85,72.24,5.85,53.01,0,106.93-9.48,159.42-29.36,87.44-33.26,154.88-104.59,183.2-193.72l147.47-463.71c152.66,25.08,288.18,128.5,347.17,283.5,19.88,52.49,29.36,106.41,29.36,159.42,0,180.86-110.18,351.32-289.35,419.41l-640.54,244.26-2.34.91c-.39.13-.78.26-1.17.39-65.22,24.29-129.67-35.08-113.3-100.83Z`})]}),_jsx(`span`,{className:`fg-card-word`,children:`Forge`})]}),_jsx(`span`,{className:`fg-card-title`,children:`A key system for your script`}),_jsx(`span`,{className:`fg-card-sub`,children:`Players earn keys through ad links or buy them in your own store.`}),_jsx(`span`,{className:`fg-card-go`,children:_jsxs(_components.p,{children:[`Open Forge\n`,_jsx(`span`,{\"aria-hidden\":`true`,children:`→`})]})})]}),_jsxs(`span`,{className:`fg-card-art`,\"aria-hidden\":`true`,children:[_jsxs(`span`,{className:`fg-card-row`,children:[_jsx(`span`,{className:`fg-card-ic`,children:_jsx(`svg`,{width:`16`,height:`16`,xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`none`,children:_jsx(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M1 12C1 8.68629 3.68629 6 7 6C8.93293 6 10.6525 6.91485 11.7486 8.33211C11.8462 8.4583 11.9578 8.5 12.0315 8.5H20.0261C20.551 8.5 21.0482 8.7356 21.3805 9.14183L22.8124 10.8918C23.3398 11.5365 23.3398 12.4635 22.8124 13.1082L21.3805 14.8582C21.0482 15.2644 20.551 15.5 20.0261 15.5H18.2868C17.9588 15.5 17.6374 15.4078 17.3593 15.234L16.1325 14.4672C16.0514 14.4166 15.9486 14.4166 15.8675 14.4672L14.6407 15.234C14.3626 15.4078 14.0412 15.5 13.7132 15.5H12.0315C11.9578 15.5 11.8462 15.5417 11.7486 15.6679C10.6525 17.0851 8.93293 18 7 18C3.68629 18 1 15.3137 1 12ZM5.5 12C5.5 11.1716 6.17157 10.5 7 10.5C7.82843 10.5 8.5 11.1716 8.5 12C8.5 12.8284 7.82843 13.5 7 13.5C6.17157 13.5 5.5 12.8284 5.5 12Z`,fill:`currentColor`})})}),_jsx(`span`,{className:`fg-card-mono`,children:`FORGE-8K2Q-T7XM-4HDA`}),_jsx(`span`,{className:`fg-card-chip`,children:`Pro`}),_jsx(`span`,{className:`fg-card-q`,children:`30 days`})]}),_jsxs(`span`,{className:`fg-card-row fg-card-r2`,children:[_jsx(`span`,{className:`fg-card-ic`,children:_jsx(`svg`,{width:`16`,height:`16`,xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`none`,children:_jsx(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M3.88772 5.58364C3.97569 4.13213 5.1785 3 6.63268 3H17.3678C18.8219 3 20.0248 4.13212 20.1127 5.58364L20.8703 18.0836C20.9661 19.6649 19.7095 21 18.1253 21H5.8751C4.2909 21 3.0343 19.6649 3.13014 18.0836L3.88772 5.58364ZM9.75023 8C9.75023 7.58579 9.41444 7.25 9.00023 7.25C8.58602 7.25 8.25023 7.58579 8.25023 8C8.25023 10.0711 9.92916 11.75 12.0002 11.75C14.0713 11.75 15.7502 10.0711 15.7502 8C15.7502 7.58579 15.4144 7.25 15.0002 7.25C14.586 7.25 14.2502 7.58579 14.2502 8C14.2502 9.24264 13.2429 10.25 12.0002 10.25C10.7576 10.25 9.75023 9.24264 9.75023 8Z`,fill:`currentColor`})})}),_jsxs(_components.p,{children:[`Pro, 1 month\n`,_jsx(`span`,{className:`fg-card-amt`,children:`$4.99`})]})]}),_jsxs(`span`,{className:`fg-card-row fg-card-r3`,children:[_jsx(`img`,{src:`https://mintcdn.com/sirius-b451bfde/0qyKzOkxffDjAtT9/images/forge/workink.png?fit=max\u0026auto=format\u0026n=0qyKzOkxffDjAtT9\u0026q=85\u0026s=5205d1be082a2f403c4aecf16ab06551`,alt:``,width:`26`,height:`26`,noZoom:true,\"data-og-width\":`56`,\"data-og-height\":`56`,\"data-path\":`images/forge/workink.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/sirius-b451bfde/0qyKzOkxffDjAtT9/images/forge/workink.png?w=280\u0026fit=max\u0026auto=format\u0026n=0qyKzOkxffDjAtT9\u0026q=85\u0026s=bdf93aad7bf9a7a005ccc8a28ade08e8 280w, https://mintcdn.com/sirius-b451bfde/0qyKzOkxffDjAtT9/images/forge/workink.png?w=560\u0026fit=max\u0026auto=format\u0026n=0qyKzOkxffDjAtT9\u0026q=85\u0026s=37c5561a87a6dc58bcb059eb9ab0f4df 560w, https://mintcdn.com/sirius-b451bfde/0qyKzOkxffDjAtT9/images/forge/workink.png?w=840\u0026fit=max\u0026auto=format\u0026n=0qyKzOkxffDjAtT9\u0026q=85\u0026s=3ee090ced7a2d6e027de8c5d484e6c89 840w, https://mintcdn.com/sirius-b451bfde/0qyKzOkxffDjAtT9/images/forge/workink.png?w=1100\u0026fit=max\u0026auto=format\u0026n=0qyKzOkxffDjAtT9\u0026q=85\u0026s=3b9f2edc62053c87f6a7eff8e39b4626 1100w, https://mintcdn.com/sirius-b451bfde/0qyKzOkxffDjAtT9/images/forge/workink.png?w=1650\u0026fit=max\u0026auto=format\u0026n=0qyKzOkxffDjAtT9\u0026q=85\u0026s=10eb6636efb81efd55ec229edbea9ffc 1650w, https://mintcdn.com/sirius-b451bfde/0qyKzOkxffDjAtT9/images/forge/workink.png?w=2500\u0026fit=max\u0026auto=format\u0026n=0qyKzOkxffDjAtT9\u0026q=85\u0026s=7f372f970988da48842ef6cb24bbff08 2500w`}),_jsx(`img`,{src:`https://mintcdn.com/sirius-b451bfde/0qyKzOkxffDjAtT9/images/forge/lootlabs.png?fit=max\u0026auto=format\u0026n=0qyKzOkxffDjAtT9\u0026q=85\u0026s=d334c1c19eeb6b9aa37c0bd706daa9b3`,alt:``,width:`26`,height:`26`,noZoom:true,\"data-og-width\":`56`,\"data-og-height\":`56`,\"data-path\":`images/forge/lootlabs.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/sirius-b451bfde/0qyKzOkxffDjAtT9/images/forge/lootlabs.png?w=280\u0026fit=max\u0026auto=format\u0026n=0qyKzOkxffDjAtT9\u0026q=85\u0026s=ba0a1c5221d53245b9646242947e4dbf 280w, https://mintcdn.com/sirius-b451bfde/0qyKzOkxffDjAtT9/images/forge/lootlabs.png?w=560\u0026fit=max\u0026auto=format\u0026n=0qyKzOkxffDjAtT9\u0026q=85\u0026s=619a36b102efbd6ca01e07030b625695 560w, https://mintcdn.com/sirius-b451bfde/0qyKzOkxffDjAtT9/images/forge/lootlabs.png?w=840\u0026fit=max\u0026auto=format\u0026n=0qyKzOkxffDjAtT9\u0026q=85\u0026s=abe9707cab3fdbd1333d242793dc4557 840w, https://mintcdn.com/sirius-b451bfde/0qyKzOkxffDjAtT9/images/forge/lootlabs.png?w=1100\u0026fit=max\u0026auto=format\u0026n=0qyKzOkxffDjAtT9\u0026q=85\u0026s=12bfaac1afedecd0ff5cc25ef38037b7 1100w, https://mintcdn.com/sirius-b451bfde/0qyKzOkxffDjAtT9/images/forge/lootlabs.png?w=1650\u0026fit=max\u0026auto=format\u0026n=0qyKzOkxffDjAtT9\u0026q=85\u0026s=24a69357cae58d50954cb7cfd468319e 1650w, https://mintcdn.com/sirius-b451bfde/0qyKzOkxffDjAtT9/images/forge/lootlabs.png?w=2500\u0026fit=max\u0026auto=format\u0026n=0qyKzOkxffDjAtT9\u0026q=85\u0026s=fdce00dced1e1a2a8b505cee40c6956c 2500w`}),_jsx(`img`,{src:`https://mintcdn.com/sirius-b451bfde/0qyKzOkxffDjAtT9/images/forge/linkvertise.png?fit=max\u0026auto=format\u0026n=0qyKzOkxffDjAtT9\u0026q=85\u0026s=98095d6746cfc0cd8a8305951e9ebdf2`,alt:``,width:`26`,height:`26`,noZoom:true,\"data-og-width\":`56`,\"data-og-height\":`56`,\"data-path\":`images/forge/linkvertise.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/sirius-b451bfde/0qyKzOkxffDjAtT9/images/forge/linkvertise.png?w=280\u0026fit=max\u0026auto=format\u0026n=0qyKzOkxffDjAtT9\u0026q=85\u0026s=80f4f2be54165b22b760056b19ca52ee 280w, https://mintcdn.com/sirius-b451bfde/0qyKzOkxffDjAtT9/images/forge/linkvertise.png?w=560\u0026fit=max\u0026auto=format\u0026n=0qyKzOkxffDjAtT9\u0026q=85\u0026s=8cf975493ec0232046c32af63a956c78 560w, https://mintcdn.com/sirius-b451bfde/0qyKzOkxffDjAtT9/images/forge/linkvertise.png?w=840\u0026fit=max\u0026auto=format\u0026n=0qyKzOkxffDjAtT9\u0026q=85\u0026s=6a052e31fa49b015059f4f6a30e9d8f0 840w, https://mintcdn.com/sirius-b451bfde/0qyKzOkxffDjAtT9/images/forge/linkvertise.png?w=1100\u0026fit=max\u0026auto=format\u0026n=0qyKzOkxffDjAtT9\u0026q=85\u0026s=256b5d23bdc4bb926e629830f38b7f02 1100w, https://mintcdn.com/sirius-b451bfde/0qyKzOkxffDjAtT9/images/forge/linkvertise.png?w=1650\u0026fit=max\u0026auto=format\u0026n=0qyKzOkxffDjAtT9\u0026q=85\u0026s=247a04de80ac801e46b5e04b072974a7 1650w, https://mintcdn.com/sirius-b451bfde/0qyKzOkxffDjAtT9/images/forge/linkvertise.png?w=2500\u0026fit=max\u0026auto=format\u0026n=0qyKzOkxffDjAtT9\u0026q=85\u0026s=81c435422d798bcb3c6bcf5472d06ac0 2500w`}),_jsxs(_components.p,{children:[`Ad links\n`,_jsx(`span`,{className:`fg-card-q`,children:`2 checkpoints`})]})]})]})]}),`\n`,_jsxs(Note,{children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Share your script with the community.`})}),_jsxs(_components.p,{children:[`Publish your script on `,_jsx(_components.a,{href:`https://roscripts.io`,children:`RoScripts`}),` so players can find your script.`]})]}),`\n`,_jsx(Heading,{level:`2`,id:`create-a-window`,children:`Create a window`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`Rayfield:CreateWindow()`}),` is the entry point for your UI. Call it once after loading the library.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`38`,language:`lua`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`lua`,children:_jsxs(_components.code,{language:`lua`,numberOfLines:`38`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`local`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Window`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` Rayfield`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`CreateWindow`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Name`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Rayfield Example Window\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Icon`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`-- Icon in Topbar. Can use Lucide Icons (string) or Roblox Image (number). 0 to use no icon (default).`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` LoadingTitle`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Rayfield Interface Suite\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` LoadingSubtitle`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"by Sirius\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` ShowText`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Rayfield\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`-- for mobile users to unhide Rayfield, change if you'd like`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Theme`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Default\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`-- Check https://docs.sirius.menu/rayfield/configuration/themes`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` ToggleUIKeybind`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"K\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`-- The keybind to toggle the UI visibility (string like \"K\" or Enum.KeyCode)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` DisableRayfieldPrompts`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` DisableBuildWarnings`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`-- Prevents Rayfield from emitting warnings when the script has a version mismatch with the interface.`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` -- ScriptID = \"sid_xxxxxxxxxxxx\", -- Your Script ID from developer.sirius.menu — enables analytics, managed keys, and script hosting`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` ConfigurationSaving`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Enabled`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` FolderName`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` nil`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`-- Create a custom folder for your hub/game`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` FileName`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Big Hub\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Discord`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Enabled`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`-- Prompt the user to join your Discord server if their executor supports it`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Invite`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"noinvitelink\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`-- The Discord invite code, do not include Discord.gg/. E.g. Discord.gg/ABCD would be ABCD`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` RememberJoins`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` -- Set this to false to make them join the Discord every time they load it up`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` KeySystem`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`-- Set this to true to use our key system`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` KeySettings`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Title`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Untitled\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Subtitle`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Key System\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Note`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"No method of obtaining the key is provided\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`-- Use this to tell the user how to get a key`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` FileName`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`-- It is recommended to use something unique, as other scripts using Rayfield may overwrite your key file`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` SaveKey`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`-- The user's key will be saved, but if you change the key, they will be unable to use your script`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` GrabKeyFromSite`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`-- If this is true, set Key below to the RAW site you would like Rayfield to get the key from`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Key`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Hello\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`} `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`-- List of keys that the system will accept, can be RAW file links (pastebin, github, etc.) or simple strings (\"hello\", \"key22\")`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`})`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`options`,children:`Options`}),`\n`,_jsx(ResponseField,{name:`Name`,type:`string`,required:true,id:`param-name`,children:_jsx(_components.p,{children:`The title displayed in the window header.`})}),`\n`,_jsx(ResponseField,{name:`Icon`,type:`number | string`,id:`param-icon`,children:_jsxs(_components.p,{children:[`Icon shown in the topbar. Pass a Roblox image ID (number), a Lucide icon name (string), or `,_jsx(_components.code,{children:`0`}),` for no icon.`]})}),`\n`,_jsx(ResponseField,{name:`LoadingTitle`,type:`string`,id:`param-loading-title`,children:_jsx(_components.p,{children:`Title shown on the loading screen.`})}),`\n`,_jsx(ResponseField,{name:`LoadingSubtitle`,type:`string`,id:`param-loading-subtitle`,children:_jsx(_components.p,{children:`Subtitle shown on the loading screen.`})}),`\n`,_jsx(ResponseField,{name:`ShowText`,type:`string`,id:`param-show-text`,children:_jsx(_components.p,{children:`Text shown to mobile users to unhide the UI.`})}),`\n`,_jsx(ResponseField,{name:`Theme`,type:`string | table`,id:`param-theme`,children:_jsxs(_components.p,{children:[`The theme to apply. Pass a theme identifier string or a custom theme table. See `,_jsx(_components.a,{href:`/rayfield/themes`,children:`Themes`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`ToggleUIKeybind`,type:`string | Enum.KeyCode`,id:`param-toggle-ui-keybind`,children:_jsx(_components.p,{children:`The key that toggles UI visibility.`})}),`\n`,_jsx(ResponseField,{name:`DisableRayfieldPrompts`,type:`boolean`,id:`param-disable-rayfield-prompts`,children:_jsx(_components.p,{children:`Suppresses built-in Rayfield prompts.`})}),`\n`,_jsx(ResponseField,{name:`DisableBuildWarnings`,type:`boolean`,id:`param-disable-build-warnings`,children:_jsx(_components.p,{children:`Prevents Rayfield from emitting warnings when there is a version mismatch between your script and the interface.`})}),`\n`,_jsx(ResponseField,{name:`ScriptID`,type:`string`,id:`param-script-id`,children:_jsxs(_components.p,{children:[`Your Script ID from the `,_jsx(_components.a,{href:`https://developer.sirius.menu`,children:`Sirius Developer Platform`}),`. Connects your script to the platform for analytics, managed keys, and hosted script delivery. Create a project at `,_jsx(_components.a,{href:`https://developer.sirius.menu`,children:`developer.sirius.menu`}),` to get your Script ID.`]})}),`\n`,_jsxs(ResponseField,{name:`ConfigurationSaving`,type:`object`,id:`param-configuration-saving`,children:[_jsx(_components.p,{children:`Controls automatic configuration saving.`}),_jsxs(Expandable,{title:`ConfigurationSaving options`,children:[_jsx(ResponseField,{name:`Enabled`,type:`boolean`,id:`param-enabled`,children:_jsx(_components.p,{children:`Enables configuration saving.`})}),_jsx(ResponseField,{name:`FolderName`,type:`string | nil`,id:`param-folder-name`,children:_jsxs(_components.p,{children:[`Custom folder name for saved config files. Leave `,_jsx(_components.code,{children:`nil`}),` to use the default.`]})}),_jsx(ResponseField,{name:`FileName`,type:`string`,id:`param-file-name`,children:_jsx(_components.p,{children:`The name of the saved config file.`})})]})]}),`\n`,_jsxs(ResponseField,{name:`Discord`,type:`object`,id:`param-discord`,children:[_jsx(_components.p,{children:`Prompts the user to join your Discord server on supported executors.`}),_jsxs(Expandable,{title:`Discord options`,children:[_jsx(ResponseField,{name:`Enabled`,type:`boolean`,id:`param-enabled-1`,children:_jsx(_components.p,{children:`Enables the Discord join prompt.`})}),_jsx(ResponseField,{name:`Invite`,type:`string`,id:`param-invite`,children:_jsxs(_components.p,{children:[`Your Discord invite code, without `,_jsx(_components.code,{children:`discord.gg/`}),`. For example, `,_jsx(_components.code,{children:`discord.gg/ABCD`}),` → `,_jsx(_components.code,{children:`\"ABCD\"`}),`.`]})}),_jsx(ResponseField,{name:`RememberJoins`,type:`boolean`,id:`param-remember-joins`,children:_jsxs(_components.p,{children:[`When `,_jsx(_components.code,{children:`true`}),`, the user is only prompted once. When `,_jsx(_components.code,{children:`false`}),`, they are prompted every load.`]})})]})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`The key system UI loads a detectable Roblox model. `,_jsx(_components.a,{href:`/rayfield/secure-mode`,children:`Secure Mode`}),` blocks the key UI entirely. Users without a saved key from a previous session won’t be able to load the script.`]})}),`\n`,_jsx(ResponseField,{name:`KeySystem`,type:`boolean`,id:`param-key-system`,children:_jsxs(_components.p,{children:[`Enables the key system. Configure it with `,_jsx(_components.code,{children:`KeySettings`}),`.`]})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Rayfield’s key system checks the key inside your script, against the keys in `,_jsx(_components.code,{children:`Key`}),` or the file it links to. `,_jsx(_components.a,{href:`https://forge.sirius.menu/roblox-key-system?utm_source=rayfield-docs\u0026utm_medium=referral\u0026utm_campaign=key_system`,children:`Forge`}),` checks keys on its servers, and players get them from your ad links or your store.`]})}),`\n`,_jsxs(ResponseField,{name:`KeySettings`,type:`object`,id:`param-key-settings`,children:[_jsxs(_components.p,{children:[`Settings for the key system. Only used when `,_jsx(_components.code,{children:`KeySystem`}),` is `,_jsx(_components.code,{children:`true`}),`.`]}),_jsxs(Expandable,{title:`KeySettings options`,children:[_jsx(ResponseField,{name:`Title`,type:`string`,id:`param-title`,children:_jsx(_components.p,{children:`Title displayed on the key prompt.`})}),_jsx(ResponseField,{name:`Subtitle`,type:`string`,id:`param-subtitle`,children:_jsx(_components.p,{children:`Subtitle displayed on the key prompt.`})}),_jsx(ResponseField,{name:`Note`,type:`string`,id:`param-note`,children:_jsx(_components.p,{children:`Instructions for obtaining the key, shown to the user.`})}),_jsx(ResponseField,{name:`FileName`,type:`string`,id:`param-file-name-1`,children:_jsx(_components.p,{children:`File name used to save the key locally. Use something unique to avoid conflicts with other Rayfield scripts.`})}),_jsx(ResponseField,{name:`SaveKey`,type:`boolean`,id:`param-save-key`,children:_jsxs(_components.p,{children:[`When `,_jsx(_components.code,{children:`true`}),`, the user’s key is saved so they don’t need to re-enter it. Note: changing the key will invalidate saved keys.`]})}),_jsx(ResponseField,{name:`GrabKeyFromSite`,type:`boolean`,id:`param-grab-key-from-site`,children:_jsxs(_components.p,{children:[`When `,_jsx(_components.code,{children:`true`}),`, Rayfield fetches the key from the URL specified in `,_jsx(_components.code,{children:`Key`}),`.`]})}),_jsx(ResponseField,{name:`Key`,type:`table`,id:`param-key`,children:_jsxs(_components.p,{children:[`A list of accepted keys (strings), or RAW file URLs (Pastebin, GitHub, etc.) when `,_jsx(_components.code,{children:`GrabKeyFromSite`}),` is `,_jsx(_components.code,{children:`true`}),`.`]})})]})]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Looking for server-validated keys with ad-gated delivery? The `,_jsx(_components.a,{href:`https://developer.sirius.menu`,children:`Sirius Developer Platform`}),` offers a managed key system with user-hash locking, per-key watermarks, and ad provider integration — available on all plans including Free.`]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`create-a-tab`,children:`Create a tab`}),`\n`,_jsx(_components.p,{children:`Tabs are the top-level sections inside a window. Each tab can hold its own elements.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`lua`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`lua`,children:_jsxs(_components.code,{language:`lua`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`local`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Tab`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` Window`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`CreateTab`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Tab Example\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`4483362458`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`-- Title, Image`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`lucide-icon-support`,children:`Lucide icon support`}),`\n`,_jsxs(_components.p,{children:[`You can use a `,_jsx(_components.a,{href:`https://lucide.dev/icons/`,children:`Lucide icon`}),` name in place of a Roblox image ID.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`lua`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`lua`,children:_jsxs(_components.code,{language:`lua`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`local`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Tab`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` Window`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`CreateTab`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Tab Example\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"rewind\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Not all Lucide icons are supported. See the `,_jsx(_components.a,{href:`https://github.com/latte-soft/lucide-roblox/tree/master/icons/compiled/48px`,children:`full list of supported icons`}),`. Credit to `,_jsx(_components.a,{href:`https://lucide.dev/`,children:`Lucide`}),` and `,_jsx(_components.a,{href:`https://github.com/latte-soft/`,children:`Latte Softworks`}),`.`]})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Lucide icons and Roblox image IDs are detectable by game anti-cheats. If you need your script to be undetectable, use `,_jsx(_components.code,{children:`getcustomasset()`}),` instead. See `,_jsx(_components.a,{href:`/rayfield/secure-mode`,children:`Secure Mode`}),` for details.`]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`create-a-section`,children:`Create a section`}),`\n`,_jsx(_components.p,{children:`Sections add a labelled group header inside a tab.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`lua`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`lua`,children:_jsxs(_components.code,{language:`lua`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`local`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Section`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` Tab`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`CreateSection`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Section Example\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`update-a-section`,children:`Update a section`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`lua`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`lua`,children:_jsxs(_components.code,{language:`lua`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Section`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`Set`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Section Example\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`create-a-divider`,children:`Create a divider`}),`\n`,_jsx(_components.p,{children:`Dividers add a horizontal rule inside a tab to visually separate content.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`lua`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`lua`,children:_jsxs(_components.code,{language:`lua`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`local`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Divider`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` Tab`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`CreateDivider`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`update-a-divider`,children:`Update a divider`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`lua`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`lua`,children:_jsxs(_components.code,{language:`lua`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Divider`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`Set`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`-- Whether the divider's visibility is to be set to true or false.`})]}),`\n`]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`visibility`,children:`Visibility`}),`\n`,_jsx(Heading,{level:`3`,id:`set-visibility`,children:`Set visibility`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`lua`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`lua`,children:_jsxs(_components.code,{language:`lua`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Rayfield`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`SetVisibility`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`get-visibility`,children:`Get visibility`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`lua`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`lua`,children:_jsxs(_components.code,{language:`lua`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Rayfield`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`IsVisible`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`destroy-the-interface`,children:`Destroy the interface`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`lua`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`lua`,children:_jsxs(_components.code,{language:`lua`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Rayfield`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`Destroy`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`]})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Rayfield windows, tabs and sections","sidebarTitle":"Windows","description":"How to create and manage windows, tabs, and sections in Rayfield.","href":"/rayfield/windows"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Create a window","slug":"create-a-window","depth":2,"children":[{"title":"Options","slug":"options","depth":3,"children":[]}]},{"title":"Create a tab","slug":"create-a-tab","depth":2,"children":[{"title":"Lucide icon support","slug":"lucide-icon-support","depth":3,"children":[]}]},{"title":"Create a section","slug":"create-a-section","depth":2,"children":[{"title":"Update a section","slug":"update-a-section","depth":3,"children":[]}]},{"title":"Create a divider","slug":"create-a-divider","depth":2,"children":[{"title":"Update a divider","slug":"update-a-divider","depth":3,"children":[]}]},{"title":"Visibility","slug":"visibility","depth":2,"children":[{"title":"Set visibility","slug":"set-visibility","depth":3,"children":[]},{"title":"Get visibility","slug":"get-visibility","depth":3,"children":[]}]},{"title":"Destroy the interface","slug":"destroy-the-interface","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"sirius-b451bfde","siteName":"Sirius Docs","title":"Rayfield windows, tabs and sections - Sirius Docs","contextualStarterQuestions":[{"_id":"6b06181ff59a272c17d31035","deploymentId":"69c7f56d81ddc7e90708f060","questionText":"What are tabs and sections?","status":"active","generatedBy":"contextual","path":"rayfield/windows","createdAt":"2026-11-24T23:05:03.897Z","updatedAt":"2026-11-24T23:05:03.897Z","__v":0},{"_id":"6b06181ff59a272c17d31034","deploymentId":"69c7f56d81ddc7e90708f060","questionText":"How do I create a window?","status":"active","generatedBy":"contextual","path":"rayfield/windows","createdAt":"2026-11-24T23:05:03.897Z","updatedAt":"2026-11-24T23:05:03.897Z","__v":0},{"_id":"6b06181ff59a272c17d31036","deploymentId":"69c7f56d81ddc7e90708f060","questionText":"How do I add content to windows?","status":"active","generatedBy":"contextual","path":"rayfield/windows","createdAt":"2026-11-24T23:05:03.897Z","updatedAt":"2026-11-24T23:05:03.897Z","__v":0}],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-24T23:05:00.245Z","originalFileLocation":"rayfield/windows.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"dark\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"How to create and manage windows, tabs, and sections in Rayfield.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Sirius Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/sirius-b451bfde/IiUAYARnFSADDerJ/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/sirius-b451bfde/IiUAYARnFSADDerJ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/sirius-b451bfde/IiUAYARnFSADDerJ/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/sirius-b451bfde/IiUAYARnFSADDerJ/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/sirius-b451bfde/IiUAYARnFSADDerJ/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/sirius-b451bfde/IiUAYARnFSADDerJ/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/sirius-b451bfde/IiUAYARnFSADDerJ/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/sirius-b451bfde/IiUAYARnFSADDerJ/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/sirius-b451bfde/IiUAYARnFSADDerJ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Rayfield windows, tabs and sections - Sirius Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"How to create and manage windows, tabs, and sections in Rayfield.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Sirius Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.sirius.menu/rayfield/windows\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://sirius-b451bfde.mintlify.site/_mintlify/api/og/v2?division=Getting+started\u0026amp;title=Rayfield+windows%2C+tabs+and+sections\u0026amp;description=How+to+create+and+manage+windows%2C+tabs%2C+and+sections+in+Rayfield.\u0026amp;theme=78377679bf236d3c40cc11dc\u0026amp;signature=3f1216ca6ae1aed6d4f10d76e7f8ec85c2976698fc09ff83a99ca9733b4decb0\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Rayfield windows, tabs and sections - Sirius Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"How to create and manage windows, tabs, and sections in Rayfield.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://sirius-b451bfde.mintlify.site/_mintlify/api/og/v2?division=Getting+started\u0026amp;title=Rayfield+windows%2C+tabs+and+sections\u0026amp;description=How+to+create+and+manage+windows%2C+tabs%2C+and+sections+in+Rayfield.\u0026amp;theme=78377679bf236d3c40cc11dc\u0026amp;signature=3f1216ca6ae1aed6d4f10d76e7f8ec85c2976698fc09ff83a99ca9733b4decb0\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/sirius-b451bfde/IiUAYARnFSADDerJ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Sirius Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0088FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.sirius.menu/rayfield/windows\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/rayfield/windows.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.sirius.menu/#organization\",\"name\":\"Sirius Docs\",\"url\":\"https://docs.sirius.menu\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/sirius-b451bfde/i5Ltpj53aNl_8MQt/logo/light.svg?fit=max\u0026auto=format\u0026n=i5Ltpj53aNl_8MQt\u0026q=85\u0026s=54c5dbeffb5f92b996b229f0af6d91e6\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.sirius.menu#website\",\"name\":\"Sirius Docs\",\"url\":\"https://docs.sirius.menu\",\"publisher\":{\"@id\":\"https://docs.sirius.menu/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.sirius.menu/rayfield/windows#webpage\",\"url\":\"https://docs.sirius.menu/rayfield/windows\",\"name\":\"Rayfield windows, tabs and sections\",\"description\":\"How to create and manage windows, tabs, and sections in Rayfield.\",\"dateModified\":\"2026-11-24T23:05:00.245Z\",\"isPartOf\":{\"@id\":\"https://docs.sirius.menu#website\"},\"breadcrumb\":{\"@id\":\"https://docs.sirius.menu/rayfield/windows#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.sirius.menu/rayfield/windows#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Getting started\",\"item\":\"https://docs.sirius.menu/rayfield/getting-started\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Rayfield windows, tabs and sections\",\"item\":\"https://docs.sirius.menu/rayfield/windows\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.sirius.menu/rayfield/windows#article\",\"headline\":\"Rayfield windows, tabs and sections\",\"name\":\"Rayfield windows, tabs and sections\",\"description\":\"How to create and manage windows, tabs, and sections in Rayfield.\",\"url\":\"https://docs.sirius.menu/rayfield/windows\",\"mainEntityOfPage\":{\"@id\":\"https://docs.sirius.menu/rayfield/windows#webpage\"},\"dateModified\":\"2026-11-24T23:05:00.245Z\",\"publisher\":{\"@id\":\"https://docs.sirius.menu/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.sirius.menu#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Sirius Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Sirius Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/rayfield/windows.md","siteName":"Sirius Docs","nav":{"global":{"anchors":[{"anchor":"Discord","icon":"discord","href":"https://discord.sirius.menu"},{"anchor":"GitHub","icon":"github","href":"https://github.com/SiriusSoftwareLtd"}]},"tabs":[{"tab":"Home","pages":[{"title":"Home","href":""}]},{"tab":"Rayfield (2022)","groups":[{"group":"Overview","pages":[{"title":"Rayfield UI library for Roblox","sidebarTitle":"Introduction","href":"/rayfield"}]},{"group":"Getting started","pages":[{"title":"Loading the Rayfield library","sidebarTitle":"Loading the library","description":"How to load Rayfield into your script and enable configuration saving.","href":"/rayfield/getting-started"},{"title":"Rayfield windows, tabs and sections","sidebarTitle":"Windows","href":"/rayfield/windows"},{"title":"The \"Show Rayfield\" button","sidebarTitle":"Show Rayfield button","description":"What the \"Show Rayfield\" button at the top of your screen does, and how to bring a hidden Rayfield window back on mobile or PC.","href":"/rayfield/show-rayfield"},{"title":"Notifications","href":"/rayfield/notifications"}]},{"group":"Elements","pages":[{"title":"Rayfield interactive elements","sidebarTitle":"Interactive elements","href":"/rayfield/elements/interactive"},{"title":"Keybinds","href":"/rayfield/elements/keybinds"},{"title":"Rayfield text elements","sidebarTitle":"Text elements","href":"/rayfield/elements/text"}]},{"group":"Configuration","pages":[{"title":"Rayfield themes","sidebarTitle":"Themes","href":"/rayfield/themes"}]},{"group":"Security","pages":[{"title":"Anti-detection","href":"/rayfield/anti-detection"},{"title":"Secure mode","tag":"1.74+","href":"/rayfield/secure-mode"}]}]},{"tab":"Rayfield Gen2","pages":[{"title":"Rayfield Gen2","href":"/rayfield-gen2"}]},{"tab":"RoScripts","pages":[{"title":"RoScripts","href":"/roscripts/publish"}]}]},"basePath":"","title":"Rayfield windows, tabs and sections - Sirius Docs","deploymentId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","buildId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","dynamics":[],"chunks":[]}