> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sirius.menu/llms.txt
> Use this file to discover all available pages before exploring further.

# Icons

> What an icon property accepts, and where icons come from.

<a href="https://www.sentivel.com/?ref=sirius-docs" target="_blank" rel="noopener noreferrer" className="sv-banner">
  <span className="sv-banner-mark" aria-hidden="true">
    <svg viewBox="0 0 194.08 236.31" fill="currentColor">
      <path fillRule="evenodd" clipRule="evenodd" d="M181.21,89.15L137.69,99.7l21.82-14.53c15.69-10.45,26.19-27.08,28.88-45.73L194.08,0l0,0c-18.79,13.86-40.77,22.76-63.91,25.86L72.27,33.6c-23.32,3.12-44.43,16.31-56.32,36.62C6.1,87.06,2.64,107.65,7.91,128.02l1.04,4.01l48.67,5.2l0,0C30.7,143.2,10.28,165.2,6.34,192.49L0,236.31l0,0c28.49-17.35,60.53-28.03,93.73-31.26l25.54-2.48c29.96-2.91,56.12-22.72,65.53-51.32c4.42-13.44,5.16-28.26,1.36-42.96L181.21,89.15z M115.85,143l-23.2,6.02c-8.99,2.31-18.13-3.06-20.47-12.05l-5.99-23.2c-2.34-8.99,3.06-18.16,12.03-20.47l23.22-6.02c8.97-2.31,18.13,3.08,20.47,12.05l5.99,23.22C130.24,131.52,124.84,140.69,115.85,143z" />
    </svg>
  </span>

  <span className="sv-banner-copy">
    <span className="sv-banner-title">
      Sentivel
      <span className="sv-banner-badge">Endorsed by Rayfield</span>
    </span>

    <span className="sv-banner-sub">Status pages and uptime monitoring for whatever you ship. Free to start.</span>
  </span>

  <span className="sv-banner-cta">
    Take a look
    <span className="sv-banner-arrow" aria-hidden="true">→</span>
  </span>
</a>

Every `icon` property in Gen2 (windows, tabs, sections, elements, tags, notifications) takes an image. Gen2 has no icon set you pick by name, so a string like `"folder"` shows nothing.

```lua theme={null}
window:CreateTab({ name = "Files", icon = 93364949241311 })
window:CreateTab({ name = "Servers", icon = "rbxassetid://93364949241311" })
tab:CreateButton({ name = "Alert", icon = getcustomasset("my-icons/alert.png") })
```

## What it accepts

<ResponseField name="number">
  A Roblox asset id.
</ResponseField>

<ResponseField name="rbxassetid://">
  The same id as a string.
</ResponseField>

<ResponseField name="rbxasset://">
  A local file, which is what `getcustomasset` returns. Used as given, in secure mode too.
</ResponseField>

<ResponseField name="rbxthumb://">
  A Roblox thumbnail. Blocked in [secure mode](/rayfield-gen2/secure-mode).
</ResponseField>

`nil`, `0` or `""` means no icon.

## Finding icons

Any image uploaded to Roblox works: copy its asset id. For icons that match each other, upload a set from one icon family, such as Lucide. Upload them at 256 by 256 or larger, because a small image looks soft when it is scaled up.

To keep your own images out of the asset list, save them with `writefile` and pass `getcustomasset(path)`. In [secure mode](/rayfield-gen2/secure-mode) this is the only way your own icons show.

## Built-in icons

These are the icons Gen2 draws its own interface with. Their ids work anywhere an icon does.

| Icon | Id |
| - | - |
| Close | `83277910885129` |
| Minimise | `108115485663409` |
| Maximise | `88738500661569` |
| Settings | `129180860773723` |
| Search | `100604009889706` |
| Chevron | `88479147175134` |
| Check | `125626312718314` |
| Configurations | `125823673784681` |
| Rayfield | `80387863064905` |

There is no built-in folder, server or home icon. Find those in an icon pack.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.