diff --git a/helpers/frontend/views/frontend-components.njk b/helpers/frontend/views/frontend-components.njk
index 038f0da18..7c1f800dc 100644
--- a/helpers/frontend/views/frontend-components.njk
+++ b/helpers/frontend/views/frontend-components.njk
@@ -492,7 +492,13 @@
warningText
{{ warningText({
- text: "Warning text"
+ text: "Warning"
+}) }}
+
+{{ warningText({
+ text: "With different icon (and without hidden ‘warning’ prefix)",
+ icon: "cross",
+ iconFallbackText: "false"
}) }}
widget
diff --git a/packages/frontend/components/warning-text/template.njk b/packages/frontend/components/warning-text/template.njk
index 1c0973853..bcdf2682d 100644
--- a/packages/frontend/components/warning-text/template.njk
+++ b/packages/frontend/components/warning-text/template.njk
@@ -2,7 +2,7 @@
{{- attributes(opts.attributes) }}>
{{ icon(opts.icon | default("warning")) }}
- {{ opts.iconFallbackText | default(__("warning")) }}
+ {% if not opts.iconFallbackText %}{{ opts.iconFallbackText | default(__("warning")) }}{% endif %}
{{ opts.text | safe }}
\ No newline at end of file