Render a container with 100% height and width which centers a single child element.
Uses the CSS rule align-items: safe center; which means it will never cut off any
overflowing content. This component accepts no utility classes.
<div class="bg-neutral-400 rounded-sm w-[400px] h-[400px]"> <x-center> <x-image src="path/to/image" class="w-[160px]" /> </x-center> </div>