Rayfield:CreateWindow(props) creates the window and returns its handle. Tabs, tags, notifications, popups, and theme changes all come from that handle.

Properties
The window title.
A smaller line beneath the title.
A built-in theme name (
"default", "cobalt", "ember", "amethyst", "frost", "rose") or a theme table. See Themes.An icon shown beside the title.
Pins the language. Leave it out to follow the player’s Roblox language. See Localization.
Language tables keyed by locale id.
A custom resolver used instead of tables.
A stand-in font shown in secure mode while the brand font downloads.
Methods
The window handle exposes everything you need at runtime.Building
Add a tab. See Tabs and groups.
Messages
Notify(props)
Show a notification card in the corner. See Notifications.
Toast(props)
Drop a toast in from the top. See Notifications.
Visibility
Show()
Reveal the window.
Hide()
Collapse the window.
ToggleHide()
Toggle between shown and hidden.
ToggleMinimise()
Collapse to the top bar.
Jump to a tab by its handle or name.
Unload()
Destroy the interface.
Theme and language
ChangeTheme(theme)
Restyle everything at runtime. Colours and sizes tween across.
SetLocale(id)
Switch every label to another language live.
SetTranslator(fn)
Swap the copy resolver.
RegisterTranslations(t)
Add a language pack at runtime.
Saving
Save now. Pass a name to target a saved configuration, or leave it out for the default file.
Load now.
Names of the saved configurations.
Delete a saved configuration.
Read a saved value by its flag. Also available as
window.Flags[flag].Write a saved value by its flag. This updates the UI and fires the callback. Returns
false if the flag is unknown.