diff --git a/docs/_layouts/component.njk b/docs/_layouts/component.njk
index 1b7a95cc5..83cfa0ecd 100644
--- a/docs/_layouts/component.njk
+++ b/docs/_layouts/component.njk
@@ -200,31 +200,6 @@
{% endif %}
- {# Custom States #}
- {% if component.cssStates.length %}
-
Custom States
-
- {% endif %}
-
{# CSS Parts #}
{% if component.cssParts.length %}
CSS parts
@@ -249,6 +224,31 @@
{% endif %}
+ {# Custom States #}
+ {% if component.cssStates.length %}
+ Custom States
+
+ {% endif %}
+
{# Dependencies #}
{% if component.dependencies.length %}
Dependencies