---
export interface Props {
  height?: string
}
const { height } = Astro.props
const ph_height = height || "5rem"
---
<div class="placeholder"></div>

<style define:vars={{ph_height}}>
  .placeholder {
    visibility: hidden;
    width: 100%;
    height: var(--ph_height);
  }
</style>