Brand Design System

Image

Image display element with flexible sizing, positioning, and styling options for responsive visual content.

Live Preview

Default image example

Default

Rounded image with shadow

Rounded with shadow

Circle image

Code

1<!-- Basic Image -->
2<img
3 src="/path/to/image.jpg"
4 alt="Description of the image"
5 class="image"
6/>
7
8<!-- Image with Caption -->
9<figure class="image-figure">
10 <img
11 src="/path/to/image.jpg"
12 alt="Product showcase"
13 class="image"
14 />
15 <figcaption>Image caption text</figcaption>
16</figure>
17
18<!-- Responsive Image -->
19<img
20 src="/path/to/image.jpg"
21 srcset="
22 /small.jpg 400w,
23 /medium.jpg 800w,
24 /large.jpg 1200w
25 "
26 sizes="(max-width: 600px) 100vw, 50vw"
27 alt="Responsive product image"
28 class="image image--responsive"
29/>

Brand Properties

The following table maps CRAFT Image component properties to brand-specific values.

PropertyTypeBrand DefaultHoB ValueTAE Value
Image sourceDropdownImage URLImage URLImage URL
URLText input(empty)(empty)(empty)
Alt textText input(empty)(empty)(empty)
Title textText input(empty)(empty)(empty)
Aspect ratioToggleOriginalOriginalOriginal
Image widthSlider500px500px500px
Image Position9-position gridcentercentercenter
MarginsInput (px)000
PaddingInput (px)000
Corner RadiusInput (px)000
Border StyleDropdownnonenonenone
Border WidthInput0px0px0px
Border ColorColor pickerrgb(0,0,0)rgb(0,0,0)rgb(0,0,0)
OpacitySlider100%100%100%
ShadowToggleOffOff (sm, md, lg available)Off (sm, md, lg available)

Image Position Options

The 9-position grid allows precise control over image placement within its container:

top-left
top
top-right
left
center
right
bottom-left
bottom
bottom-right

Aspect Ratio Options

  • Original - Maintains the original image aspect ratio
  • Custom - Allows specifying a custom aspect ratio

Variants

Corner Styles

Square corner styleSquare (0)
Small corner radiusSmall (4px)
Medium corner radiusMedium (8px)
Large corner radiusLarge (12px)
Circle corner styleCircle

Shadow Variants

No shadowOff (default)
Small shadowSmall
Medium shadowMedium
Large shadowLarge

Object Fit Modes

Fill object fit
fill
Contain object fit
contain
Cover object fit
cover
None object fit
none

Unmapped Brand Values

The following brand-specific values are not directly mapped to CRAFT Image component properties but should be considered when implementing image-related functionality.

BrandPropertyValueNotes
TAELogo Min Size48pxMinimum dimension for logo images
TAELogo PlacementTop left cornerDefault position for brand logos
HoBLogo Min Size50px heightMinimum dimension for logo images
HoBLogo PlacementTop right cornerFixed placement for visual consistency

Accessibility

  • Always provide alt text - Descriptive text for screen readers
  • Use empty alt (alt="") for decorative images
  • Avoid text in images when possible
  • Ensure sufficient color contrast for any overlaid text
  • Consider users with slow connections - use lazy loading for below-fold images
  • Provide text alternatives for complex images (charts, diagrams)

Do's and Don'ts

Do

  • Always include descriptive alt text
  • Use appropriate image formats (WebP, AVIF)
  • Optimize images for web delivery
  • Use lazy loading for images below the fold
  • Provide responsive images with srcset
  • Use brand-appropriate corner radius values

Don't

  • Skip alt text (accessibility requirement)
  • Use massive unoptimized images
  • Rely on images alone for critical information
  • Stretch images beyond their natural size
  • Use images when CSS/SVG would suffice
  • Use logos below the minimum size (48px for TAE)

Related Elements

  • Slideshow - For image carousels and galleries
  • Video - For video content
  • Icon - For small symbolic graphics