Overview
Component that can be used to display images in a consistent and structured way.
When to use
- Use images to enhance content on the website and help sell a story.
When to use
- Don’t use images as the primary content.
Anatomy
- Picture
Variants & States
Accessibility
Each instance of <img> should include an alt attribute. If the picture is purely decorative, the alt attribute can be left blank. Otherwise, the alt attribute should contain a text value that explains the nature of the picture for users of Assistive Technology.
This alt decision tree can help you decide whether and how to provide alternative text.
Make sure any text in pictures of text is at least 14 points and has good contrast with the background.
Internationalization
For RTL (right-to-left) languages, adjust some component images and all background images to fit the RTL layout.
Accessibility
Accessibility
Each instance of <img> should include an alt attribute. If the picture is purely decorative, the alt attribute can be left blank. Otherwise, the alt attribute should contain a text value that explains the nature of the picture for users of Assistive Technology.
This alt decision tree can help you decide whether and how to provide alternative text.
Make sure any text in pictures of text is at least 14 points and has good contrast with the background.
Properties
| Name | Type | Values | Description |
|---|---|---|---|
| isFullWidth | boolean | truefalse |
Determines if the picture should take up the full width. |
| flipOnRTL | boolean | truefalse |
Indicates if the picture should be mirrored on RTL locales |
Usage Guidelines
Content Guidelines
We use images to support content or illustrate information.
Voice and tone
- If an image contains text that is not available elsewhere, we write it in NordVPN’s voice — simple, human, and credible, like a knowledgeable friend — and adjust the tone to fit the situation.
- If an image has alt text, we use a factual tone that helps users understand the content.
Accessibility
We provide alt text when an image has meaning or function and skip alt text for decorative images.
- We focus on the purpose of the image, not its appearance.
- For icons, we state the function.
- For images used as links or buttons, we describe the action or destination.
- For graphics, we give a simple description that conveys the meaning.
- We do not repeat information already present in nearby text.
- We skip articles in alt text unless they’re necessary for clarity.