Designing Open Graph Images

Haneen Mahdin
2 min readJun 1, 2023

--

Open graph images has become a standard to improve the display and usability of your links on social media.

Thus, it is essential to understand how to design them better.

Common best practices:

  • Keeping the file size under 8 MB
  • Using a high-quality image with a minimum dimension of 1200 x 630 pixels.

Text

While designing the text content inside the image, it is better to set much larger font sizes as the image might shrink based on the platform.

It improves readability of the text.

Content

Your content needs to be minimal as possible and it only needs to show the most important ones as we are presenting a preview of the content’s of the website within a small link preview. Make sure to include the most important things that showcase the functionality of the website and highlight the logo, company name and follow your brand’s design system to create a better and consistent experience for the end user.

Highlighting the most important things

There should be padding between the edges of the image and the content inside. This ensures there are enough space to allow for a much more cleaner image.

Spacing between edges

The visual hierarchy is very important in this scenario. You need to present your content in a user friendly way. The much better the visual hierarchy, the more new users are tempted to visit the website that’s shared via social media.

Example for my website

You can preview your Open Graph Image on this website: https://www.opengraph.xyz.

opengraph.xyz preview of Apple’s website

With the new advancments in Next.js 13, it has made it even more powerful to generate metadata content with the newImageResponse API.

Learn more about:

--

--

Haneen Mahdin
Haneen Mahdin

Written by Haneen Mahdin

✶ 16, freelance design engineer and startup-founder

No responses yet