diff --git a/web/app/components/snippets/components/snippet-collapsed-preview.tsx b/web/app/components/snippets/components/snippet-collapsed-preview.tsx
index 69fa79ca087..731af1c744d 100644
--- a/web/app/components/snippets/components/snippet-collapsed-preview.tsx
+++ b/web/app/components/snippets/components/snippet-collapsed-preview.tsx
@@ -1,5 +1,7 @@
'use client'
+import { SnippetPlaceholderIcon } from './snippet-placeholder-icon'
+
export function SnippetCollapsedPreview({
inputFieldCount,
}: {
@@ -10,17 +12,7 @@ export function SnippetCollapsedPreview({
className="flex min-h-0 grow flex-col items-center px-2 pt-4"
aria-label="Snippet collapsed preview"
>
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ )
+}
diff --git a/web/app/components/snippets/components/snippet-sidebar.tsx b/web/app/components/snippets/components/snippet-sidebar.tsx
index 4f197e72f7c..a8ae1c9c8ef 100644
--- a/web/app/components/snippets/components/snippet-sidebar.tsx
+++ b/web/app/components/snippets/components/snippet-sidebar.tsx
@@ -12,6 +12,7 @@ import ConfigVarModal from '@/app/components/app/configuration/config-var/config
import Field from '@/app/components/workflow/nodes/_base/components/field'
import VarList from '@/app/components/workflow/nodes/start/components/var-list'
import { hasDuplicateStr } from '@/utils/var'
+import { SnippetPlaceholderIcon } from './snippet-placeholder-icon'
type SnippetSidebarProps = {
snippet: SnippetDetail
@@ -95,16 +96,20 @@ export const SnippetSidebarContent = ({
+
{snippet.name}
- {!!snippet.description && (
-
- {snippet.description}
-
- )}
+ {!!snippet.description && (
+
+ {snippet.description}
+
+ )}