Even though inline components have only class components you can call them in the same way if they have a view component. For example

When you issue this command:

php artisan make:component Alert –-inline

It will generate a class without a view component. Even though thats the case you can still call it anywhere in your application

<x-alert />

and it will render whatever in the return html elements you put in the render() method.