# Partial:If_Exists

Renders a partial if it exists.

## Overview

You can use this tag to output a partial if it exists. Useful if you have some sort of dynamic loop.

::tabs

::tab antlers
```antlers
{{ partial:if_exists src="mypartial" }}
```
::tab blade
```blade
<s:partial:if_exists src="mypartial" />
```
::

Practically identical to the [`partial`](/tags/partial.md) except if the view doesn't exist it will just output
nothing instead of throwing a "view not found" exception.

## Related Reading

This tag goes hand in hand with the [`partial`](/tags/partial.md) tag.
You may be interested in the [`partial:exists`](/tags/partial-exists.md) tag if you need to do a more
complicated conditional check in your template.
