Triple Image Callout Component: Difference between revisions
Imported from Confluence |
No edit summary |
||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
The Triple Image Callout component is a full-width collection of images | {{DrupalBack}} | ||
The '''Triple Image Callout''' component is a full-width collection of images with supporting text displayed beneath each item. | |||
== Elements == | == Elements == | ||
| Line 11: | Line 12: | ||
# Triple Image Callout Item - Call to Action Link | # Triple Image Callout Item - Call to Action Link | ||
{{Screenshot|Screenshot 2024-06-14 at 2.20.55 PM.png|800px|Diagram showing the fields that make up the Triple Image Callout component.|The Triple Image Callout component fields.}} | |||
== Examples == | == Examples == | ||
{{Callout|type=tip|title=Interactive Example|content=The preview below shows the Triple Image Callout component using its default configuration. | |||
To experiment with different layouts and other settings, open the interactive component playground. | |||
'''[https://toolkit.swarthmore.edu/?path=/story/swarthmore-theme-components-triple-image-callout Open Component Playground]'''}} | |||
{{StorybookComponent|id=swarthmore-theme-components-triple-image-callout|height=650}} | |||
== Step-by-step Instructions == | == Step-by-step Instructions == | ||
# Provide | # Provide a '''Title''' for the '''Triple Image Callout'''. ''Note: This is used for internal purposes only and is not displayed to visitors.'' | ||
# Optionally, add a | # Optionally, add a short '''Label''' to provide additional context for the '''Triple Image Callout'''. | ||
# To create each of | # To create each of the '''Items (Columns)''' that make up the '''Triple Image Callout''': | ||
## Add | ## Add an '''Image''' (landscape orientation is recommended). | ||
### <u>If using an existing image already in the system</u>: | ### <u>If using an existing image already in the system</u>: | ||
#### Click | #### Click the '''Insert an Image''' button to launch the image browser. | ||
#### Navigate to the image under | #### Navigate to the image under '''Select Image''', select it using the radio button, and click '''Select Image'''. | ||
### <u>If using a new image</u>: | ### <u>If using a new image</u>: | ||
#### | #### Click the '''Insert an Image''' button to launch the image browser. | ||
#### Click | #### Click '''Upload Image''', then click '''Browse…''' to locate the image on your computer. Finally, click '''Select Image'''. | ||
## Provide | ## Provide a '''Title''' (displayed as black text). | ||
## Provide a ''' | ## Provide a '''Subtitle''' (displayed above the title as red text). | ||
## Optionally, provide a | ## Optionally, provide a '''Call to Action Link''' related to this specific '''Item (Column)'''. | ||
## Optionally, | ## Optionally, enable '''Open URL in a New Window'''. | ||
# Optionally, provide a | # Optionally, provide a '''Call to Action Link''' related to the entire '''Triple Image Callout'''. | ||
[[Category:Drupal]] | [[Category:Drupal]] | ||
Latest revision as of 13:20, 10 July 2026
The Triple Image Callout component is a full-width collection of images with supporting text displayed beneath each item.
Elements
- Title (required, not displayed)
- Label
- Call to Action Link
- Triple Image Callout Item - Title
- Triple Image Callout Item - Image
- Triple Image Callout Item - Subtitle
- Triple Image Callout Item - Call to Action Link
Examples
Interactive Example
The preview below shows the Triple Image Callout component using its default configuration.
To experiment with different layouts and other settings, open the interactive component playground.
Open Component Playground
Step-by-step Instructions
- Provide a Title for the Triple Image Callout. Note: This is used for internal purposes only and is not displayed to visitors.
- Optionally, add a short Label to provide additional context for the Triple Image Callout.
- To create each of the Items (Columns) that make up the Triple Image Callout:
- Add an Image (landscape orientation is recommended).
- If using an existing image already in the system:
- Click the Insert an Image button to launch the image browser.
- Navigate to the image under Select Image, select it using the radio button, and click Select Image.
- If using a new image:
- Click the Insert an Image button to launch the image browser.
- Click Upload Image, then click Browse… to locate the image on your computer. Finally, click Select Image.
- If using an existing image already in the system:
- Provide a Title (displayed as black text).
- Provide a Subtitle (displayed above the title as red text).
- Optionally, provide a Call to Action Link related to this specific Item (Column).
- Optionally, enable Open URL in a New Window.
- Add an Image (landscape orientation is recommended).
- Optionally, provide a Call to Action Link related to the entire Triple Image Callout.
