You can put those buttons in if conditions
Here I used $show_button variable just for an example
You can use your conditional data as per your requirements
In controller:
Here I used my_index.blade.php just for an example
public function index(){
$show_button == 1; //set value as per your requirement
return view('my_index', compact('show_button'));
}
In blade file:
@if($show_button == 1)
<button class="btn btn-primary">Button-1</button>
<button class="btn btn-primary">Button-2</button>
@endif
OR
If you want to display those buttons on click of another button then use jquery or javascript
<script type="text/javascript" src="https://code.jquery.com/jquery-3.4.1.js"></script>
<div id="action_div" style="display:none;">
<button class="btn btn-primary">Edit</button>
<button class="btn btn-danger">Delete</button>
</div>
<button class="other_button">show action buttons</button>
<script>
$(document).ready(function(){
$('.other_button').on('click', function(){
$(document).find('#action_div').show();
});
});
</script>