Display
Poster
This component is used to display a media poster or thumbnail image, generally before playback begins.
Optimized Images
Section titled Optimized ImagesSome server frameworks such as Astro and Next.js provide an <Image>
component for creating and
displaying optimized versions of local images. This can be useful when creating poster images, use
the asChild
property to pass in the optimized image.
Next.js
Section titled Next.jsAPI Reference
Section titled API ReferenceHTMLAttributes<HTMLImageElement>
Ref<HTMLImageElement>
Loads and displays the current media poster image. By default, the media provider's loading strategy is respected meaning the poster won't load until the media can.