0👍
✅
No, because the slot is replaced, you should do something like:
<p>top</p>
<div class="borders"><slot></slot></div>
<p>bottom</p>
Or create it as another component
Source:stackexchange.com