# Include:Exists

Checks if a view exists.

## Overview

You can use this tag to check if a view exists. Useful if you have some sort of dynamic loop.

::tabs

::tab antlers
```antlers
{{ if {include:exists src="myview"} }}
  It exists.
{{ else }}
  It doesn't.
{{ /if }}
```
::tab blade
```blade
@if (Statamic::tag('include:exists')->src('myview')->fetch())
  It exists.
@else
  It doesn't.
@endif
```
::

## Related Reading

This tag goes hand in hand with the [`include`](/tags/include.md) tag.
You may be interested in the [`include:if_exists`](/tags/include-if-exists.md) tag to simplify your template.
