Opener

Backed by tauri-plugin-opener. Opens URLs or files with the system default handler.

Blade:

<button wire:nb-bridge="open_url" wire:nb-payload='{"url":"https://laravel.com"}'>
    Laravel site
</button>

<button wire:nb-bridge="open_file" wire:nb-payload='{"path":"/path/to/file.pdf"}'>
    Open PDF
</button>

PHP:

NativeBlade::openUrl('https://laravel.com');
NativeBlade::openFile(native_path('export.pdf'));