To create a component that renders an inline view, you may use the inline option when executing the make:component command:
inline
make:component
php artisan make:component Alert --inline