> ## Documentation Index
> Fetch the complete documentation index at: https://filament-34a8cf01.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Adding a widget to a Blade view

> [!WARNING]
>
> You are currently viewing the documentation for Filament 3.x, which is a previous version of Filament.
>
> Looking for the current stable version? Visit the [5.x documentation](https://filament-34a8cf01.mintlify.site/5.x/widgets).

## Overview

Since widgets are Livewire components, you can easily render a widget in any Blade view using the `@livewire` directive:

```blade theme={"theme":"gruvbox-dark-hard"}
<div>
    @livewire(\App\Livewire\Dashboard\PostsChart::class)
</div>
```

[Edit this page on GitHub](https://github.com/filamentphp/filament/edit/3.x/packages/widgets/docs/05-adding-a-widget-to-a-blade-view.md)

## Sponsored by

[Your logo here](https://github.com/sponsors/danharrin)


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