Decorative Text Component
The Decorative Text Component should be used in a Flex Container to emphasize marketing messages, quotes, or similar content. It can also enhance the visual appeal of the page. The text is not a headline; it is purely decorative, as the name implies.
This is a Decorative Text Component
Best practice
The decorative text component should never be used as a headline in any component. The reason for this is that it is not coded as a heading, and therefore, it negatively impacts accessibility and SEO.
Do
- Use a proper headline, such as a Headline component, in this example.
Bolåneräntor – aktuella snitträntor och listräntor
Jämför våra bolåneräntor och snitträntor. Hos oss är boräntan alltid personlig och kan därför bli lägre än våra listräntor.
![](/content/experience-fragments/swedbank/aem_help/components/decorative-text/decorative-text-heading-do/_jcr_content/root/container/flex_container_copy/flex-container-right/imagev3.coreimg.jpeg/1718804285487/20191121-swedbank-05-724-standard.jpeg)
Don't
- Do not use Decorative Text component as a headline.
Bolåneräntor – aktuella snitträntor och listräntor
Jämför våra bolåneräntor och snitträntor. Hos oss är boräntan alltid personlig och kan därför bli lägre än våra listräntor.
![](/content/experience-fragments/swedbank/aem_help/components/decorative-text/master/_jcr_content/root/container/flex_container/flex-container-right/imagev3.coreimg.jpeg/1718804285487/20191121-swedbank-05-724-standard.jpeg)
- Messages that are highlighted should always be grouped together.
- 1-3 words should be highlighted.
Do
Hemförsäkring – skyddar ditt hem och dina saker
Don't
Hemförsäkring – skyddar ditt hem och dina saker
This component should be placed either independently on the page or within a Flex container.
Do not overuse the Decorative Text component. Using it once per page is more than enough.
Configuration in AEM
The Decorative Text should be used in the Flex Container or independently on the page.
When highlighting text in the Flex Container, use Decorative Text to create variation and a warm, lively expression.
- Insert your text
- Click on the words that should be highlighted
Highlighting criteria
- Only highlight one word or a short expression (1-3 words) per view.
- Ensure the highlight color does not dominate the overall design.
Colour usage
- Default color: Swedbank Orange.
- Highlight color: Tulip.
Important note!
Do not use Deacorative as a headline because it's not coded as a heading, and therefore, it negatively impacts accessibility and SEO.
![Decorative text component](/adobe/dynamicmedia/deliver/dm-aid--e38ed545-467a-41ca-b64b-9f249ab3aa8a/decorative-text-component.png?preferwebp=true&quality=82)