AROYN UI LIBRARY / RESOURCES

API reference

The public contract at a glance, with links to complete argument tables.

Module and ownership#

APIReference
Aroyn:CreateWindow(options)Windows
Aroyn:AttachWindow(options)Windows
Aroyn:CreateIcon(parent, key, size?, tint?)Pages & icons
Window:CreatePage / SelectPage / SetMinimized / DestroyWindows
Page:CreateSection / Select / DestroyPages
Section:DestroySections

Component constructors#

ConstructorValueCallbackReference
Section:CreateButton(options)Caption only()Button
Section:CreateToggle(options)boolean(boolean)Toggle
Section:CreateTextInput(options)string(string)Text Input
Section:CreateSlider(options)number(number)Slider
Section:CreateDropdown(options)string? or {string}(value)Dropdown / Multi
Section:CreateKeybind(options)Enum.KeyCode?(key); OnActivate(active,key,mode)Keybind
Section:CreateColorPicker(options)Color3(Color3)ColorPicker

Shared handle contract#

MethodReturnsBehavior
GetValue()ValueReads the current typed value. Multi selections return a copy.
SetValue(value, notify?)selfSilent by default; true calls Callback only after a changed normalized value.
SetDisabled(boolean)selfChanges user availability without discarding the value.
IsDisabled()booleanReads the requested disabled state.
Destroy()nilRemoves this control and its subscriptions; safe to repeat.

Exceptions and extra methods appear on each component page. Button uses GetText/SetText; Dropdown has option and popup methods; Keybind has mode/activation/capture; ColorPicker has hex and popup methods.

Overlays#

APIReturnReference
Window:Notify(options)Toast: Id, GetState, GetDismissReason, DismissNotifications
Window:Dialog(options)Dialog: Id, GetState, GetDismissReason, GetAction, CloseDialogs

Configuration#

MethodReturnsBehavior
ConfigureConfig(options?)ok, infoBefore the first Flag; cannot reconfigure.
RegisterConfig(control, flag, options?)controlRegister an existing owned control; options Persist/Sensitive.
GetConfigState()tableIndependent JSON-compatible snapshot; does not write a file.
GetConfigStatus()tableMode, Namespace, Path, Capabilities, AutoSave, AutoSaveConfig, AutoSaveDelay, LastResult.
SaveConfig(name)ok, infoSave current registered values and valid deferred entries.
LoadConfig(name, options?)ok, infoRestore; InvokeCallbacks=false by default.
ListConfigs()ok, infoSorted names in info.Names.
DeleteConfig(name)ok, infoDelete profile; cancel pending save for its name.
ResetConfig(options?)ok, infoRestore registered defaults, clear deferred; saved files remain.
SetConfigAutoSave(enabled, name?, delay?)ok, infoEnable/disable; enabling does not write immediately.

All options, result codes, flag constraints and schema fields are documented under Configuration manager.

Module fields#

FieldContract
ThemeMutable existing groups before construction; no live retheme promise.
IconAtlasReady URI of the seven-cell core atlas.
LogoConvenience field; must pass via window Logo explicitly.
MotionEnabledfalse makes page/popup/morph instant, not every animation.

Not public API#

Methods with an underscore, Scope, managers, Render/Reflow and internal GUI fields are implementation details. There is no AddTab, AddToggle, OnChanged, SetTheme, ApplyTheme, CreateMultiDropdown, control.Save, window Position or window Footer API.

Supported environments and distribution#

EnvironmentEvidence
Windows PC / PotassiumOwner-tested public download, components, notifications, floating launcher and earlier configuration persistence.
Other Windows executorsNot verified.
Android / iOSNot verified; browser viewport emulation does not prove library device compatibility.
Roblox StudioNot established as officially supported; executor file/custom-asset APIs are not standard Studio APIs.

Version 0.1.0 is an early product version, not a permanently frozen API promise. Missing filesystem/custom-asset capabilities use documented Session/degraded asset behavior. No Dashboard authentication is required.