This component renders an <img> tag for displaying images in email templates. It supports additional attributes and custom styles.

Example Usage

@using BlazorEmail.Components

<Image src="https://example.com/image.jpg" alt="Example Image" />

Default Styles

  • Display: Block (ensures the image behaves like a block element)
  • Border: None (removes any border)
  • Outline: None (removes any outline)
  • TextDecoration: None (removes any text decoration)