Text Only Card
The Text Only Card Component is part of the Ionic Layout Component Set. This card can have a Headline, Subheadline and Body Copy.
Ideas for Using Text Only Card
- Call attention to important information, such as helpful hints, updates, or news. Set the background color to something that will pop on the page.
- Play with the font sizes of the headline and subheadline. The headline can be set to appear smaller than the subheadline, creating the appearance of a section title.
- Stack multiple Text Only Card Components on a Page to create a list of categories or topics for app users to explore.
- Want to link out to an internal page, external page or Document? This Component can do it all.
Text Only Card Properties
The Text Only Card Component has the following properties:
- Component Id - Sets the name of the Text Only Card 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. -
Link - Sets the link to another Page in the app or an external URL.
Pro Tip: Type in tel:5558675309 to link to a phone number with "5558675309" replaced with the applicable 10-digit phone number or mailto:emailaddress to open up the default email client from the app with "emailaddress" replaced with the email address you want to be sent the email. -
Open Link in a New Tab - Toggles on or off whether the Link opens in a new tab or not in the app.
-
Background Color - Sets the color of the card background. There are two ways to set the Background Color: Click the Color Swatch to choose from the app’s Color Palette or enter the hex code in the text field.
- 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 Headline 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 Headline Text. Choose from the dropdown list: Left, Right, or Center.
Pro Tip: Entering only a Headline without a Link, Subheadline, nor Body Copy creates a section header. Without a link the card is not clickable and can act as a colorful section break. - 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.
- Body Copy
- 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 Body Copy 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 Body Copy Text. Choose from the dropdown list: Left, Right, or Center.
Text Only Card Placement Settings
The Placement Settings for the Component sets which column(s) the Component will appear. Each Page of the app can have a different number of columns that are set in the Layout section of the Page Settings. The following Placement settings are available for this Component:
- Column Start - Sets the column where the Component will start.
- Column Span - Sets how many columns the Component will span.
- Padding - Sets how much space will appear on the top, bottom, left, and right of the Component. When building a Page with multiple Components, the Padding will determine the overall spacing between Components.
- Display Mode - Sets how the Component is displayed. If Both is selected, the Component will always show. Both are the default option. If Optimal is selected, the Component will only show if the browser supports the app. The main supported browsers are Chrome and Safari. If Degraded is selected, the Component will only show if the browser does not support the app. The main unsupported browser is Internet Explorer.