> Source: https://laravilt.com/docs/notifications/types/introduction

# Notification Types

Two notification delivery methods available.

## Available Types

| Type | Description |
|------|-------------|
| [Toast](https://github.com/laravilt/laravilt/blob/HEAD/docs/notifications/types/toast) | Temporary on-screen messages |
| [Database](https://github.com/laravilt/laravilt/blob/HEAD/docs/notifications/types/database) | Persistent notification center |

## Toast Notifications

Temporary feedback that auto-dismisses:

```php
<?php

use Laravilt\Notifications\Notification;

Notification::make()
    ->title('Changes saved')
    ->success()
    ->send();
```

## Database Notifications

Persistent notifications with read/unread tracking:

```php
<?php

use Laravilt\Notifications\Notification;

Notification::make()
    ->title('New message')
    ->body('You have a new message.')
    ->sendToDatabase($user);
```

## Both Together

```php
<?php

use Laravilt\Notifications\Notification;

Notification::make()
    ->title('New Comment')
    ->body('Someone commented on your post.')
    ->info()
    ->sendToDatabase(auth()->user())
    ->send();
```

## Styling Options

| Method | Color |
|--------|-------|
| `success()` | Green |
| `warning()` | Yellow |
| `danger()` | Red |
| `info()` | Blue |

## Related

- [Toast](https://github.com/laravilt/laravilt/blob/HEAD/docs/notifications/types/toast) - Temporary messages
- [Database](https://github.com/laravilt/laravilt/blob/HEAD/docs/notifications/types/database) - Persistent center
