---
title: "GIF, MailKaro Docs"
description: "GIF in MailKaro: an animated GIF block. For React, Vue, Angular and plain JavaScript."
---

# GIF

Content blocks

# GIF

An animated GIF block.

## Options

- Source URL + alt text
- Width, alignment, padding
- Optional link

## How it renders

A GIF block is exported the same way as an image block: an ``, wrapped in a link when `href` is set, with the same width, alignment, border and corner values. A new GIF block starts with `width: 100`, `align: "center"` and `border_radius: 18`. In an AMP export it becomes an ``.

## Adding the file

The GIF panel offers Upload GIF, Open Library, drag and drop, and a pasted link. Uploads go through your [upload handler](https://docs.mailkaro.com/image-uploads). Without one, the file is stored in the design as a base64 `data:` URL, which makes the email HTML much larger.

## Before you send

- A GIF block with an empty `src` is left out of the email.
- [Pre-send QA](https://docs.mailkaro.com/qa-checks) warns when a GIF has no alt text.
- For still images, see the [Image](https://docs.mailkaro.com/block-image) block, which shares these options.

Source: https://docs.mailkaro.com/block-gif
