Skip to main content

Components

Rich Text Grid

Simple two column table layout of content that allows table/value or label/descripition pair as rows

Related resources

AEM components:
  • Awaiting delivery

AEM status:

Unavailable

Standard Examples

Standard Examples

Financial Data Examples

Standard Examples

Horizontal: small values
Horizontal small values

Horizontal: large values
Horizontal large values

Usage

How to use

Use the Rich text grid as a standalone component within a page section or Section Frame. Set the Layout option based on your content which will be primarily based on the width of labels with any instance. Columns can be evenly split but there are also options to set the label column to Narrow (160px), Medium (248px), or Wide (328px). Tooltip icons are optional and the description area can include a simple description, description + link, or a badge component. When including the tooltip icon you will need to override the default auto-layout settings for the Label from “hug” to “fill” when text is longer than the field width to get the label/icon pair to wrap appropriately with the available space.

General Do’s

Keep labels and values clear and concise

Select layouts that reflect the right balance between row labels and values

Try to maintain uniformity of style, extent of content, and types of actions across an instance or rich text grid

General Don’ts

Avoid lengthy descriptions or density of content. Grids should be scannable

Don’t include too many competing actions of different types

Standard Variants and Properties

Caption for table
Property nameProperty typeDescriptionValuesDefault value
TypeVariants

Two main types:

  • Standard: Layout variants are based on label width
  • Financial data: Description is bold and Label regular and layouts are vertical vs horizontal
Standard
Financial Data
Standard
Description sizeVariantsAllows for a smaller description text size for longer description contentDefault (P1)
Small (P2)
Default
Layout – Standard variantVariantsControls the width of the Labels column with the "Description" cells filling the remaining available spaceEven split, Narrow labels, Medium labels, Wide labelsDefault
Row heightVariantsCompact option reduces the top and bottom padding by half (16 to 8px) and removes the dividing line between rowsDefault
Compact
Default

Standard row variants and properties

Rows have configuration options that are applied at the row level to support
varying extent of content and actions in context.

Caption for table
Property nameProperty typeDescriptionValuesDefault value
TooltipBoolean

When enabled this includes an authorable Tooltip Icon to the right of the Label

True
False
False
Contextual iconBooleanAdds a decorative contextual/category icon to the left of the label. Uses the Icon component at 24px and any icon from the UI icon set can be usedTrue
False
False
Sub-labelVariantsAdds optional sub-label in smaller type for additional contextTrue
False
False
Descripton styleVariantsProvides a range of options for description type and/or associated actions

Text
Text + Link
Badge
Metadata
Pill button

Text
Copy buttonBooleanLabels are authorableFree textButton

Financial data variants and properties

Caption for table
Property nameProperty typeDescriptionValuesDefault value
LayoutVariants

Four available layouts that support varying content widths and content options

Standard
Narrow (Width < 225px)
Horizontal - small values
Mobile Horizontal - small values (Width < 768px)
Horizontal - large values

Standard
HeadingBooleanWhen enabled it includes a configurable Header of the RT Grid instance. Standard and Narrow layouts onlyFalse
True
True

Financial data row variants and properties

Rows have configuration options that are applied at the row level to support
varying extent of content and actions in context.

Caption for table
Property nameProperty typeDescriptionValuesDefault value
TooltipBooleanWhen enabled this includes an authorable Tooltip Icon to the right of the LabelFalse
True
False
Contextual iconBooleanAdds a decorative contextual/category icon to the left of the label. Uses the Icon component at 24px and any icon from the UI icon set can be usedFalse
True
False
Sub-labelVariantsAdds optional sub-label in smaller type for additional context. Standard and Narrow layout only.

Even split
Narrow labels
Medium labels
Wide labels

Default
Value cell typeVariantsProvided different styling and associated informative icon for Standard (neutral), Gains (positive), and Losses (negative)

Standard
Negative
Positive

Standard

Variants and properties examples

Default text size and height without icons
Default text size and height without icons

Narrow layout
Default text size and height without icons

Desktop with Tooltip and Link + text description variant, and Copy description examples
Default text size and height without icons

Compact height - small text - narrow labels - no Tooltip
Compact height - small text - narrow labels - no Tooltip

Default height - standard text - narrow labels - contextual icon - sub-label - button in description area (right aligned)
Default height - standard text - narrow labels - contextual icon - sub-label - button in description area (right aligned)

Related components

Component serving similar functions
Caption for table
ComponentsDescription
Data TablePulling the description from the overview content
Rich TextFor the principal call to action on the page. Primary buttons should only appear once per screen (not including the application header, modal dialog, or side panel).
Sub-components

Reusable components used with this component or sub-assets that drive its content or functionality

Caption for table
ComponentsTypeDescription
Rich Text Grid RowsSub-componentPulling the description from the overview content
Rich Text DescriptionSub-componentFor the principal call to action on the page. Primary buttons should only appear once per screen (not including the application header, modal dialog, or side panel).
Value cell typeSub-componentFor the principal call to action on the page. Primary buttons should only appear once per screen (not including the application header, modal dialog, or side panel).
Section headerReusable componentFor the principal call to action on the page. Primary buttons should only appear once per screen (not including the application header, modal dialog, or side panel).
Tooltip iconReusable componentFor the principal call to action on the page. Primary buttons should only appear once per screen (not including the application header, modal dialog, or side panel).
BadgeReusable componentFor the principal call to action on the page. Primary buttons should only appear once per screen (not including the application header, modal dialog, or side panel).
Pill buttonReusable componentFor the principal call to action on the page. Primary buttons should only appear once per screen (not including the application header, modal dialog, or side panel).
Secondary linkReusable componentFor the principal call to action on the page. Primary buttons should only appear once per screen (not including the application header, modal dialog, or side panel).

Accessibility of Rich Text Grids

RT Grid Standard
Standard
RT Grid Financial data horizonal
Financial data horizonal
RT Grid Financial data horizonal
Financial data horizonal
Non-standard reading order: per mobile layouts
Mobile layouts
Accessibility overview
Caption for table
FunctionDescription
Reading orderReading order is left to right then top to bottom unless otherwise specified here.
Tab orderTab order is left to right then top to bottom unless otherwise specified here. Visible focus should utilize Forge Focus state styles
Heading levelSince this component will sit within a page hierarchy all Heading levels will be dependent on where it sits in that hierarchy. Both the heading size/style and semantic heading level should be independently configurable per the Section header component. Heading levels are not needed inside a semantic table.
AriaAvailable for icons and interactive elements in the page as aria or aria-labelledby where appropriate. Note that the preference is for buttons to use specific visible labels where reasonable to do so and reserve usage of aria-labelledby for actions with generic labels that require related context. Aria labels should be translated if the parent page changes language. This is simplified if using visible text or aria-labelledby, in the case where the aria label is not derived from aria-labelledby then ensure that the translated label is enabled to be switched by the page Negative and Positive icons should only be used in the context of showing “Gains” or “Losses” and the associated icons (“Up” or “Down” arrow) should include a matching “Up” or “Down” aria label.

Responsive behaviour

Standard
Standard

Financial data standard
3-column: Desktop (12-item example)

3-column: Tablet

3-column: Desktop - Text layout:Vertical

Financial data horizontal
Small - no wrapping

Small - wrapping

Small - mobile

Small - large no wrapping

Small - large wrapping