create modal that can trigger via custom view blade

I have a custom view blade Infolists\Components\View::make('components.project-material-request-header'), how can i create a modal and trigger from this blade file?
2 Replies