Flashcard: Image
The Flashcard: Image is part of the Ionic Layout Component Set. This flashcard is dynamic and flips over when a user taps the card. The Flashcard: Image showcases an image on the front side and flips over to reveal Rich Text content on the backside.
Ideas for Using Flashcard: Image
Use this component to highlight specific products & provide an interactive experience, without requiring the user to leave the page. This component will overlay the text on the image, so keep this in mind when selecting your photos.
- Add a photo of the product.
- Add a headline, like the name of the product.
- When the user clicks Learn More, use the rich text editor to provide detailed information about the product.
- The text color for the front & back of the flashcard can be changed to match your branding.
- Select contrasting colors for text and choose the bold style to make text stand out.
- Add this component multiple times to the page to highlight more of your products.
Flashcard: Image Properties
The Flashcard: Image component has the following properties:
Component Id - Sets the name of the component in the app. The Component Id can be referenced using JavaScript to add more functionality to the app as needed.
Pro Tip: It is a best practice to use only letters without spaces for the Component Id. Symbols, spaces, and numbers are not recommended.
- Flip Message - Enter the text as it should appear to prompt users to tap the flashcard.
Message Color - Sets the color of the message's text. There are two ways to set the Message Color: Click the Color Swatch to choose from the app’s Color Palette or enter the hex code in the text field.
Front Side
Image - Upload a .JPG or .PNG to display an Image. To remove an uploaded Image, click on the Trash Can.
Pro Tip: Optimize all Images for the web to increase app performance and shorten load time. Square images are cropped to fit inside the circular frame. A square image 300 px by 300 px is recommended.
- Alt Text- Sets the text that appears if the Image fails to load. The Alt Text appears in a blank box where the Image would normally appear. It's recommend to always use Alt Text for any Images.
- Headline
- Text - Enter the text as it should appear in the app. The text uses the font selected in the Font Styling section of Branding. This text will wrap and there is no limit on the number of characters allowed.
- Text Color - Sets the color of the Subheadline Text. There are two ways to set the Text Color: Click the Color Swatch to choose from the app’s Color Palette or enter the hex code in the text field.
- Font Size - Set the size of the font in pixels.
- Bold Text - Toggles on or off to display the text as bold.
- Italic Text - Toggles on or off to display the text as italicized.
- Alignment - Sets the alignment of the Subheadline Text. Choose from the dropdown list: Left, Right, or Center.
- Subheadline
- Text - Enter the text as it should appear in the app. The text uses the font selected in the Font Styling section of Branding. This text will wrap and there is no limit on the number of characters allowed.
- Text Color - Sets the color of the Subheadline Text. There are two ways to set the Text Color: Click the Color Swatch to choose from the app’s Color Palette or enter the hex code in the text field.
- Font Size - Set the size of the font in pixels.
- Bold Text - Toggles on or off to display the text as bold.
- Italic Text - Toggles on or off to display the text as italicized.
- Alignment - Sets the alignment of the Subheadline Text. Choose from the dropdown list: Left, Right, or Center.
Back Side
- Background Color- Sets the color of the card's background. There are two ways to set the Message Color: Click the Color Swatch to choose from the app’s Color Palette or enter the hex code in the text field.
Rich Text Editor- Click Back Side to open the Rich Text content modal. Enter the text in this modal. The text will wrap and there is no limit on the number of characters allowed. The toolbar is used to format the text as needed.
Placement
Learn more about Placement settings.