<div class="btn-toolbar">
    <button class="btn-primary btn" value="true" id="exit" name="exit" type="submit">{{ __('Save and exit') }}</button>
    <button class="btn-default btn" type="submit">{{ __('Save') }}</button>
    @if ($model->getTable() == 'pages' || TypiCMS::getPageLinkedToModule($model->getTable()))
    <a class="btn btn-default btn-preview" href="{{ $model->previewUri() }}?preview=true">{{ __('Preview') }}</a>
    @endif
    @include('core::admin._lang-switcher-for-form')
</div>

<div class="btn-toolbar">
    <button class="btn-primary btn" value="true" id="exit" name="exit" type="submit">{{ __('Save and exit') }}</button>
    <button class="btn-default btn" type="submit">{{ __('Save') }}</button>
    @if ($model->getTable() == 'pages' || TypiCMS::getPageLinkedToModule($model->getTable()))
    <a class="btn btn-default btn-preview" href="{{ $model->previewUri() }}?preview=true">{{ __('Preview') }}</a>
    @endif
    {{ $slot }}
    @include('core::admin._lang-switcher-for-form')
</div>

Use of @component for buttons in form
Use of @component for buttons in form
