> For the complete documentation index, see [llms.txt](https://tina-hammar.gitbook.io/tall-forms/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tina-hammar.gitbook.io/tall-forms/concept/layout-vs-wrapper.md).

# Layout vs Wrapper

The `Layout` in a general Laravel project is called `app.blade.php`. A Tall-forms `Wrapper` is a blade component that you optionally use to wrap your form.&#x20;

If you combine `Layout` with a `Wrapper` view the form will be wrapped with the view and placed in the `Layout` `$slot`.

```
|-layout
    |-wrapper-view
       |-form
```

### Form settings related to `Layout` and `Wrapper`

```php
protected function formAttr(): array
{
    return [
        //these settings are optional, the example shows the default values
        'wrapWithView' => true, //or false
        'wrapViewPath' => config('tall-forms.wrap-view-path'), //blade view path, used as @include($wrapViewPath)
        'layout' => "layouts.app", //blade view path, Default = Livewire looks for "layouts.app.blade.php"
    ];
}
```
