Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

use page icon

Roman Pominov18f724aac7b7
diff --git a/apps/designer/app/designer/features/sidebar-left/panels/pages/index.tsx b/apps/designer/app/designer/features/sidebar-left/panels/pages/index.tsx
index 90a8497546..1bf2b53503 100644
--- a/apps/designer/app/designer/features/sidebar-left/panels/pages/index.tsx
+++ b/apps/designer/app/designer/features/sidebar-left/panels/pages/index.tsx
@@ -2,7 +2,7 @@
import { TreeNodeLabel, TreeNode } from "@webstudio-is/design-system";
import { type Publish } from "~/shared/pubsub";
-import { StackIcon } from "@webstudio-is/icons";
+import { PageIcon } from "@webstudio-is/icons";
import type { TabName } from "../../types";
import { Header } from "../../lib/header";
import { type Page, type Pages, type Project } from "@webstudio-is/project";
@@ -97,4 +97,4 @@ export const TabContent = ({
};
// @todo: proper icon
-export const icon = <StackIcon />;
+export const icon = <PageIcon />;
diff --git a/packages/icons/src/index.ts b/packages/icons/src/index.ts
index a15ffb67ce..1897831629 100644
--- a/packages/icons/src/index.ts
+++ b/packages/icons/src/index.ts
@@ -48,3 +48,4 @@ export { TrashIcon } from "./trash";
export { SizeIcon } from "./size";
export { UploadIcon } from "./upload";
export { GearIcon, gearIconCssVars } from "./gear";
+export * from "./page";
diff --git a/packages/icons/src/page.tsx b/packages/icons/src/page.tsx
new file mode 100644
index 0000000000..2cd745639b
--- /dev/null
+++ b/packages/icons/src/page.tsx
@@ -0,0 +1,28 @@
+import * as React from "react";
+import { IconProps } from "./types";
+
+export const PageIcon = React.forwardRef<SVGSVGElement, IconProps>(
+ ({ color = "currentColor", ...props }, forwardedRef) => {
+ return (
+ <svg
+ width="16"
+ height="16"
+ viewBox="0 0 16 16"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ {...props}
+ ref={forwardedRef}
+ >
+ <path
+ d="M9.19995 2.16168V4.64C9.19995 4.97603 9.19995 5.14405 9.26535 5.27239C9.32287 5.38529 9.41466 5.47708 9.52756 5.5346C9.6559 5.6 9.82392 5.6 10.16 5.6H11.3991H12.6383M12.8 6.79293V11.12C12.8 12.1281 12.8 12.6321 12.6038 13.0172C12.4312 13.3559 12.1558 13.6312 11.8171 13.8038C11.4321 14 10.928 14 9.91995 14H6.07995C5.07186 14 4.56781 14 4.18277 13.8038C3.84408 13.6312 3.56871 13.3559 3.39614 13.0172C3.19995 12.6321 3.19995 12.1281 3.19995 11.12V4.88C3.19995 3.87191 3.19995 3.36786 3.39614 2.98282C3.56871 2.64413 3.84408 2.36876 4.18277 2.19619C4.56781 2 5.07186 2 6.07995 2H8.00702C8.44728 2 8.66741 2 8.87457 2.04973C9.05823 2.09383 9.23381 2.16656 9.39486 2.26525C9.57651 2.37656 9.73217 2.53222 10.0435 2.84353L11.9564 4.75647C12.2677 5.06778 12.4234 5.22344 12.5347 5.40509C12.6334 5.56614 12.7061 5.74172 12.7502 5.92538C12.8 6.13254 12.8 6.35267 12.8 6.79293Z"
+ stroke={color}
+ strokeWidth="1.3"
+ strokeLinecap="round"
+ strokeLinejoin="round"
+ />
+ </svg>
+ );
+ }
+);
+
+PageIcon.displayName = "PageIcon";