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.

Add help button with popover in dashboard and builder (#2166)

Oleg Isonen9336f05f257d
diff --git a/apps/builder/app/builder/features/sidebar-left/help-popover.tsx b/apps/builder/app/builder/features/sidebar-left/help-popover.tsx
new file mode 100644
index 0000000000..b9b47aa2a8
--- /dev/null
+++ b/apps/builder/app/builder/features/sidebar-left/help-popover.tsx
@@ -0,0 +1,92 @@
+import {
+ Button,
+ Flex,
+ Popover,
+ PopoverContent,
+ PopoverPortal,
+ PopoverTrigger,
+ rawTheme,
+ theme,
+} from "@webstudio-is/design-system";
+import {
+ DiscordIcon,
+ GithubIcon,
+ TwitterIcon,
+ Webstudio1cIcon,
+ Youtube1cIcon,
+} from "@webstudio-is/icons";
+import { type ComponentProps } from "react";
+
+export const HelpPopover = ({
+ children,
+ side = "right",
+ ...popoverProps
+}: {
+ children: React.ReactNode;
+ side?: "bottom" | "left" | "right" | "top";
+} & Pick<ComponentProps<typeof Popover>, "open" | "onOpenChange">) => {
+ return (
+ <Popover {...popoverProps}>
+ {children}
+ <PopoverPortal>
+ <PopoverContent
+ avoidCollisions
+ sideOffset={0}
+ // Height of the footer
+ collisionPadding={{ bottom: parseFloat(rawTheme.spacing[11]) }}
+ side={side}
+ // Sidebar has z-index 1, so we need to be above that using portal + same zindex
+ css={{ zIndex: theme.zIndices[1] }}
+ >
+ <Flex
+ as="form"
+ target="_blank"
+ direction="column"
+ css={{ px: theme.spacing[7], py: theme.spacing[3] }}
+ gap="2"
+ >
+ <Button
+ formAction="https://www.youtube.com/playlist"
+ name="list"
+ value="PL4vVqpngzeT4sDlanyPe99dYl8BgUYCac"
+ prefix={<Youtube1cIcon />}
+ color="destructive"
+ >
+ Learn with videos
+ </Button>
+ <Button
+ formAction="https://webstudio.is/blog"
+ prefix={<Webstudio1cIcon />}
+ color="gradient"
+ >
+ Learn on our blog
+ </Button>
+ <Button
+ formAction="https://discord.gg/UNdyrDkq5r"
+ prefix={<DiscordIcon />}
+ color="primary"
+ >
+ Chat with us on Discord
+ </Button>
+ <Button
+ formAction="https://github.com/webstudio-is/webstudio-community/discussions"
+ prefix={<GithubIcon />}
+ color="dark"
+ >
+ Join Github discussions
+ </Button>
+ <Button
+ formAction="https://twitter.com/getwebstudio"
+ prefix={<TwitterIcon />}
+ color="dark"
+ >
+ Follow us on Twitter
+ </Button>
+ </Flex>
+ </PopoverContent>
+ </PopoverPortal>
+ </Popover>
+ );
+};
+
+HelpPopover.Trigger = PopoverTrigger;
diff --git a/apps/builder/app/builder/features/sidebar-left/sidebar-left.tsx b/apps/builder/app/builder/features/sidebar-left/sidebar-left.tsx
index 1bddfa56f4..02543b6a58 100644
--- a/apps/builder/app/builder/features/sidebar-left/sidebar-left.tsx
+++ b/apps/builder/app/builder/features/sidebar-left/sidebar-left.tsx
@@ -5,6 +5,7 @@ import {
SidebarTabsContent,
SidebarTabsList,
SidebarTabsTrigger,
+ Tooltip,
} from "@webstudio-is/design-system";
import { useSubscribe, type Publish } from "~/shared/pubsub";
import { useDragAndDropState } from "~/shared/nano-states";
@@ -13,7 +14,8 @@ import type { TabName } from "./types";
import { useClientSettings } from "~/builder/shared/client-settings";
import { Flex } from "@webstudio-is/design-system";
import { theme } from "@webstudio-is/design-system";
-import { BugIcon } from "@webstudio-is/icons";
+import { BugIcon, HelpIcon } from "@webstudio-is/icons";
+import { HelpPopover } from "./help-popover";
const none = { TabContent: () => null };
@@ -26,6 +28,7 @@ export const SidebarLeft = ({ publish }: SidebarLeftProps) => {
const [activeTab, setActiveTab] = useState<TabName>("none");
const { TabContent } = activeTab === "none" ? none : panels[activeTab];
const [clientSettings] = useClientSettings();
+ const [helpIsOpen, setHelpIsOpen] = useState(false);
useSubscribe("clickCanvas", () => {
setActiveTab("none");
@@ -62,17 +65,41 @@ export const SidebarLeft = ({ publish }: SidebarLeftProps) => {
))}
</SidebarTabsList>
<Box css={{ borderRight: `1px solid ${theme.colors.borderMain}` }}>
- <SidebarTabsTrigger
- as={"button"}
- aria-label={"Report bug"}
- onClick={() => {
- window.open(
- "https://github.com/webstudio-is/webstudio/discussions/new?category=q-a&labels=bug&title=[Bug]"
- );
- }}
+ <HelpPopover onOpenChange={setHelpIsOpen}>
+ <Tooltip
+ side="right"
+ content="Learn Webstudio or ask for help"
+ delayDuration={0}
+ >
+ <HelpPopover.Trigger asChild>
+ <SidebarTabsTrigger
+ as="button"
+ aria-label="Ask for help"
+ data-state={helpIsOpen ? "active" : undefined}
+ >
+ <HelpIcon size={22} />
+ </SidebarTabsTrigger>
+ </HelpPopover.Trigger>
+ </Tooltip>
+ </HelpPopover>
+
+ <Tooltip
+ side="right"
+ content="Report a bug on Github"
+ delayDuration={0}
>
- <BugIcon size={22} />
- </SidebarTabsTrigger>
+ <SidebarTabsTrigger
+ as="button"
+ aria-label="Report bug"
+ onClick={() => {
+ window.open(
+ "https://github.com/webstudio-is/webstudio/discussions/new?category=q-a&labels=bug&title=[Bug]"
+ );
+ }}
+ >
+ <BugIcon size={22} />
+ </SidebarTabsTrigger>
+ </Tooltip>
</Box>
<SidebarTabsContent
diff --git a/apps/builder/app/dashboard/projects/projects.tsx b/apps/builder/app/dashboard/projects/projects.tsx
index 78b5061620..c890e8f3e4 100644
--- a/apps/builder/app/dashboard/projects/projects.tsx
+++ b/apps/builder/app/dashboard/projects/projects.tsx
@@ -1,9 +1,12 @@
-import { Flex, Grid, Text } from "@webstudio-is/design-system";
+import { Button, Flex, Grid, Text } from "@webstudio-is/design-system";
import { EmptyState } from "./empty-state";
import { Panel } from "./panel";
import type { DashboardProject } from "@webstudio-is/dashboard";
import { ProjectCard, ProjectTemplateCard } from "./project-card";
import { CreateProject } from "./project-dialogs";
+import { HelpPopover } from "~/builder/features/sidebar-left/help-popover";
+import { HelpIcon } from "@webstudio-is/icons";
+import { useState } from "react";
type ProjectsProps = {
projects: Array<DashboardProject>;
@@ -11,6 +14,8 @@ type ProjectsProps = {
};
export const Projects = ({ projects, projectTemplates }: ProjectsProps) => {
+ const [isOpen, setIsOpen] = useState(false);
+
return (
<Panel>
<Flex direction="column" gap="3">
@@ -18,7 +23,19 @@ export const Projects = ({ projects, projectTemplates }: ProjectsProps) => {
<Text variant="brandSectionTitle" as="h2">
Projects
</Text>
- <CreateProject />
+ <Flex gap="2">
+ <HelpPopover open={isOpen} onOpenChange={setIsOpen} side="bottom">
+ <HelpPopover.Trigger asChild>
+ <Button
+ color="gradient"
+ prefix={<HelpIcon size={16} color="#fff" />}
+ >
+ Learn Webstudio or ask for help
+ </Button>
+ </HelpPopover.Trigger>
+ </HelpPopover>
+ <CreateProject />
+ </Flex>
</Flex>
{projects.length === 0 && <EmptyState />}
<Grid
diff --git a/packages/icons/icons/discord.svg b/packages/icons/icons/discord.svg
new file mode 100644
index 0000000000..1afd2dbe6f
--- /dev/null
+++ b/packages/icons/icons/discord.svg
@@ -0,0 +1,5 @@
+<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
+ <path d="M6.8881 6.7C6.54083 6.7 6.26666 7.09039 6.26666 7.56666C6.26666 8.04294 6.54692 8.43333 6.8881 8.43333C7.23538 8.43333 7.50954 8.04294 7.50954 7.56666C7.51564 7.09039 7.23538 6.7 6.8881 6.7ZM9.11189 6.7C8.76461 6.7 8.49045 7.09039 8.49045 7.56666C8.49045 8.04294 8.7707 8.43333 9.11189 8.43333C9.45916 8.43333 9.73333 8.04294 9.73333 7.56666C9.73333 7.09039 9.45916 6.7 9.11189 6.7Z"/>
+ <path d="M12.9771 1.5H3.02286C2.18343 1.5 1.5 2.098 1.5 2.839V11.627C1.5 12.368 2.18343 12.966 3.02286 12.966H11.4469L11.0531 11.7635L12.004 12.537L12.9029 13.265L14.5 14.5V2.839C14.5 2.098 13.8166 1.5 12.9771 1.5ZM10.1097 9.989C10.1097 9.989 9.84229 9.7095 9.61943 9.4625C10.5926 9.222 10.964 8.689 10.964 8.689C10.6594 8.8645 10.3697 8.988 10.1097 9.0725C9.73829 9.209 9.38171 9.3 9.03257 9.352C8.39635 9.4545 7.74387 9.45229 7.10857 9.3455C6.7356 9.28164 6.37008 9.18809 6.01657 9.066C5.83023 9.0033 5.64904 8.92946 5.47429 8.845C5.452 8.832 5.42971 8.8255 5.40743 8.8125C5.39257 8.806 5.38514 8.7995 5.37771 8.793C5.244 8.728 5.16971 8.6825 5.16971 8.6825C5.16971 8.6825 5.52629 9.2025 6.46971 9.4495C6.24686 9.6965 5.972 9.989 5.972 9.989C4.33029 9.9435 3.70629 9.001 3.70629 9.001C3.70629 6.908 4.776 5.2115 4.776 5.2115C5.84571 4.5095 6.86343 4.529 6.86343 4.529L6.93771 4.607C5.60057 4.945 4.984 5.4585 4.984 5.4585C4.984 5.4585 5.14743 5.3805 5.42229 5.27C6.21714 4.9645 6.84857 4.88 7.10857 4.8605C7.15314 4.854 7.19029 4.8475 7.23486 4.8475C8.52305 4.69494 9.83315 4.90916 10.9714 5.4585C10.9714 5.4585 10.3846 4.971 9.12171 4.633L9.22571 4.529C9.22571 4.529 10.2434 4.5095 11.3131 5.2115C11.3131 5.2115 12.3829 6.908 12.3829 9.001C12.3829 9.001 11.7514 9.9435 10.1097 9.989Z"/>
+</svg>
+
\ No newline at end of file
diff --git a/packages/icons/icons/help.svg b/packages/icons/icons/help.svg
new file mode 100644
index 0000000000..3eba10d9e5
--- /dev/null
+++ b/packages/icons/icons/help.svg
@@ -0,0 +1,6 @@
+<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
+ <path d="M7.99998 14.6501C4.32998 14.6501 1.34998 11.6701 1.34998 8.0001C1.34998 4.3301 4.32998 1.3501 7.99998 1.3501C11.67 1.3501 14.65 4.3301 14.65 8.0001C14.65 11.6701 11.67 14.6501 7.99998 14.6501ZM7.99998 2.6501C5.04998 2.6501 2.64998 5.0501 2.64998 8.0001C2.64998 10.9501 5.04998 13.3501 7.99998 13.3501C10.95 13.3501 13.35 10.9501 13.35 8.0001C13.35 5.0501 10.95 2.6501 7.99998 2.6501Z"/>
+ <path d="M8.00998 11.8901C7.56998 11.8901 7.20998 11.5301 7.20998 11.0901C7.20998 10.6501 7.55998 10.2901 8.00998 10.2901C8.44998 10.2901 8.80998 10.6501 8.80998 11.0901C8.80998 11.5301 8.44998 11.8901 8.00998 11.8901Z"/>
+ <path d="M7.94998 9.1701C7.67998 9.1701 7.42998 9.0001 7.32998 8.7301C7.21998 8.3901 7.39998 8.0201 7.73998 7.9101C8.17998 7.7601 9.09998 7.2701 9.09998 6.7301C9.09998 6.4601 9.00998 6.1901 8.82998 5.9901C8.65998 5.7801 8.40998 5.6401 8.13998 5.6001C7.86998 5.5501 7.59998 5.6001 7.35998 5.7401C7.11998 5.8801 6.94998 6.0901 6.85998 6.3501C6.73998 6.6901 6.36998 6.8701 6.02998 6.7501C5.68998 6.6301 5.50998 6.2601 5.62998 5.9201C5.81998 5.3701 6.19998 4.9101 6.69998 4.6201C7.19998 4.3301 7.78998 4.2201 8.34998 4.3201C8.91998 4.4201 9.43998 4.7101 9.80998 5.1601C10.18 5.6001 10.39 6.1701 10.39 6.7401C10.39 8.3601 8.37998 9.0801 8.14998 9.1601C8.07998 9.1801 8.00998 9.1901 7.93998 9.1901L7.94998 9.1701Z"/>
+</svg>
+
\ No newline at end of file
diff --git a/packages/icons/icons/twitter.svg b/packages/icons/icons/twitter.svg
new file mode 100644
index 0000000000..85c86f3c18
--- /dev/null
+++ b/packages/icons/icons/twitter.svg
@@ -0,0 +1,4 @@
+<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
+ <path d="M13.5665 5.14369C13.5726 5.26695 13.5749 5.39174 13.5749 5.515C13.5749 9.31174 10.6859 13.6883 5.40315 13.6883C3.78022 13.6883 2.27141 13.2127 1 12.3971C1.22522 12.4237 1.45348 12.4374 1.68478 12.4374C3.03152 12.4374 4.26946 11.9778 5.25174 11.2086C3.99554 11.185 2.93413 10.3556 2.56891 9.21435C2.74391 9.24706 2.92424 9.26456 3.10913 9.26456C3.37163 9.26456 3.62576 9.23032 3.8662 9.16489C2.55217 8.90011 1.56228 7.73978 1.56228 6.34739C1.56228 6.33522 1.56228 6.3238 1.56228 6.31163C1.94957 6.52695 2.39315 6.6563 2.86337 6.67152C2.09261 6.15565 1.58511 5.27761 1.58511 4.28011C1.58511 3.75435 1.72663 3.26054 1.97467 2.83598C3.39065 4.57456 5.50815 5.71739 7.895 5.83761C7.8463 5.62685 7.8212 5.40848 7.8212 5.1825C7.8212 3.59685 9.1063 2.31174 10.6927 2.31174C11.519 2.31174 12.2654 2.65945 12.7897 3.21793C13.4433 3.08858 14.058 2.84967 14.6135 2.52098C14.3989 3.1913 13.9432 3.75435 13.3504 4.10967C13.9317 4.03967 14.4841 3.88674 15 3.65772C14.615 4.23445 14.128 4.73967 13.5665 5.14369Z"/>
+</svg>
+
\ No newline at end of file
diff --git a/packages/icons/icons/webstudio-1c.svg b/packages/icons/icons/webstudio-1c.svg
new file mode 100644
index 0000000000..50a2b34705
--- /dev/null
+++ b/packages/icons/icons/webstudio-1c.svg
@@ -0,0 +1,6 @@
+<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M12.3195 12.4156L14.9407 4.33141C15.1464 3.69758 14.7995 3.01544 14.167 2.80966C13.5345 2.60389 12.8537 2.95123 12.6484 3.58506L10.0271 11.6689C9.82148 12.3028 10.1684 12.9849 10.8009 13.1907C11.4334 13.3968 12.1141 13.0494 12.3195 12.4156Z"/>
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M7.99964 7.62405C8.29713 7.62405 8.51651 7.79864 8.70355 8.01756C8.91133 8.26125 9.07732 8.56333 9.21828 8.88407C9.85201 10.3239 9.9707 12.1251 9.9707 12.1251C10.0162 12.7901 10.5919 13.2928 11.2556 13.2472C11.9192 13.2017 12.4208 12.6244 12.3753 11.9597C12.3753 11.9597 12.2161 9.70992 11.4237 7.90932C10.7442 6.36526 9.59358 5.20858 7.99995 5.20858C6.40632 5.20858 5.25572 6.36526 4.57622 7.90932C3.78352 9.70992 3.62456 11.9597 3.62456 11.9597C3.57909 12.6247 4.08071 13.2017 4.74434 13.2472C5.40797 13.2928 5.98373 12.7901 6.02919 12.1251C6.02919 12.1251 6.14788 10.3242 6.78161 8.88407C6.92257 8.56364 7.08856 8.26125 7.29634 8.01756C7.48308 7.79864 7.70246 7.62405 7.99964 7.62405Z"/>
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M5.97287 11.6689L3.3516 3.58471C3.14626 2.95088 2.46584 2.60323 1.83303 2.80931C1.20052 3.01539 0.853601 3.69723 1.05925 4.33106L3.68052 12.4152C3.88617 13.0491 4.56658 13.3967 5.19909 13.1906C5.8316 12.9846 6.17852 12.3027 5.97287 11.6689Z"/>
+</svg>
+
\ No newline at end of file
diff --git a/packages/icons/icons/youtube-1c.svg b/packages/icons/icons/youtube-1c.svg
new file mode 100644
index 0000000000..5567010ce8
--- /dev/null
+++ b/packages/icons/icons/youtube-1c.svg
@@ -0,0 +1,4 @@
+<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M13.4707 3.29868C14.0734 3.46331 14.5471 3.94661 14.7084 4.56162H14.7073C15 5.67521 15 8 15 8C15 8 15 10.3248 14.7073 11.4384C14.5459 12.0534 14.0723 12.5367 13.4695 12.7013C12.3782 13 8 13 8 13C8 13 3.62183 13 2.53046 12.7013C1.92772 12.5367 1.45407 12.0534 1.29272 11.4384C1 10.3248 1 8 1 8C1 8 1 5.67521 1.29272 4.56162C1.45407 3.94661 1.92772 3.46331 2.53046 3.29868C3.62183 3 8 3 8 3C8 3 12.3782 3 13.4707 3.29868ZM10.238 7.99994L6.59973 10.1425V5.85742L10.238 7.99994Z"/>
+</svg>
+
\ No newline at end of file
diff --git a/packages/icons/src/__generated__/discord.tsx b/packages/icons/src/__generated__/discord.tsx
new file mode 100644
index 0000000000..6567c3c1c4
--- /dev/null
+++ b/packages/icons/src/__generated__/discord.tsx
@@ -0,0 +1,15 @@
+// Generated from icons/discord.svg
+
+import { forwardRef } from "react";
+import type { IconProps } from "../types";
+
+// prettier-ignore
+export const DiscordIcon = forwardRef<SVGSVGElement, IconProps>(
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
+ return (
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path d="M6.888 6.7c-.347 0-.621.39-.621.867 0 .476.28.866.621.866.347 0 .622-.39.622-.866.006-.477-.275-.867-.622-.867Zm2.224 0c-.347 0-.622.39-.622.867 0 .476.28.866.622.866.347 0 .621-.39.621-.866 0-.477-.274-.867-.621-.867Z" /><path d="M12.977 1.5H3.023c-.84 0-1.523.598-1.523 1.339v8.788c0 .741.683 1.339 1.523 1.339h8.424l-.394-1.202.951.773.899.728L14.5 14.5V2.839c0-.741-.683-1.339-1.523-1.339ZM10.11 9.989s-.268-.28-.49-.527c.973-.24 1.344-.773 1.344-.773a4.509 4.509 0 0 1-.854.383 5.935 5.935 0 0 1-3.001.273 6.928 6.928 0 0 1-1.092-.279 4.665 4.665 0 0 1-.543-.221c-.022-.013-.044-.02-.067-.033a.102.102 0 0 1-.03-.019c-.133-.065-.207-.11-.207-.11s.356.52 1.3.767c-.223.247-.498.539-.498.539-1.642-.046-2.266-.988-2.266-.988 0-2.093 1.07-3.79 1.07-3.79 1.07-.702 2.087-.682 2.087-.682l.075.078c-1.337.338-1.954.851-1.954.851s.163-.078.438-.188c.795-.305 1.427-.39 1.687-.41.044-.006.081-.013.126-.013a6.8 6.8 0 0 1 3.736.611s-.586-.487-1.85-.825l.105-.104s1.017-.02 2.087.683c0 0 1.07 1.696 1.07 3.789 0 0-.632.943-2.273.988Z" /></svg>
+ );
+ }
+);
+
+DiscordIcon.displayName = "DiscordIcon";
diff --git a/packages/icons/src/__generated__/help.tsx b/packages/icons/src/__generated__/help.tsx
new file mode 100644
index 0000000000..ce99b03b74
--- /dev/null
+++ b/packages/icons/src/__generated__/help.tsx
@@ -0,0 +1,15 @@
+// Generated from icons/help.svg
+
+import { forwardRef } from "react";
+import type { IconProps } from "../types";
+
+// prettier-ignore
+export const HelpIcon = forwardRef<SVGSVGElement, IconProps>(
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
+ return (
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path d="M8 14.65c-3.67 0-6.65-2.98-6.65-6.65 0-3.67 2.98-6.65 6.65-6.65 3.67 0 6.65 2.98 6.65 6.65 0 3.67-2.98 6.65-6.65 6.65Zm0-12c-2.95 0-5.35 2.4-5.35 5.35 0 2.95 2.4 5.35 5.35 5.35 2.95 0 5.35-2.4 5.35-5.35 0-2.95-2.4-5.35-5.35-5.35Z" /><path d="M8.01 11.89c-.44 0-.8-.36-.8-.8 0-.44.35-.8.8-.8.44 0 .8.36.8.8 0 .44-.36.8-.8.8ZM7.95 9.17c-.27 0-.52-.17-.62-.44a.65.65 0 0 1 .41-.82c.44-.15 1.36-.64 1.36-1.18 0-.27-.09-.54-.27-.74-.17-.21-.42-.35-.69-.39-.27-.05-.54 0-.78.14s-.41.35-.5.61a.65.65 0 1 1-1.23-.43c.19-.55.57-1.01 1.07-1.3.5-.29 1.09-.4 1.65-.3.57.1 1.09.39 1.46.84.37.44.58 1.01.58 1.58 0 1.62-2.01 2.34-2.24 2.42-.07.02-.14.03-.21.03l.01-.02Z" /></svg>
+ );
+ }
+);
+
+HelpIcon.displayName = "HelpIcon";
diff --git a/packages/icons/src/__generated__/index.ts b/packages/icons/src/__generated__/index.ts
index c3e5198f8b..562c756214 100644
--- a/packages/icons/src/__generated__/index.ts
+++ b/packages/icons/src/__generated__/index.ts
@@ -68,6 +68,7 @@ export * from "./dash";
export * from "./dashed-border";
export * from "./description";
export * from "./dialog";
+export * from "./discord";
export * from "./div";
export * from "./dot";
export * from "./dotted-border";
@@ -89,6 +90,7 @@ export * from "./grow";
export * from "./hamburger-menu";
export * from "./header";
export * from "./heading";
+export * from "./help";
export * from "./image";
export * from "./info";
export * from "./information";
@@ -144,8 +146,11 @@ export * from "./text-italic";
export * from "./text";
export * from "./tooltip";
export * from "./trigger";
+export * from "./twitter";
export * from "./video";
export * from "./viewport";
export * from "./vimeo";
+export * from "./webstudio-1c";
export * from "./webstudio";
export * from "./wrap";
+export * from "./youtube-1c";
diff --git a/packages/icons/src/__generated__/svg/discord.ts b/packages/icons/src/__generated__/svg/discord.ts
new file mode 100644
index 0000000000..08813d0211
--- /dev/null
+++ b/packages/icons/src/__generated__/svg/discord.ts
@@ -0,0 +1 @@
+export const DiscordIcon = `<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 16 16" width="100%" height="100%" style="display: block;"><path d="M6.888 6.7c-.347 0-.621.39-.621.867 0 .476.28.866.621.866.347 0 .622-.39.622-.866.006-.477-.275-.867-.622-.867Zm2.224 0c-.347 0-.622.39-.622.867 0 .476.28.866.622.866.347 0 .621-.39.621-.866 0-.477-.274-.867-.621-.867Z"/><path d="M12.977 1.5H3.023c-.84 0-1.523.598-1.523 1.339v8.788c0 .741.683 1.339 1.523 1.339h8.424l-.394-1.202.951.773.899.728L14.5 14.5V2.839c0-.741-.683-1.339-1.523-1.339ZM10.11 9.989s-.268-.28-.49-.527c.973-.24 1.344-.773 1.344-.773a4.509 4.509 0 0 1-.854.383 5.935 5.935 0 0 1-3.001.273 6.928 6.928 0 0 1-1.092-.279 4.665 4.665 0 0 1-.543-.221c-.022-.013-.044-.02-.067-.033a.102.102 0 0 1-.03-.019c-.133-.065-.207-.11-.207-.11s.356.52 1.3.767c-.223.247-.498.539-.498.539-1.642-.046-2.266-.988-2.266-.988 0-2.093 1.07-3.79 1.07-3.79 1.07-.702 2.087-.682 2.087-.682l.075.078c-1.337.338-1.954.851-1.954.851s.163-.078.438-.188c.795-.305 1.427-.39 1.687-.41.044-.006.081-.013.126-.013a6.8 6.8 0 0 1 3.736.611s-.586-.487-1.85-.825l.105-.104s1.017-.02 2.087.683c0 0 1.07 1.696 1.07 3.789 0 0-.632.943-2.273.988Z"/></svg>`;
diff --git a/packages/icons/src/__generated__/svg/help.ts b/packages/icons/src/__generated__/svg/help.ts
new file mode 100644
index 0000000000..65191d4c7b
--- /dev/null
+++ b/packages/icons/src/__generated__/svg/help.ts
@@ -0,0 +1 @@
+export const HelpIcon = `<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 16 16" width="100%" height="100%" style="display: block;"><path d="M8 14.65c-3.67 0-6.65-2.98-6.65-6.65 0-3.67 2.98-6.65 6.65-6.65 3.67 0 6.65 2.98 6.65 6.65 0 3.67-2.98 6.65-6.65 6.65Zm0-12c-2.95 0-5.35 2.4-5.35 5.35 0 2.95 2.4 5.35 5.35 5.35 2.95 0 5.35-2.4 5.35-5.35 0-2.95-2.4-5.35-5.35-5.35Z"/><path d="M8.01 11.89c-.44 0-.8-.36-.8-.8 0-.44.35-.8.8-.8.44 0 .8.36.8.8 0 .44-.36.8-.8.8ZM7.95 9.17c-.27 0-.52-.17-.62-.44a.65.65 0 0 1 .41-.82c.44-.15 1.36-.64 1.36-1.18 0-.27-.09-.54-.27-.74-.17-.21-.42-.35-.69-.39-.27-.05-.54 0-.78.14s-.41.35-.5.61a.65.65 0 1 1-1.23-.43c.19-.55.57-1.01 1.07-1.3.5-.29 1.09-.4 1.65-.3.57.1 1.09.39 1.46.84.37.44.58 1.01.58 1.58 0 1.62-2.01 2.34-2.24 2.42-.07.02-.14.03-.21.03l.01-.02Z"/></svg>`;
diff --git a/packages/icons/src/__generated__/svg/index.ts b/packages/icons/src/__generated__/svg/index.ts
index 6c0d4e0023..5dcde8ea37 100644
--- a/packages/icons/src/__generated__/svg/index.ts
+++ b/packages/icons/src/__generated__/svg/index.ts
@@ -68,6 +68,7 @@ export { DashIcon } from "./dash";
export { DashedBorderIcon } from "./dashed-border";
export { DescriptionIcon } from "./description";
export { DialogIcon } from "./dialog";
+export { DiscordIcon } from "./discord";
export { DivIcon } from "./div";
export { DotIcon } from "./dot";
export { DottedBorderIcon } from "./dotted-border";
@@ -89,6 +90,7 @@ export { GrowIcon } from "./grow";
export { HamburgerMenuIcon } from "./hamburger-menu";
export { HeaderIcon } from "./header";
export { HeadingIcon } from "./heading";
+export { HelpIcon } from "./help";
export { ImageIcon } from "./image";
export { InfoIcon } from "./info";
export { InformationIcon } from "./information";
@@ -144,8 +146,11 @@ export { TextItalicIcon } from "./text-italic";
export { TextIcon } from "./text";
export { TooltipIcon } from "./tooltip";
export { TriggerIcon } from "./trigger";
+export { TwitterIcon } from "./twitter";
export { VideoIcon } from "./video";
export { ViewportIcon } from "./viewport";
export { VimeoIcon } from "./vimeo";
+export { Webstudio1cIcon } from "./webstudio-1c";
export { WebstudioIcon } from "./webstudio";
export { WrapIcon } from "./wrap";
+export { Youtube1cIcon } from "./youtube-1c";
diff --git a/packages/icons/src/__generated__/svg/twitter.ts b/packages/icons/src/__generated__/svg/twitter.ts
new file mode 100644
index 0000000000..711c02c5a7
--- /dev/null
+++ b/packages/icons/src/__generated__/svg/twitter.ts
@@ -0,0 +1 @@
+export const TwitterIcon = `<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 16 16" width="100%" height="100%" style="display: block;"><path d="M13.566 5.144c.007.123.009.248.009.371 0 3.797-2.89 8.173-8.172 8.173A8.124 8.124 0 0 1 1 12.398a5.765 5.765 0 0 0 4.252-1.188 2.875 2.875 0 0 1-2.683-1.996 2.936 2.936 0 0 0 1.297-.05 2.875 2.875 0 0 1-2.304-2.817v-.035c.388.215.831.344 1.301.36a2.872 2.872 0 0 1-.888-3.836 8.153 8.153 0 0 0 5.92 3.002 2.87 2.87 0 0 1 2.798-3.526c.826 0 1.572.347 2.097.906a5.785 5.785 0 0 0 1.824-.697A2.883 2.883 0 0 1 13.35 4.11 5.746 5.746 0 0 0 15 3.658a5.8 5.8 0 0 1-1.434 1.486Z"/></svg>`;
diff --git a/packages/icons/src/__generated__/svg/webstudio-1c.ts b/packages/icons/src/__generated__/svg/webstudio-1c.ts
new file mode 100644
index 0000000000..6cd752f4b8
--- /dev/null
+++ b/packages/icons/src/__generated__/svg/webstudio-1c.ts
@@ -0,0 +1 @@
+export const Webstudio1cIcon = `<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 16 16" width="100%" height="100%" style="display: block;"><path fill-rule="evenodd" d="m12.32 12.416 2.62-8.085a1.205 1.205 0 1 0-2.292-.746l-2.62 8.084a1.205 1.205 0 1 0 2.292.747Z" clip-rule="evenodd"/><path fill-rule="evenodd" d="M8 7.624c.297 0 .517.175.704.394.207.243.373.545.514.866.634 1.44.753 3.241.753 3.241a1.206 1.206 0 0 0 1.285 1.122 1.207 1.207 0 0 0 1.12-1.287s-.16-2.25-.952-4.05C10.744 6.364 9.594 5.208 8 5.208c-1.594 0-2.744 1.156-3.424 2.7-.792 1.8-.951 4.05-.951 4.05a1.207 1.207 0 0 0 1.12 1.288 1.206 1.206 0 0 0 1.284-1.122s.119-1.8.753-3.24a3.52 3.52 0 0 1 .514-.867c.187-.22.406-.394.704-.394Z" clip-rule="evenodd"/><path fill-rule="evenodd" d="M5.973 11.669 3.352 3.585a1.205 1.205 0 1 0-2.293.746l2.622 8.084a1.205 1.205 0 1 0 2.292-.746Z" clip-rule="evenodd"/></svg>`;
diff --git a/packages/icons/src/__generated__/svg/youtube-1c.ts b/packages/icons/src/__generated__/svg/youtube-1c.ts
new file mode 100644
index 0000000000..6da93e0bb2
--- /dev/null
+++ b/packages/icons/src/__generated__/svg/youtube-1c.ts
@@ -0,0 +1 @@
+export const Youtube1cIcon = `<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 16 16" width="100%" height="100%" style="display: block;"><path fill-rule="evenodd" d="M13.47 3.299a1.771 1.771 0 0 1 1.238 1.263C15 5.675 15 8 15 8s0 2.325-.293 3.438a1.771 1.771 0 0 1-1.238 1.263C12.38 13 8 13 8 13s-4.378 0-5.47-.299a1.771 1.771 0 0 1-1.237-1.263C1 10.325 1 8 1 8s0-2.325.293-3.438A1.771 1.771 0 0 1 2.53 3.299C3.622 3 8 3 8 3s4.378 0 5.47.299Zm-3.232 4.7L6.6 10.144V5.857L10.238 8Z" clip-rule="evenodd"/></svg>`;
diff --git a/packages/icons/src/__generated__/twitter.tsx b/packages/icons/src/__generated__/twitter.tsx
new file mode 100644
index 0000000000..aad3c549f8
--- /dev/null
+++ b/packages/icons/src/__generated__/twitter.tsx
@@ -0,0 +1,15 @@
+// Generated from icons/twitter.svg
+
+import { forwardRef } from "react";
+import type { IconProps } from "../types";
+
+// prettier-ignore
+export const TwitterIcon = forwardRef<SVGSVGElement, IconProps>(
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
+ return (
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path d="M13.566 5.144c.007.123.009.248.009.371 0 3.797-2.89 8.173-8.172 8.173A8.124 8.124 0 0 1 1 12.398a5.765 5.765 0 0 0 4.252-1.188 2.875 2.875 0 0 1-2.683-1.996 2.936 2.936 0 0 0 1.297-.05 2.875 2.875 0 0 1-2.304-2.817v-.035c.388.215.831.344 1.301.36a2.872 2.872 0 0 1-.888-3.836 8.153 8.153 0 0 0 5.92 3.002 2.87 2.87 0 0 1 2.798-3.526c.826 0 1.572.347 2.097.906a5.785 5.785 0 0 0 1.824-.697A2.883 2.883 0 0 1 13.35 4.11 5.746 5.746 0 0 0 15 3.658a5.8 5.8 0 0 1-1.434 1.486Z" /></svg>
+ );
+ }
+);
+
+TwitterIcon.displayName = "TwitterIcon";
diff --git a/packages/icons/src/__generated__/webstudio-1c.tsx b/packages/icons/src/__generated__/webstudio-1c.tsx
new file mode 100644
index 0000000000..22f64c9db7
--- /dev/null
+++ b/packages/icons/src/__generated__/webstudio-1c.tsx
@@ -0,0 +1,15 @@
+// Generated from icons/webstudio-1c.svg
+
+import { forwardRef } from "react";
+import type { IconProps } from "../types";
+
+// prettier-ignore
+export const Webstudio1cIcon = forwardRef<SVGSVGElement, IconProps>(
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
+ return (
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path fillRule="evenodd" d="m12.32 12.416 2.62-8.085a1.205 1.205 0 1 0-2.292-.746l-2.62 8.084a1.205 1.205 0 1 0 2.292.747Z" clipRule="evenodd" /><path fillRule="evenodd" d="M8 7.624c.297 0 .517.175.704.394.207.243.373.545.514.866.634 1.44.753 3.241.753 3.241a1.206 1.206 0 0 0 1.285 1.122 1.207 1.207 0 0 0 1.12-1.287s-.16-2.25-.952-4.05C10.744 6.364 9.594 5.208 8 5.208c-1.594 0-2.744 1.156-3.424 2.7-.792 1.8-.951 4.05-.951 4.05a1.207 1.207 0 0 0 1.12 1.288 1.206 1.206 0 0 0 1.284-1.122s.119-1.8.753-3.24a3.52 3.52 0 0 1 .514-.867c.187-.22.406-.394.704-.394Z" clipRule="evenodd" /><path fillRule="evenodd" d="M5.973 11.669 3.352 3.585a1.205 1.205 0 1 0-2.293.746l2.622 8.084a1.205 1.205 0 1 0 2.292-.746Z" clipRule="evenodd" /></svg>
+ );
+ }
+);
+
+Webstudio1cIcon.displayName = "Webstudio1cIcon";
diff --git a/packages/icons/src/__generated__/youtube-1c.tsx b/packages/icons/src/__generated__/youtube-1c.tsx
new file mode 100644
index 0000000000..e95f634651
--- /dev/null
+++ b/packages/icons/src/__generated__/youtube-1c.tsx
@@ -0,0 +1,15 @@
+// Generated from icons/youtube-1c.svg
+
+import { forwardRef } from "react";
+import type { IconProps } from "../types";
+
+// prettier-ignore
+export const Youtube1cIcon = forwardRef<SVGSVGElement, IconProps>(
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
+ return (
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path fillRule="evenodd" d="M13.47 3.299a1.771 1.771 0 0 1 1.238 1.263C15 5.675 15 8 15 8s0 2.325-.293 3.438a1.771 1.771 0 0 1-1.238 1.263C12.38 13 8 13 8 13s-4.378 0-5.47-.299a1.771 1.771 0 0 1-1.237-1.263C1 10.325 1 8 1 8s0-2.325.293-3.438A1.771 1.771 0 0 1 2.53 3.299C3.622 3 8 3 8 3s4.378 0 5.47.299Zm-3.232 4.7L6.6 10.144V5.857L10.238 8Z" clipRule="evenodd" /></svg>
+ );
+ }
+);
+
+Youtube1cIcon.displayName = "Youtube1cIcon";
diff --git a/packages/icons/src/twitter.tsx b/packages/icons/src/twitter.tsx
new file mode 100644
index 0000000000..b184877b67
--- /dev/null
+++ b/packages/icons/src/twitter.tsx
@@ -0,0 +1,25 @@
+import { forwardRef } from "react";
+import type { IconProps } from "./types";
+
+export const TwitterIcon = forwardRef<SVGSVGElement, IconProps>(
+ ({ color = "#fff", size = 16, ...props }, forwardedRef) => {
+ return (
+ <svg
+ xmlns="http://www.w3.org/2000/svg"
+ viewBox="0 0 16 16"
+ width={size}
+ height={size}
+ fill={color}
+ {...props}
+ ref={forwardedRef}
+ >
+ <path
+ fill={color}
+ d="M13.566 5.144c.007.123.009.248.009.371 0 3.797-2.89 8.173-8.172 8.173A8.124 8.124 0 0 1 1 12.398a5.765 5.765 0 0 0 4.252-1.188 2.875 2.875 0 0 1-2.683-1.996 2.936 2.936 0 0 0 1.297-.05 2.875 2.875 0 0 1-2.304-2.817v-.035c.388.215.831.344 1.301.36a2.872 2.872 0 0 1-.888-3.836 8.153 8.153 0 0 0 5.92 3.002 2.87 2.87 0 0 1 2.798-3.526c.826 0 1.572.347 2.097.906a5.785 5.785 0 0 0 1.824-.697A2.883 2.883 0 0 1 13.35 4.11 5.746 5.746 0 0 0 15 3.658a5.8 5.8 0 0 1-1.434 1.486Z"
+ />
+ </svg>
+ );
+ }
+);
+
+TwitterIcon.displayName = "TwitterIcon";