diff --git a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/components/[componentId]/new/_components/NewComponentPanel.svelte b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/components/[componentId]/new/_components/NewComponentPanel.svelte
index 5dd059fbcb..95242b4a3a 100644
--- a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/components/[componentId]/new/_components/NewComponentPanel.svelte
+++ b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/components/[componentId]/new/_components/NewComponentPanel.svelte
@@ -179,15 +179,11 @@
>
{/if}
-
-
- {#if searchString || section === "components"}
- {#if filteredStructure.length}
- {#each filteredStructure as category}
-
+ {#if searchString || section === "components"}
+ {#if filteredStructure.length}
+ {#each filteredStructure as category}
+ {category.name}
{#each category.children as component}
{/each}
-
- {/each}
- {:else}
-
+ {/each}
+ {:else}
There aren't any components matching the current filter
-
- {/if}
- {:else}
-
+ {/if}
+ {:else}
Blocks are collections of pre-built components
{#each blocks as block}
@@ -224,8 +216,8 @@
{/each}
-
- {/if}
+ {/if}
+
@@ -239,6 +231,13 @@
flex-direction: row;
align-items: stretch;
}
+ .category-label {
+ color: var(--spectrum-global-color-gray-600);
+ text-transform: uppercase;
+ font-size: 12px;
+ font-weight: 600;
+ margin-top: var(--spacing-xs);
+ }
.component {
background-color: var(--spectrum-global-color-gray-200);
border-radius: 4px;