> For the complete documentation index, see [llms.txt](https://docs.axios.x5i.ch/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.axios.x5i.ch/readme.md).

# Welcome

Axios is a lightweight Immediate-Mode GUI library for Roblox, distributed as a single-file bundle ready for `loadstring`. It's designed for internal script layers and exploit-ready environments.

![Axios complex example](https://1051012579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fr9OssuI08PlW6KocrjXJ%2Fuploads%2Fgit-blob-cf4d6446444b84d39079a2e7116e6f7a81893490%2FcomplexExampleDark.png?alt=media)

## Why Axios?

* **Immediate Mode:** Declare your UI every frame; Axios handles the creation, updates, and memory management.
* **Feature-Rich:** Includes windows, buttons, sliders, drag inputs, combo boxes, tables, plots, and more.
* **State System:** Built-in state objects persist throughout frames and bind directly to widgets.
* **Configurable:** Global or per-widget style overrides for themes, colors, and fonts.

## Quick look

```lua
local Axios = loadstring(game:HttpGet("https://load.axios.x5i.ch"))()
Axios:Init()

Axios:Connect(function()
    Axios.Window({"Hello Axios!"})
        Axios.Text({"You are amazing."})
        if Axios.Button({"Thanks!"}).clicked() then
            print("Button clicked!")
        end
    Axios.End()
end)
```

## Documentation

* [Getting Started](/getting-started.md): Install and initial setup.
* [API Reference](/api.md): Documentation for Init, State, Config, IDs, and lifecycle.
* [Widgets](/widgets.md): Catalog of all widgets with examples.
* [Advanced](/advanced.md): Custom cycles, dynamic config, and design patterns.
* [Credits](/credits.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.axios.x5i.ch/readme.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
