Image
A native responsive image with explicit alternative text and media fitting.
Preview

Use Image
Image is a named export of @flood-md/react. Connect the package once, then import what you use.
Design notes
- alt is required; an empty string is appropriate for decorative imagery beside equivalent visible content.
- Native src/srcSet/sizes/loading/decoding/dimensions, handlers and HTMLImageElement ref are preserved. Supply width/height or AspectRatio to reserve geometry.
- fit cover/contain changes object-fit, not fetching, optimization or fallback behavior. Avatar composes Image with its own load/fallback lifecycle.
- Available in 0.2.4; use matching installed declarations.
API reference
View TypeScript source