> ## 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.

# Notifications

> How to send notifications to the user in Rayfield.

## Send a notification

```lua theme={null}
Rayfield:Notify({
   Title = "Notification Title",
   Content = "Notification Content",
   Duration = 6.5,
   Image = 4483362458,
})
```

### Lucide icon support

You can use a [Lucide icon](https://lucide.dev/icons/) name in place of a Roblox image ID.

```lua theme={null}
Rayfield:Notify({
   Title = "Notification Title",
   Content = "Notification Content",
   Duration = 6.5,
   Image = "rewind",
})
```

<Note>
  Not all Lucide icons are supported. See the [full list of supported icons](https://github.com/latte-soft/lucide-roblox/tree/master/icons/compiled/48px). Credit to [Lucide](https://lucide.dev/) and [Latte Softworks](https://github.com/latte-soft/).
</Note>

<Warning>
  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](/rayfield/secure-mode) for details.
</Warning>

### Options

<ResponseField name="Title" type="string" required>
  The notification title.
</ResponseField>

<ResponseField name="Content" type="string" required>
  The notification body text.
</ResponseField>

<ResponseField name="Duration" type="number">
  How long the notification stays visible, in seconds.
</ResponseField>

<ResponseField name="Image" type="number | string">
  Icon for the notification. Pass a Roblox image ID (number) or a Lucide icon name (string).
</ResponseField>
