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.

standalone package for icons

Oleg Isonen444d49ad970e
diff --git a/apps/designer/app/auth/login.tsx b/apps/designer/app/auth/login.tsx
index 0d001e58ef..4c5f713edd 100644
--- a/apps/designer/app/auth/login.tsx
+++ b/apps/designer/app/auth/login.tsx
@@ -5,7 +5,7 @@ import { useState } from "react";
import { Card, Flex, Heading, Text, TextField } from "~/shared/design-system";
import interStyles from "~/shared/font-faces/inter.css";
-import { GithubIcon, CommitIcon, GoogleIcon } from "~/shared/icons";
+import { GithubIcon, CommitIcon, GoogleIcon } from "@webstudio-is/icons";
import { LoginButton } from "./components/login-button";
import loginStyles from "./login.css";
diff --git a/apps/designer/app/designer/features/breadcrumbs/breadcrumbs.tsx b/apps/designer/app/designer/features/breadcrumbs/breadcrumbs.tsx
index efd7c69f30..1eb92573b8 100644
--- a/apps/designer/app/designer/features/breadcrumbs/breadcrumbs.tsx
+++ b/apps/designer/app/designer/features/breadcrumbs/breadcrumbs.tsx
@@ -1,4 +1,4 @@
-import { ChevronRightIcon } from "~/shared/icons";
+import { ChevronRightIcon } from "@webstudio-is/icons";
import { Button, Flex, Text, darkTheme } from "~/shared/design-system";
import { useSelectedInstancePath } from "../../shared/instance/use-selected-instance-path";
import { type Publish, type Instance } from "@webstudio-is/react-sdk";
diff --git a/apps/designer/app/designer/features/breakpoints/breakpoints-editor.tsx b/apps/designer/app/designer/features/breakpoints/breakpoints-editor.tsx
index 4f40c40b30..c1e9d26721 100644
--- a/apps/designer/app/designer/features/breakpoints/breakpoints-editor.tsx
+++ b/apps/designer/app/designer/features/breakpoints/breakpoints-editor.tsx
@@ -2,7 +2,7 @@ import { useState } from "react";
import useDebounce from "react-use/lib/useDebounce";
import { type Breakpoint, type Publish } from "@webstudio-is/react-sdk";
import { Button, TextField, Flex, Text } from "~/shared/design-system";
-import { PlusIcon, TrashIcon } from "~/shared/icons";
+import { PlusIcon, TrashIcon } from "@webstudio-is/icons";
import ObjectId from "bson-objectid";
import { useBreakpoints } from "~/shared/nano-states";
diff --git a/apps/designer/app/designer/features/breakpoints/trigger-button.tsx b/apps/designer/app/designer/features/breakpoints/trigger-button.tsx
index 607edafc7b..0782827c37 100644
--- a/apps/designer/app/designer/features/breakpoints/trigger-button.tsx
+++ b/apps/designer/app/designer/features/breakpoints/trigger-button.tsx
@@ -12,7 +12,7 @@ import {
LaptopIcon,
MobileIcon,
TabletIcon,
-} from "~/shared/icons";
+} from "@webstudio-is/icons";
type TriggerButtonProps = ComponentProps<typeof Button>;
diff --git a/apps/designer/app/designer/features/props-panel/props-panel.tsx b/apps/designer/app/designer/features/props-panel/props-panel.tsx
index 3c9df5920d..004a036fe7 100644
--- a/apps/designer/app/designer/features/props-panel/props-panel.tsx
+++ b/apps/designer/app/designer/features/props-panel/props-panel.tsx
@@ -16,7 +16,11 @@ import {
Grid,
Tooltip,
} from "~/shared/design-system";
-import { PlusIcon, TrashIcon, ExclamationTriangleIcon } from "~/shared/icons";
+import {
+ PlusIcon,
+ TrashIcon,
+ ExclamationTriangleIcon,
+} from "@webstudio-is/icons";
import { handleChangePropType, usePropsLogic } from "./use-props-logic";
type PropertyProps = UserProp & {
diff --git a/apps/designer/app/designer/features/sidebar-left/panels/asset-manager.tsx b/apps/designer/app/designer/features/sidebar-left/panels/asset-manager.tsx
index 80db7345aa..1e038afcd9 100644
--- a/apps/designer/app/designer/features/sidebar-left/panels/asset-manager.tsx
+++ b/apps/designer/app/designer/features/sidebar-left/panels/asset-manager.tsx
@@ -1,4 +1,4 @@
-import { ImageIcon } from "~/shared/icons";
+import { ImageIcon } from "@webstudio-is/icons";
import { Flex, Grid, Heading } from "~/shared/design-system";
import { useEffect, useState } from "react";
import { useActionData } from "@remix-run/react";
diff --git a/apps/designer/app/designer/features/sidebar-left/panels/components/components.tsx b/apps/designer/app/designer/features/sidebar-left/panels/components/components.tsx
index 41b6c842cc..5f11fc13aa 100644
--- a/apps/designer/app/designer/features/sidebar-left/panels/components/components.tsx
+++ b/apps/designer/app/designer/features/sidebar-left/panels/components/components.tsx
@@ -3,7 +3,7 @@ import { useDrag } from "react-dnd";
import { getEmptyImage } from "react-dnd-html5-backend";
import { type Instance, type Publish } from "@webstudio-is/react-sdk";
import { Flex } from "~/shared/design-system";
-import { PlusIcon } from "~/shared/icons";
+import { PlusIcon } from "@webstudio-is/icons";
import { primitives, type DragData } from "~/shared/canvas-components";
import { createInstance } from "~/shared/tree-utils";
import type { TabName } from "../../types";
diff --git a/apps/designer/app/designer/features/sidebar-left/panels/tree.tsx b/apps/designer/app/designer/features/sidebar-left/panels/tree.tsx
index cf7751175b..d9121b9d2e 100644
--- a/apps/designer/app/designer/features/sidebar-left/panels/tree.tsx
+++ b/apps/designer/app/designer/features/sidebar-left/panels/tree.tsx
@@ -1,5 +1,5 @@
import { type Instance, type Publish } from "@webstudio-is/react-sdk";
-import { ListNestedIcon } from "~/shared/icons";
+import { ListNestedIcon } from "@webstudio-is/icons";
import { Flex } from "~/shared/design-system";
import { type SelectedInstanceData } from "~/shared/canvas-components";
import { useSelectedInstancePath } from "~/designer/shared/instance/use-selected-instance-path";
diff --git a/apps/designer/app/designer/features/style-panel/search.tsx b/apps/designer/app/designer/features/style-panel/search.tsx
index 04d9898c38..1a38de4e33 100644
--- a/apps/designer/app/designer/features/style-panel/search.tsx
+++ b/apps/designer/app/designer/features/style-panel/search.tsx
@@ -1,6 +1,6 @@
import { useState } from "react";
import { css, IconButton, TextField } from "~/shared/design-system";
-import { Cross1Icon } from "~/shared/icons";
+import { Cross1Icon } from "@webstudio-is/icons";
const formStyle = css({
position: "relative",
diff --git a/apps/designer/app/designer/features/style-panel/settings.tsx b/apps/designer/app/designer/features/style-panel/settings.tsx
index 52170ecf1d..4fc61a93bd 100644
--- a/apps/designer/app/designer/features/style-panel/settings.tsx
+++ b/apps/designer/app/designer/features/style-panel/settings.tsx
@@ -7,7 +7,7 @@ import {
type Style,
} from "@webstudio-is/react-sdk";
import { Flex, Collapsible, Button } from "~/shared/design-system";
-import { TriangleRightIcon, TriangleDownIcon } from "~/shared/icons";
+import { TriangleRightIcon, TriangleDownIcon } from "@webstudio-is/icons";
import { styleConfigs, type StyleConfig } from "~/shared/style-panel-configs";
import { CollapsibleSection } from "~/designer/shared/inspector";
import { renderProperty } from "./render-property";
diff --git a/apps/designer/app/designer/features/topbar/menu/menu.tsx b/apps/designer/app/designer/features/topbar/menu/menu.tsx
index 4ec00fb8ba..4abf36363e 100644
--- a/apps/designer/app/designer/features/topbar/menu/menu.tsx
+++ b/apps/designer/app/designer/features/topbar/menu/menu.tsx
@@ -12,7 +12,7 @@ import {
IconButton,
Box,
} from "~/shared/design-system";
-import { HamburgerMenuIcon, ChevronRightIcon } from "~/shared/icons";
+import { HamburgerMenuIcon, ChevronRightIcon } from "@webstudio-is/icons";
import type { Config } from "~/config";
import { ShortcutHint } from "./shortcut-hint";
import {
diff --git a/apps/designer/app/designer/features/topbar/preview.tsx b/apps/designer/app/designer/features/topbar/preview.tsx
index 2989bf3a2d..0325804675 100644
--- a/apps/designer/app/designer/features/topbar/preview.tsx
+++ b/apps/designer/app/designer/features/topbar/preview.tsx
@@ -1,5 +1,5 @@
import { useSubscribe, type Publish } from "@webstudio-is/react-sdk";
-import { EyeOpenIcon } from "~/shared/icons";
+import { EyeOpenIcon } from "@webstudio-is/icons";
import { SimpleToggle } from "~/shared/design-system";
import { useIsPreviewMode } from "~/shared/nano-states";
diff --git a/apps/designer/app/designer/features/topbar/publish.tsx b/apps/designer/app/designer/features/topbar/publish.tsx
index 4c429e1558..379da0a8a2 100644
--- a/apps/designer/app/designer/features/topbar/publish.tsx
+++ b/apps/designer/app/designer/features/topbar/publish.tsx
@@ -1,7 +1,7 @@
import { useState, useEffect } from "react";
import { useFetcher } from "@remix-run/react";
import { useId } from "@radix-ui/react-id";
-import { RocketIcon, ExternalLinkIcon } from "~/shared/icons";
+import { RocketIcon, ExternalLinkIcon } from "@webstudio-is/icons";
import { type Project } from "@webstudio-is/prisma-client";
import {
Button,
diff --git a/apps/designer/app/designer/features/topbar/share.tsx b/apps/designer/app/designer/features/topbar/share.tsx
index ffd631d508..9297bef4b7 100644
--- a/apps/designer/app/designer/features/topbar/share.tsx
+++ b/apps/designer/app/designer/features/topbar/share.tsx
@@ -7,7 +7,7 @@ import {
PopoverTrigger,
TextField,
} from "~/shared/design-system";
-import { Share1Icon } from "~/shared/icons";
+import { Share1Icon } from "@webstudio-is/icons";
import { type Project } from "@webstudio-is/prisma-client";
import { useIsShareDialogOpen } from "../../shared/nano-states";
diff --git a/apps/designer/app/designer/features/topbar/sync-status.tsx b/apps/designer/app/designer/features/topbar/sync-status.tsx
index 121d01ce4c..daba7dced2 100644
--- a/apps/designer/app/designer/features/topbar/sync-status.tsx
+++ b/apps/designer/app/designer/features/topbar/sync-status.tsx
@@ -1,5 +1,5 @@
import { Flex, keyframes, AccessibleIcon } from "~/shared/design-system";
-import { CheckIcon, DotsHorizontalIcon } from "~/shared/icons";
+import { CheckIcon, DotsHorizontalIcon } from "@webstudio-is/icons";
import { useSyncStatus } from "../../shared/nano-states";
const iconSize = 15;
diff --git a/apps/designer/app/designer/features/workspace/canvas-tools/text-toolbar/text-toolbar.tsx b/apps/designer/app/designer/features/workspace/canvas-tools/text-toolbar/text-toolbar.tsx
index 9212427acd..fe9d095e6f 100644
--- a/apps/designer/app/designer/features/workspace/canvas-tools/text-toolbar/text-toolbar.tsx
+++ b/apps/designer/app/designer/features/workspace/canvas-tools/text-toolbar/text-toolbar.tsx
@@ -5,7 +5,7 @@ import {
useSelectionRect,
} from "~/designer/shared/nano-states";
import { ToggleGroup, type CSS } from "~/shared/design-system";
-import { FontBoldIcon, FontItalicIcon, Link2Icon } from "~/shared/icons";
+import { FontBoldIcon, FontItalicIcon, Link2Icon } from "@webstudio-is/icons";
import { createInstance } from "~/shared/tree-utils";
const getPlacement = ({
diff --git a/apps/designer/app/designer/shared/inspector/collapsible-section.tsx b/apps/designer/app/designer/shared/inspector/collapsible-section.tsx
index 4994b7e482..7aa394a8ac 100644
--- a/apps/designer/app/designer/shared/inspector/collapsible-section.tsx
+++ b/apps/designer/app/designer/shared/inspector/collapsible-section.tsx
@@ -1,6 +1,6 @@
import { createValueContainer, useValue } from "react-nano-state";
import { Box, Flex, Text, Collapsible } from "~/shared/design-system";
-import { ChevronDownIcon, ChevronRightIcon } from "~/shared/icons";
+import { ChevronDownIcon, ChevronRightIcon } from "@webstudio-is/icons";
type CollapsibleSectionProps = {
label: string;
diff --git a/apps/designer/app/designer/shared/tree/tree.tsx b/apps/designer/app/designer/shared/tree/tree.tsx
index 6e0be81cb8..2e5eabfd8b 100644
--- a/apps/designer/app/designer/shared/tree/tree.tsx
+++ b/apps/designer/app/designer/shared/tree/tree.tsx
@@ -8,7 +8,7 @@ import {
keyframes,
styled,
} from "~/shared/design-system";
-import { TriangleRightIcon, TriangleDownIcon } from "~/shared/icons";
+import { TriangleRightIcon, TriangleDownIcon } from "@webstudio-is/icons";
import { primitives } from "~/shared/canvas-components";
import noop from "lodash.noop";
diff --git a/apps/designer/app/shared/canvas-components/primitives/bold.tsx b/apps/designer/app/shared/canvas-components/primitives/bold.tsx
index 36d186909d..209e772b64 100644
--- a/apps/designer/app/shared/canvas-components/primitives/bold.tsx
+++ b/apps/designer/app/shared/canvas-components/primitives/bold.tsx
@@ -1,5 +1,5 @@
import { components } from "@webstudio-is/react-sdk";
-export { FontBoldIcon as Icon } from "~/shared/icons";
+export { FontBoldIcon as Icon } from "@webstudio-is/icons";
export const canAcceptChild = (): boolean => {
return false;
diff --git a/apps/designer/app/shared/canvas-components/primitives/box.tsx b/apps/designer/app/shared/canvas-components/primitives/box.tsx
index 17ce6cff6d..f024cd2244 100644
--- a/apps/designer/app/shared/canvas-components/primitives/box.tsx
+++ b/apps/designer/app/shared/canvas-components/primitives/box.tsx
@@ -1,5 +1,5 @@
import { type Style, components } from "@webstudio-is/react-sdk";
-export { SquareIcon as Icon } from "~/shared/icons";
+export { SquareIcon as Icon } from "@webstudio-is/icons";
// Webstudio specific default styles for the node type.
export const defaultStyle: Style = {
diff --git a/apps/designer/app/shared/canvas-components/primitives/button.tsx b/apps/designer/app/shared/canvas-components/primitives/button.tsx
index 8657972881..9e02733ffb 100644
--- a/apps/designer/app/shared/canvas-components/primitives/button.tsx
+++ b/apps/designer/app/shared/canvas-components/primitives/button.tsx
@@ -1,5 +1,5 @@
import { type Style, components } from "@webstudio-is/react-sdk";
-export { ButtonIcon as Icon } from "~/shared/icons";
+export { ButtonIcon as Icon } from "@webstudio-is/icons";
// Webstudio specific default styles for the node type.
export const defaultStyle: Style = {};
diff --git a/apps/designer/app/shared/canvas-components/primitives/form.tsx b/apps/designer/app/shared/canvas-components/primitives/form.tsx
index 6ed77f094e..ec8aba30d2 100644
--- a/apps/designer/app/shared/canvas-components/primitives/form.tsx
+++ b/apps/designer/app/shared/canvas-components/primitives/form.tsx
@@ -1,5 +1,5 @@
import { type Style, components } from "@webstudio-is/react-sdk";
-export { FormIcon as Icon } from "~/shared/icons";
+export { FormIcon as Icon } from "@webstudio-is/icons";
// Webstudio specific default styles for the node type.
export const defaultStyle: Style = {
diff --git a/apps/designer/app/shared/canvas-components/primitives/heading.tsx b/apps/designer/app/shared/canvas-components/primitives/heading.tsx
index 268e0c4984..47188bbc2c 100644
--- a/apps/designer/app/shared/canvas-components/primitives/heading.tsx
+++ b/apps/designer/app/shared/canvas-components/primitives/heading.tsx
@@ -1,5 +1,5 @@
import { type Style, components } from "@webstudio-is/react-sdk";
-export { HeadingIcon as Icon } from "~/shared/icons";
+export { HeadingIcon as Icon } from "@webstudio-is/icons";
// Webstudio specific default styles for the node type.
export const defaultStyle: Style = {};
diff --git a/apps/designer/app/shared/canvas-components/primitives/input.tsx b/apps/designer/app/shared/canvas-components/primitives/input.tsx
index 4d87f23d83..bfb79ffb5a 100644
--- a/apps/designer/app/shared/canvas-components/primitives/input.tsx
+++ b/apps/designer/app/shared/canvas-components/primitives/input.tsx
@@ -1,5 +1,5 @@
import { type Style, components } from "@webstudio-is/react-sdk";
-export { InputIcon as Icon } from "~/shared/icons";
+export { InputIcon as Icon } from "@webstudio-is/icons";
// Webstudio specific default styles for the node type.
export const defaultStyle: Style = {};
diff --git a/apps/designer/app/shared/canvas-components/primitives/italic.tsx b/apps/designer/app/shared/canvas-components/primitives/italic.tsx
index be5c1add67..9454fa99dc 100644
--- a/apps/designer/app/shared/canvas-components/primitives/italic.tsx
+++ b/apps/designer/app/shared/canvas-components/primitives/italic.tsx
@@ -1,5 +1,5 @@
import { components } from "@webstudio-is/react-sdk";
-export { FontBoldIcon as Icon } from "~/shared/icons";
+export { FontBoldIcon as Icon } from "@webstudio-is/icons";
export const canAcceptChild = (): boolean => {
return false;
diff --git a/apps/designer/app/shared/canvas-components/primitives/link.tsx b/apps/designer/app/shared/canvas-components/primitives/link.tsx
index 77d6cebdb2..107c86d556 100644
--- a/apps/designer/app/shared/canvas-components/primitives/link.tsx
+++ b/apps/designer/app/shared/canvas-components/primitives/link.tsx
@@ -1,5 +1,5 @@
import { type Style, components } from "@webstudio-is/react-sdk";
-export { Link2Icon as Icon } from "~/shared/icons";
+export { Link2Icon as Icon } from "@webstudio-is/icons";
// Webstudio specific default styles for the node type.
export const defaultStyle: Style = {
diff --git a/apps/designer/app/shared/canvas-components/primitives/paragraph.tsx b/apps/designer/app/shared/canvas-components/primitives/paragraph.tsx
index a9909ac89f..9e3c781687 100644
--- a/apps/designer/app/shared/canvas-components/primitives/paragraph.tsx
+++ b/apps/designer/app/shared/canvas-components/primitives/paragraph.tsx
@@ -1,5 +1,5 @@
import { type Style, components } from "@webstudio-is/react-sdk";
-export { TextAlignLeftIcon as Icon } from "~/shared/icons";
+export { TextAlignLeftIcon as Icon } from "@webstudio-is/icons";
// Webstudio specific default styles for the node type.
export const defaultStyle: Style = {};
diff --git a/apps/designer/app/shared/canvas-components/primitives/text-block.tsx b/apps/designer/app/shared/canvas-components/primitives/text-block.tsx
index 834ded5071..5714711a65 100644
--- a/apps/designer/app/shared/canvas-components/primitives/text-block.tsx
+++ b/apps/designer/app/shared/canvas-components/primitives/text-block.tsx
@@ -1,5 +1,5 @@
import { type Style, components } from "@webstudio-is/react-sdk";
-export { TextIcon as Icon } from "~/shared/icons";
+export { TextIcon as Icon } from "@webstudio-is/icons";
// Webstudio specific default styles for the node type.
export const defaultStyle: Style = {
diff --git a/apps/designer/app/shared/design-system/components/accordion.tsx b/apps/designer/app/shared/design-system/components/accordion.tsx
index d3e671ba62..7f6b0e754f 100644
--- a/apps/designer/app/shared/design-system/components/accordion.tsx
+++ b/apps/designer/app/shared/design-system/components/accordion.tsx
@@ -1,7 +1,7 @@
import React from "react";
import { styled, CSS } from "../stitches.config";
import * as AccordionPrimitive from "@radix-ui/react-accordion";
-import { ChevronDownIcon } from "~/shared/icons";
+import { ChevronDownIcon } from "@webstudio-is/icons";
const StyledAccordion = styled(AccordionPrimitive.Root, {});
diff --git a/apps/designer/app/shared/design-system/components/checkbox.tsx b/apps/designer/app/shared/design-system/components/checkbox.tsx
index 329226c167..d44cf6f4ee 100644
--- a/apps/designer/app/shared/design-system/components/checkbox.tsx
+++ b/apps/designer/app/shared/design-system/components/checkbox.tsx
@@ -1,7 +1,7 @@
import React from "react";
import { styled, CSS, VariantProps } from "../stitches.config";
import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
-import { CheckIcon } from "~/shared/icons";
+import { CheckIcon } from "@webstudio-is/icons";
const StyledCheckbox = styled(CheckboxPrimitive.Root, {
all: "unset",
diff --git a/apps/designer/app/shared/design-system/components/combobox.tsx b/apps/designer/app/shared/design-system/components/combobox.tsx
index 71b0394bd6..7c2e31678b 100644
--- a/apps/designer/app/shared/design-system/components/combobox.tsx
+++ b/apps/designer/app/shared/design-system/components/combobox.tsx
@@ -5,7 +5,7 @@ import {
type ComponentProps,
type ForwardRefRenderFunction,
} from "react";
-import { CheckIcon, ChevronDownIcon } from "~/shared/icons";
+import { CheckIcon, ChevronDownIcon } from "@webstudio-is/icons";
import { Popper, PopperContent, PopperAnchor } from "@radix-ui/react-popper";
import { useCombobox, type UseComboboxGetItemPropsOptions } from "downshift";
import { matchSorter } from "match-sorter";
diff --git a/apps/designer/app/shared/design-system/components/context-menu.tsx b/apps/designer/app/shared/design-system/components/context-menu.tsx
index a8d27dbee8..651e07f09c 100644
--- a/apps/designer/app/shared/design-system/components/context-menu.tsx
+++ b/apps/designer/app/shared/design-system/components/context-menu.tsx
@@ -1,5 +1,5 @@
import React from "react";
-import { CheckIcon } from "~/shared/icons";
+import { CheckIcon } from "@webstudio-is/icons";
import { styled, CSS } from "../stitches.config";
import * as ContextMenuPrimitive from "@radix-ui/react-context-menu";
import { menuCss, separatorCss, itemCss, labelCss } from "./menu";
diff --git a/apps/designer/app/shared/design-system/components/dialog.tsx b/apps/designer/app/shared/design-system/components/dialog.tsx
index 9ae2c8e6e1..9c54c6a0e6 100644
--- a/apps/designer/app/shared/design-system/components/dialog.tsx
+++ b/apps/designer/app/shared/design-system/components/dialog.tsx
@@ -1,7 +1,7 @@
import React from "react";
import { styled, CSS } from "../stitches.config";
import * as DialogPrimitive from "@radix-ui/react-dialog";
-import { Cross1Icon } from "~/shared/icons";
+import { Cross1Icon } from "@webstudio-is/icons";
import { overlayStyles } from "./overlay";
import { panelStyles } from "./panel";
import { IconButton } from "./icon-button";
diff --git a/apps/designer/app/shared/design-system/components/dropdown-menu.tsx b/apps/designer/app/shared/design-system/components/dropdown-menu.tsx
index 6e5b38d3c1..47c2195820 100644
--- a/apps/designer/app/shared/design-system/components/dropdown-menu.tsx
+++ b/apps/designer/app/shared/design-system/components/dropdown-menu.tsx
@@ -1,5 +1,5 @@
import React from "react";
-import { CheckIcon } from "~/shared/icons";
+import { CheckIcon } from "@webstudio-is/icons";
import { styled, CSS } from "../stitches.config";
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
import { menuCss, separatorCss, itemCss, labelCss } from "./menu";
diff --git a/apps/designer/app/shared/design-system/components/menu.tsx b/apps/designer/app/shared/design-system/components/menu.tsx
index 5629a26777..903c3c77b4 100644
--- a/apps/designer/app/shared/design-system/components/menu.tsx
+++ b/apps/designer/app/shared/design-system/components/menu.tsx
@@ -1,6 +1,6 @@
import React from "react";
import * as MenuPrimitive from "@radix-ui/react-menu";
-import { CheckIcon } from "~/shared/icons";
+import { CheckIcon } from "@webstudio-is/icons";
import { styled, css, CSS } from "../stitches.config";
import { Box } from "./box";
import { Flex } from "./flex";
diff --git a/apps/designer/app/shared/design-system/components/select.tsx b/apps/designer/app/shared/design-system/components/select.tsx
index df440747f4..5cad7fedde 100644
--- a/apps/designer/app/shared/design-system/components/select.tsx
+++ b/apps/designer/app/shared/design-system/components/select.tsx
@@ -6,7 +6,7 @@ import {
CheckIcon,
ChevronDownIcon,
ChevronUpIcon,
-} from "~/shared/icons";
+} from "@webstudio-is/icons";
import { styled } from "../stitches.config";
const StyledTrigger = styled(SelectPrimitive.SelectTrigger, {
diff --git a/apps/designer/app/shared/design-system/components/sheet.tsx b/apps/designer/app/shared/design-system/components/sheet.tsx
index eebf02bc5c..2d95e3637c 100644
--- a/apps/designer/app/shared/design-system/components/sheet.tsx
+++ b/apps/designer/app/shared/design-system/components/sheet.tsx
@@ -1,7 +1,7 @@
import React from "react";
import { styled, keyframes, VariantProps, CSS } from "../stitches.config";
import * as DialogPrimitive from "@radix-ui/react-dialog";
-import { Cross1Icon } from "~/shared/icons";
+import { Cross1Icon } from "@webstudio-is/icons";
import { overlayStyles } from "./overlay";
import { IconButton } from "./icon-button";
diff --git a/apps/designer/app/shared/design-system/components/verified-badge.tsx b/apps/designer/app/shared/design-system/components/verified-badge.tsx
index fbe03222c2..42dafc0395 100644
--- a/apps/designer/app/shared/design-system/components/verified-badge.tsx
+++ b/apps/designer/app/shared/design-system/components/verified-badge.tsx
@@ -1,7 +1,7 @@
import React from "react";
import { styled, CSS } from "../stitches.config";
import { Flex } from "../components/flex";
-import { CheckIcon } from "~/shared/icons";
+import { CheckIcon } from "@webstudio-is/icons";
const StyledVerifiedBadge = styled("div", Flex, {
alignItems: "center",
diff --git a/packages/icons/LICENSE b/packages/icons/LICENSE
new file mode 100644
index 0000000000..1f6edad9a7
--- /dev/null
+++ b/packages/icons/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2022 Webstudio
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/packages/icons/package.json b/packages/icons/package.json
new file mode 100644
index 0000000000..60d5d3c9e8
--- /dev/null
+++ b/packages/icons/package.json
@@ -0,0 +1,33 @@
+{
+ "name": "@webstudio-is/icons",
+ "version": "0.5.0",
+ "description": "Webstudio JavaScript / TypeScript API",
+ "author": "Webstudio <[email protected]>",
+ "homepage": "https://webstudio.is",
+ "scripts": {
+ "dev": "tsup src/index.ts --format esm,cjs --watch --out-dir=lib",
+ "typecheck": "tsc --noEmit",
+ "lint": "eslint . --ext .ts,.tsx --max-warnings 0",
+ "checks": "yarn typecheck && yarn lint"
+ },
+ "devDependencies": {
+ "tsup": "^6.1.3",
+ "typescript": "^4.6.2"
+ },
+ "peerDependencies": {
+ "react": "^17.0.2",
+ "react-dom": "^17.0.2"
+ },
+ "dependencies": {
+ "@radix-ui/react-icons": "^1.1.0"
+ },
+ "main": "lib/index.js",
+ "types": "lib/index.d.ts",
+ "files": [
+ "lib/*",
+ "README.md",
+ "!*.test.*"
+ ],
+ "license": "MIT",
+ "private": false
+}
diff --git a/apps/designer/app/shared/icons/brush.tsx b/packages/icons/src/brush.tsx
similarity index 100%
rename from apps/designer/app/shared/icons/brush.tsx
rename to packages/icons/src/brush.tsx
diff --git a/apps/designer/app/shared/icons/devices.tsx b/packages/icons/src/devices.tsx
similarity index 100%
rename from apps/designer/app/shared/icons/devices.tsx
rename to packages/icons/src/devices.tsx
diff --git a/apps/designer/app/shared/icons/form.tsx b/packages/icons/src/form.tsx
similarity index 100%
rename from apps/designer/app/shared/icons/form.tsx
rename to packages/icons/src/form.tsx
diff --git a/apps/designer/app/shared/icons/github.tsx b/packages/icons/src/github.tsx
similarity index 100%
rename from apps/designer/app/shared/icons/github.tsx
rename to packages/icons/src/github.tsx
diff --git a/apps/designer/app/shared/icons/google.tsx b/packages/icons/src/google.tsx
similarity index 100%
rename from apps/designer/app/shared/icons/google.tsx
rename to packages/icons/src/google.tsx
diff --git a/apps/designer/app/shared/icons/index.ts b/packages/icons/src/index.ts
similarity index 100%
rename from apps/designer/app/shared/icons/index.ts
rename to packages/icons/src/index.ts
diff --git a/apps/designer/app/shared/icons/list-nested.tsx b/packages/icons/src/list-nested.tsx
similarity index 100%
rename from apps/designer/app/shared/icons/list-nested.tsx
rename to packages/icons/src/list-nested.tsx
diff --git a/apps/designer/app/shared/icons/redo.tsx b/packages/icons/src/redo.tsx
similarity index 100%
rename from apps/designer/app/shared/icons/redo.tsx
rename to packages/icons/src/redo.tsx
diff --git a/apps/designer/app/shared/icons/tablet.tsx b/packages/icons/src/tablet.tsx
similarity index 100%
rename from apps/designer/app/shared/icons/tablet.tsx
rename to packages/icons/src/tablet.tsx
diff --git a/apps/designer/app/shared/icons/types.ts b/packages/icons/src/types.ts
similarity index 100%
rename from apps/designer/app/shared/icons/types.ts
rename to packages/icons/src/types.ts
diff --git a/apps/designer/app/shared/icons/undo.tsx b/packages/icons/src/undo.tsx
similarity index 100%
rename from apps/designer/app/shared/icons/undo.tsx
rename to packages/icons/src/undo.tsx
diff --git a/packages/icons/tsconfig.json b/packages/icons/tsconfig.json
new file mode 100644
index 0000000000..329cf3ea13
--- /dev/null
+++ b/packages/icons/tsconfig.json
@@ -0,0 +1,17 @@
+// Extends can't use node's resolution rn https://github.com/dividab/tsconfig-paths/issues/209#issuecomment-1177261091
+{
+ "extends": "../../node_modules/tsconfig/base.json",
+ "include": ["./src/**/*.ts", "./src/**/*.tsx"],
+ "compilerOptions": {
+ "lib": ["DOM", "DOM.Iterable", "ES2019"],
+ "module": "commonjs",
+ "jsx": "react-jsx",
+ "target": "ES2019",
+ "strict": true,
+ "baseUrl": ".",
+ "paths": {
+ "~/*": ["./src/*"]
+ },
+ "outDir": "./lib"
+ }
+}