-
Notifications
You must be signed in to change notification settings - Fork 42
Image with caption
Decorator
UI component
This component wraps the responsive Image component we’ve built and provides it with a caption, and option to zoom in to see a larger and clearer version of the image.
Table of contents
Used by (7)
- CTA block
- Content block simple
- Content block segmented
- Content group simple
- Content item
- Content item horizontal
- Lead space block
Back links (6)
- ...a single Content item, optional media (Image with caption
- an optional media item (Image with caption or Video)
- media here is can be an Image with caption or a
- See Image with caption and Video for more
Content item (2)
- the adopter with option to use either Image with caption
- See Image with caption for more
required
component
event | description | |
---|---|---|
1.0.1 |
onClick && 4.0.2 |
Launches the Lightbox media viewer 4 if enabled. The whole image area is clickable. |
See Image for more details
See design specs r1 for visual states
optional
string
A short descriptive text that lives below the image.
condition | description | |
---|---|---|
2.0.1 |
4.0.2 |
String of text is passed to Lightbox media viewer's' 4 heading |
The button icon is displayed only if the Lightbox media viewer 4 is enabled to help communicate to the user that they can view this image with more detail.
condition | description | |
---|---|---|
3.0.1 |
4.0.1 |
Button is hidden. |
3.0.1 |
4.0.2 |
Button is displayed. |
See design specs r1 for visual states
optional
component
condition | description | |
---|---|---|
4.0.1 |
false |
default disables the the use of Lightbox media viewer
|
4.0.2 |
true |
Enables the the use of Lightbox media viewer |
See Lightbox media viewer for more details
component
The Image here mirrors the Image 1 component from above.
string
This string of text mirrors the Caption 2 content outlined above.
optional
string
An optional paragraph of text that allows the author to provide more details around the image.
Publishing guidelines (6)
Layout component (37)
- CTA block
- CTA section
- Callout media
- Callout quote
- Callout
- Card group
- Card section carousel
- Card section images
- Card section offset
- Card section simple
- Card section
- Content block cards
- Content block horizontal
- Content block media
- Content block mixed groups
- Content block segmented
- Content block simple
- Content block
- Content group banner
- Content group cards
- Content group pictograms
- Content group simple
- Content group
- Content item horizontal
- Content item
- Content section
- Dotcom shell
- Feature section
- Lead space block
- Lead space search
- Lead space
- Link list section
- Logo grid
- Table of contents
- Tabs extended media
- Tabs extended
- Universal banner
Service (3)
UI component (34)
- Back to top
- Background media
- Button group
- CTA
- Card in card
- Card link
- Card
- Carousel
- Expressive modal
- Feature card
- Filter group
- Filter panel
- Footer
- Image with caption
- Image
- Input select
- Leaving ibm
- Lightbox media viewer
- Link list
- Link with icon
- Locale modal
- Masthead L0
- Masthead L1
- Masthead account
- Masthead mobile
- Masthead navigation
- Masthead
- Mega menu
- Pictogram item
- Quote
- Search typeahead
- Tag group
- Tag link
- Video