<div class="image">
    <slot name="content" />
    <span><slot /></span>
</div>

<style>
    span {
        text-align: center;
        color: gray;
        width: 100%;
        display: inline-block;
    }
</style>