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 size prop to generated icons (#944)

Bogdan Chadkin21796d3e16d8
diff --git a/packages/design-system/src/components/toolbar.stories.tsx b/packages/design-system/src/components/toolbar.stories.tsx
index 0b5d6c08ee..8acf53389a 100644
--- a/packages/design-system/src/components/toolbar.stories.tsx
+++ b/packages/design-system/src/components/toolbar.stories.tsx
@@ -16,16 +16,16 @@ const ToolbarStory = () => {
<Toolbar css={{ gap: theme.spacing[5] }}>
<ToolbarToggleGroup type="single" value="2">
<ToolbarToggleItem value="1">
- <PlayIcon />
+ <PlayIcon size={22} />
</ToolbarToggleItem>
<ToolbarToggleItem value="2">
- <PlayIcon />
+ <PlayIcon size={22} />
</ToolbarToggleItem>
</ToolbarToggleGroup>
<ToolbarSeparator />
<ToolbarToggleGroup type="single">
<ToolbarToggleItem value="3" focused>
- <PlayIcon />
+ <PlayIcon size={22} />
</ToolbarToggleItem>
</ToolbarToggleGroup>
</Toolbar>
diff --git a/packages/icons/src/__generated__/auto-scroll.tsx b/packages/icons/src/__generated__/auto-scroll.tsx
index 39621852a9..0f86d4fb95 100644
--- a/packages/icons/src/__generated__/auto-scroll.tsx
+++ b/packages/icons/src/__generated__/auto-scroll.tsx
@@ -1,13 +1,13 @@
// Generated from icons/auto-scroll.svg
import { forwardRef } from "react";
-import { IconProps } from "../types";
+import type { IconProps } from "../types";
// prettier-ignore
export const AutoScrollIcon = forwardRef<SVGSVGElement, IconProps>(
- ({ color = "currentColor", ...props }, forwardedRef) => {
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill={color} {...props} ref={forwardedRef}><path d="M2.375 3.302c0-.305.28-.552.625-.552h10c.345 0 .625.247.625.552 0 .305-.28.552-.625.552H3c-.345 0-.625-.247-.625-.552ZM2.375 12.698c0-.305.28-.552.625-.552h10c.345 0 .625.247.625.552 0 .305-.28.552-.625.552H3c-.345 0-.625-.247-.625-.552ZM11.23 5.429c0-.26-.211-.47-.473-.47a.472.472 0 0 0-.474.47v3.946l-1.238-1.23a.476.476 0 0 0-.67 0 .468.468 0 0 0 0 .666l2.047 2.033a.476.476 0 0 0 .67 0L13.14 8.81a.468.468 0 0 0 0-.666.476.476 0 0 0-.67 0l-1.238 1.23V5.429Z" /><path fillRule="evenodd" d="M5.487 4.965a.749.749 0 0 1 .262.345c.037.087.075.2.115.317l1.629 4.825a.482.482 0 0 1-.913.304l-.581-1.722H4.272l-.58 1.722a.482.482 0 0 1-.913-.304l1.623-4.81.005-.015c.04-.117.078-.23.114-.316l.001-.001c.028-.067.1-.237.262-.345a.631.631 0 0 1 .703 0Zm-.892 3.113h1.081l-.54-1.6-.54 1.6Z" clipRule="evenodd" /></svg>
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path d="M2.375 3.302c0-.305.28-.552.625-.552h10c.345 0 .625.247.625.552 0 .305-.28.552-.625.552H3c-.345 0-.625-.247-.625-.552ZM2.375 12.698c0-.305.28-.552.625-.552h10c.345 0 .625.247.625.552 0 .305-.28.552-.625.552H3c-.345 0-.625-.247-.625-.552ZM11.23 5.429c0-.26-.211-.47-.473-.47a.472.472 0 0 0-.474.47v3.946l-1.238-1.23a.476.476 0 0 0-.67 0 .468.468 0 0 0 0 .666l2.047 2.033a.476.476 0 0 0 .67 0L13.14 8.81a.468.468 0 0 0 0-.666.476.476 0 0 0-.67 0l-1.238 1.23V5.429Z" /><path fillRule="evenodd" d="M5.487 4.965a.749.749 0 0 1 .262.345c.037.087.075.2.115.317l1.629 4.825a.482.482 0 0 1-.913.304l-.581-1.722H4.272l-.58 1.722a.482.482 0 0 1-.913-.304l1.623-4.81.005-.015c.04-.117.078-.23.114-.316l.001-.001c.028-.067.1-.237.262-.345a.631.631 0 0 1 .703 0Zm-.892 3.113h1.081l-.54-1.6-.54 1.6Z" clipRule="evenodd" /></svg>
);
}
);
diff --git a/packages/icons/src/__generated__/chevron-big-down.tsx b/packages/icons/src/__generated__/chevron-big-down.tsx
index 3256fdc965..d6e4abd879 100644
--- a/packages/icons/src/__generated__/chevron-big-down.tsx
+++ b/packages/icons/src/__generated__/chevron-big-down.tsx
@@ -1,13 +1,13 @@
// Generated from icons/chevron-big-down.svg
import { forwardRef } from "react";
-import { IconProps } from "../types";
+import type { IconProps } from "../types";
// prettier-ignore
export const ChevronBigDownIcon = forwardRef<SVGSVGElement, IconProps>(
- ({ color = "currentColor", ...props }, forwardedRef) => {
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill={color} {...props} ref={forwardedRef}><path fill="#11181C" d="m8.46 10.947 4.553-5.463a.6.6 0 0 0-.46-.984H3.447a.6.6 0 0 0-.461.984l4.552 5.463a.6.6 0 0 0 .922 0Z" /></svg>
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path fill="#11181C" d="m8.46 10.947 4.553-5.463a.6.6 0 0 0-.46-.984H3.447a.6.6 0 0 0-.461.984l4.552 5.463a.6.6 0 0 0 .922 0Z" /></svg>
);
}
);
diff --git a/packages/icons/src/__generated__/chevron-big-left.tsx b/packages/icons/src/__generated__/chevron-big-left.tsx
index 23bfa2363a..5c792d4631 100644
--- a/packages/icons/src/__generated__/chevron-big-left.tsx
+++ b/packages/icons/src/__generated__/chevron-big-left.tsx
@@ -1,13 +1,13 @@
// Generated from icons/chevron-big-left.svg
import { forwardRef } from "react";
-import { IconProps } from "../types";
+import type { IconProps } from "../types";
// prettier-ignore
export const ChevronBigLeftIcon = forwardRef<SVGSVGElement, IconProps>(
- ({ color = "currentColor", ...props }, forwardedRef) => {
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill={color} {...props} ref={forwardedRef}><path fill="#11181C" d="m5.053 8.46 5.463 4.553a.6.6 0 0 0 .984-.46V3.447a.6.6 0 0 0-.984-.461L5.053 7.539a.6.6 0 0 0 0 .922Z" /></svg>
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path fill="#11181C" d="m5.053 8.46 5.463 4.553a.6.6 0 0 0 .984-.46V3.447a.6.6 0 0 0-.984-.461L5.053 7.539a.6.6 0 0 0 0 .922Z" /></svg>
);
}
);
diff --git a/packages/icons/src/__generated__/chevron-big-right.tsx b/packages/icons/src/__generated__/chevron-big-right.tsx
index bb4169741c..0b4757b355 100644
--- a/packages/icons/src/__generated__/chevron-big-right.tsx
+++ b/packages/icons/src/__generated__/chevron-big-right.tsx
@@ -1,13 +1,13 @@
// Generated from icons/chevron-big-right.svg
import { forwardRef } from "react";
-import { IconProps } from "../types";
+import type { IconProps } from "../types";
// prettier-ignore
export const ChevronBigRightIcon = forwardRef<SVGSVGElement, IconProps>(
- ({ color = "currentColor", ...props }, forwardedRef) => {
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill={color} {...props} ref={forwardedRef}><path fill="#11181C" d="M10.947 7.54 5.484 2.986a.6.6 0 0 0-.984.46v9.105a.6.6 0 0 0 .984.461l5.463-4.552a.6.6 0 0 0 0-.922Z" /></svg>
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path fill="#11181C" d="M10.947 7.54 5.484 2.986a.6.6 0 0 0-.984.46v9.105a.6.6 0 0 0 .984.461l5.463-4.552a.6.6 0 0 0 0-.922Z" /></svg>
);
}
);
diff --git a/packages/icons/src/__generated__/chevron-big-up.tsx b/packages/icons/src/__generated__/chevron-big-up.tsx
index 3e04651ea3..79e4b89309 100644
--- a/packages/icons/src/__generated__/chevron-big-up.tsx
+++ b/packages/icons/src/__generated__/chevron-big-up.tsx
@@ -1,13 +1,13 @@
// Generated from icons/chevron-big-up.svg
import { forwardRef } from "react";
-import { IconProps } from "../types";
+import type { IconProps } from "../types";
// prettier-ignore
export const ChevronBigUpIcon = forwardRef<SVGSVGElement, IconProps>(
- ({ color = "currentColor", ...props }, forwardedRef) => {
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill={color} {...props} ref={forwardedRef}><path fill="#11181C" d="m7.54 5.053-4.553 5.463a.6.6 0 0 0 .46.984h9.105a.6.6 0 0 0 .461-.984L8.461 5.053a.6.6 0 0 0-.922 0Z" /></svg>
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path fill="#11181C" d="m7.54 5.053-4.553 5.463a.6.6 0 0 0 .46.984h9.105a.6.6 0 0 0 .461-.984L8.461 5.053a.6.6 0 0 0-.922 0Z" /></svg>
);
}
);
diff --git a/packages/icons/src/__generated__/chevron-filled-down.tsx b/packages/icons/src/__generated__/chevron-filled-down.tsx
index 74c050b5b6..0634a9004d 100644
--- a/packages/icons/src/__generated__/chevron-filled-down.tsx
+++ b/packages/icons/src/__generated__/chevron-filled-down.tsx
@@ -1,13 +1,13 @@
// Generated from icons/chevron-filled-down.svg
import { forwardRef } from "react";
-import { IconProps } from "../types";
+import type { IconProps } from "../types";
// prettier-ignore
export const ChevronFilledDownIcon = forwardRef<SVGSVGElement, IconProps>(
- ({ color = "currentColor", ...props }, forwardedRef) => {
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill={color} {...props} ref={forwardedRef}><path fill="#11181C" d="m8.5 10.251 2.878-4.318a.6.6 0 0 0-.5-.933H5.122a.6.6 0 0 0-.5.933l2.88 4.318a.6.6 0 0 0 .998 0Z" /></svg>
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path fill="#11181C" d="m8.5 10.251 2.878-4.318a.6.6 0 0 0-.5-.933H5.122a.6.6 0 0 0-.5.933l2.88 4.318a.6.6 0 0 0 .998 0Z" /></svg>
);
}
);
diff --git a/packages/icons/src/__generated__/chevron-filled-left.tsx b/packages/icons/src/__generated__/chevron-filled-left.tsx
index 1c121e4423..14b9a99a10 100644
--- a/packages/icons/src/__generated__/chevron-filled-left.tsx
+++ b/packages/icons/src/__generated__/chevron-filled-left.tsx
@@ -1,13 +1,13 @@
// Generated from icons/chevron-filled-left.svg
import { forwardRef } from "react";
-import { IconProps } from "../types";
+import type { IconProps } from "../types";
// prettier-ignore
export const ChevronFilledLeftIcon = forwardRef<SVGSVGElement, IconProps>(
- ({ color = "currentColor", ...props }, forwardedRef) => {
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill={color} {...props} ref={forwardedRef}><path fill="#11181C" d="m5.749 8.5 4.318 2.878a.6.6 0 0 0 .933-.5V5.122a.6.6 0 0 0-.933-.5L5.75 7.502a.6.6 0 0 0 0 .998Z" /></svg>
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path fill="#11181C" d="m5.749 8.5 4.318 2.878a.6.6 0 0 0 .933-.5V5.122a.6.6 0 0 0-.933-.5L5.75 7.502a.6.6 0 0 0 0 .998Z" /></svg>
);
}
);
diff --git a/packages/icons/src/__generated__/chevron-filled-right.tsx b/packages/icons/src/__generated__/chevron-filled-right.tsx
index e136b7ef69..39e5d49628 100644
--- a/packages/icons/src/__generated__/chevron-filled-right.tsx
+++ b/packages/icons/src/__generated__/chevron-filled-right.tsx
@@ -1,13 +1,13 @@
// Generated from icons/chevron-filled-right.svg
import { forwardRef } from "react";
-import { IconProps } from "../types";
+import type { IconProps } from "../types";
// prettier-ignore
export const ChevronFilledRightIcon = forwardRef<SVGSVGElement, IconProps>(
- ({ color = "currentColor", ...props }, forwardedRef) => {
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill={color} {...props} ref={forwardedRef}><path fill="#11181C" d="M10.251 7.5 5.933 4.623a.6.6 0 0 0-.933.5v5.757a.6.6 0 0 0 .933.5l4.318-2.88a.6.6 0 0 0 0-.998Z" /></svg>
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path fill="#11181C" d="M10.251 7.5 5.933 4.623a.6.6 0 0 0-.933.5v5.757a.6.6 0 0 0 .933.5l4.318-2.88a.6.6 0 0 0 0-.998Z" /></svg>
);
}
);
diff --git a/packages/icons/src/__generated__/chevron-filled-up.tsx b/packages/icons/src/__generated__/chevron-filled-up.tsx
index bf936fff60..604a0d5f3b 100644
--- a/packages/icons/src/__generated__/chevron-filled-up.tsx
+++ b/packages/icons/src/__generated__/chevron-filled-up.tsx
@@ -1,13 +1,13 @@
// Generated from icons/chevron-filled-up.svg
import { forwardRef } from "react";
-import { IconProps } from "../types";
+import type { IconProps } from "../types";
// prettier-ignore
export const ChevronFilledUpIcon = forwardRef<SVGSVGElement, IconProps>(
- ({ color = "currentColor", ...props }, forwardedRef) => {
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill={color} {...props} ref={forwardedRef}><path fill="#11181C" d="M7.5 5.508 4.623 9.826a.6.6 0 0 0 .5.933h5.757a.6.6 0 0 0 .5-.933l-2.88-4.318a.6.6 0 0 0-.998 0Z" /></svg>
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path fill="#11181C" d="M7.5 5.508 4.623 9.826a.6.6 0 0 0 .5.933h5.757a.6.6 0 0 0 .5-.933l-2.88-4.318a.6.6 0 0 0-.998 0Z" /></svg>
);
}
);
diff --git a/packages/icons/src/__generated__/dot.tsx b/packages/icons/src/__generated__/dot.tsx
index 65ecad1e09..ac4076d3a6 100644
--- a/packages/icons/src/__generated__/dot.tsx
+++ b/packages/icons/src/__generated__/dot.tsx
@@ -1,13 +1,13 @@
// Generated from icons/dot.svg
import { forwardRef } from "react";
-import { IconProps } from "../types";
+import type { IconProps } from "../types";
// prettier-ignore
export const DotIcon = forwardRef<SVGSVGElement, IconProps>(
- ({ color = "currentColor", ...props }, forwardedRef) => {
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill={color} {...props} ref={forwardedRef}><path fill="#11181C" d="M10 8a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z" /></svg>
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path fill="#11181C" d="M10 8a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z" /></svg>
);
}
);
diff --git a/packages/icons/src/__generated__/eyecon-closed.tsx b/packages/icons/src/__generated__/eyecon-closed.tsx
index 47e77e7cb1..9dd40cb31d 100644
--- a/packages/icons/src/__generated__/eyecon-closed.tsx
+++ b/packages/icons/src/__generated__/eyecon-closed.tsx
@@ -1,13 +1,13 @@
// Generated from icons/eyecon-closed.svg
import { forwardRef } from "react";
-import { IconProps } from "../types";
+import type { IconProps } from "../types";
// prettier-ignore
export const EyeconClosedIcon = forwardRef<SVGSVGElement, IconProps>(
- ({ color = "currentColor", ...props }, forwardedRef) => {
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill={color} {...props} ref={forwardedRef}><path d="M2.209 7.594a.55.55 0 0 1 .757.175 6.463 6.463 0 0 0 1.36 1.562A5.708 5.708 0 0 0 8 10.653c2.146 0 3.944-1.14 5.034-2.884a.55.55 0 0 1 .933.583c-.323.516-.702.99-1.13 1.41l.832.831a.55.55 0 1 1-.778.778l-.899-.898a6.815 6.815 0 0 1-1.889.954l.314 1.172a.55.55 0 0 1-1.062.284l-.323-1.206a6.992 6.992 0 0 1-2.063 0l-.323 1.206a.55.55 0 1 1-1.062-.284l.314-1.171a6.812 6.812 0 0 1-1.89-.955l-.897.898a.55.55 0 0 1-.778-.777l.83-.831a7.665 7.665 0 0 1-1.13-1.411.55.55 0 0 1 .176-.758Z" /></svg>
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path d="M2.209 7.594a.55.55 0 0 1 .757.175 6.463 6.463 0 0 0 1.36 1.562A5.708 5.708 0 0 0 8 10.653c2.146 0 3.944-1.14 5.034-2.884a.55.55 0 0 1 .933.583c-.323.516-.702.99-1.13 1.41l.832.831a.55.55 0 1 1-.778.778l-.899-.898a6.815 6.815 0 0 1-1.889.954l.314 1.172a.55.55 0 0 1-1.062.284l-.323-1.206a6.992 6.992 0 0 1-2.063 0l-.323 1.206a.55.55 0 1 1-1.062-.284l.314-1.171a6.812 6.812 0 0 1-1.89-.955l-.897.898a.55.55 0 0 1-.778-.777l.83-.831a7.665 7.665 0 0 1-1.13-1.411.55.55 0 0 1 .176-.758Z" /></svg>
);
}
);
diff --git a/packages/icons/src/__generated__/eyecon-open.tsx b/packages/icons/src/__generated__/eyecon-open.tsx
index 64e5e45030..dc09066573 100644
--- a/packages/icons/src/__generated__/eyecon-open.tsx
+++ b/packages/icons/src/__generated__/eyecon-open.tsx
@@ -1,13 +1,13 @@
// Generated from icons/eyecon-open.svg
import { forwardRef } from "react";
-import { IconProps } from "../types";
+import type { IconProps } from "../types";
// prettier-ignore
export const EyeconOpenIcon = forwardRef<SVGSVGElement, IconProps>(
- ({ color = "currentColor", ...props }, forwardedRef) => {
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill={color} {...props} ref={forwardedRef}><path d="M8 9.849A1.849 1.849 0 1 0 8 6.15 1.849 1.849 0 0 0 8 9.85Z" /><path fillRule="evenodd" d="M2.132 8.458a.857.857 0 0 1 0-.915A6.927 6.927 0 0 1 8 4.303a6.927 6.927 0 0 1 5.868 3.24.857.857 0 0 1 0 .915A6.927 6.927 0 0 1 8 11.698a6.927 6.927 0 0 1-5.868-3.24ZM8 10.698A5.926 5.926 0 0 1 3.027 8 5.926 5.926 0 0 1 8 5.303 5.926 5.926 0 0 1 12.973 8 5.926 5.926 0 0 1 8 10.697Z" clipRule="evenodd" /></svg>
+ <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 9.849A1.849 1.849 0 1 0 8 6.15 1.849 1.849 0 0 0 8 9.85Z" /><path fillRule="evenodd" d="M2.132 8.458a.857.857 0 0 1 0-.915A6.927 6.927 0 0 1 8 4.303a6.927 6.927 0 0 1 5.868 3.24.857.857 0 0 1 0 .915A6.927 6.927 0 0 1 8 11.698a6.927 6.927 0 0 1-5.868-3.24ZM8 10.698A5.926 5.926 0 0 1 3.027 8 5.926 5.926 0 0 1 8 5.303 5.926 5.926 0 0 1 12.973 8 5.926 5.926 0 0 1 8 10.697Z" clipRule="evenodd" /></svg>
);
}
);
diff --git a/packages/icons/src/__generated__/info.tsx b/packages/icons/src/__generated__/info.tsx
index ce7983d188..f7af714a3b 100644
--- a/packages/icons/src/__generated__/info.tsx
+++ b/packages/icons/src/__generated__/info.tsx
@@ -1,13 +1,13 @@
// Generated from icons/info.svg
import { forwardRef } from "react";
-import { IconProps } from "../types";
+import type { IconProps } from "../types";
// prettier-ignore
export const InfoIcon = forwardRef<SVGSVGElement, IconProps>(
- ({ color = "currentColor", ...props }, forwardedRef) => {
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill={color} {...props} ref={forwardedRef}><path d="M8.76 5.628a.75.75 0 1 0-1.5 0v2.828a.75.75 0 1 0 1.5 0V5.628ZM8 9.626a.75.75 0 1 0 0 1.5h.007a.75.75 0 1 0 0-1.5H8Z" /><path fillRule="evenodd" d="M8 2.35a5.65 5.65 0 1 0 0 11.3 5.65 5.65 0 0 0 0-11.3ZM4.924 4.924a4.35 4.35 0 1 1 6.152 6.152 4.35 4.35 0 0 1-6.152-6.152Z" clipRule="evenodd" /></svg>
+ <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.76 5.628a.75.75 0 1 0-1.5 0v2.828a.75.75 0 1 0 1.5 0V5.628ZM8 9.626a.75.75 0 1 0 0 1.5h.007a.75.75 0 1 0 0-1.5H8Z" /><path fillRule="evenodd" d="M8 2.35a5.65 5.65 0 1 0 0 11.3 5.65 5.65 0 0 0 0-11.3ZM4.924 4.924a4.35 4.35 0 1 1 6.152 6.152 4.35 4.35 0 0 1-6.152-6.152Z" clipRule="evenodd" /></svg>
);
}
);
diff --git a/packages/icons/src/__generated__/linked.tsx b/packages/icons/src/__generated__/linked.tsx
index 9e8532c650..56450f51f4 100644
--- a/packages/icons/src/__generated__/linked.tsx
+++ b/packages/icons/src/__generated__/linked.tsx
@@ -1,13 +1,13 @@
// Generated from icons/linked.svg
import { forwardRef } from "react";
-import { IconProps } from "../types";
+import type { IconProps } from "../types";
// prettier-ignore
export const LinkedIcon = forwardRef<SVGSVGElement, IconProps>(
- ({ color = "currentColor", ...props }, forwardedRef) => {
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill={color} {...props} ref={forwardedRef}><path fillRule="evenodd" d="M11.223 6.08h-1.142a.7.7 0 0 1 0-1.4h1.142c1.952 0 3.7 1.4 3.7 3.32s-1.748 3.32-3.7 3.32h-1.142a.7.7 0 0 1 0-1.4h1.142c1.363 0 2.3-.946 2.3-1.92s-.937-1.92-2.3-1.92Zm-6.447 0c-1.363 0-2.3.946-2.3 1.92 0 .975.937 1.92 2.3 1.92h1.142a.7.7 0 0 1 0 1.4H4.776c-1.952 0-3.7-1.4-3.7-3.32s1.748-3.32 3.7-3.32h1.142a.7.7 0 1 1 0 1.4H4.776ZM5.233 8a.7.7 0 0 1 .7-.7h4.133a.7.7 0 1 1 0 1.4H5.933a.7.7 0 0 1-.7-.7Z" clipRule="evenodd" /></svg>
+ <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="M11.223 6.08h-1.142a.7.7 0 0 1 0-1.4h1.142c1.952 0 3.7 1.4 3.7 3.32s-1.748 3.32-3.7 3.32h-1.142a.7.7 0 0 1 0-1.4h1.142c1.363 0 2.3-.946 2.3-1.92s-.937-1.92-2.3-1.92Zm-6.447 0c-1.363 0-2.3.946-2.3 1.92 0 .975.937 1.92 2.3 1.92h1.142a.7.7 0 0 1 0 1.4H4.776c-1.952 0-3.7-1.4-3.7-3.32s1.748-3.32 3.7-3.32h1.142a.7.7 0 1 1 0 1.4H4.776ZM5.233 8a.7.7 0 0 1 .7-.7h4.133a.7.7 0 1 1 0 1.4H5.933a.7.7 0 0 1-.7-.7Z" clipRule="evenodd" /></svg>
);
}
);
diff --git a/packages/icons/src/__generated__/offline.tsx b/packages/icons/src/__generated__/offline.tsx
index 47bf7820f7..376cc0841c 100644
--- a/packages/icons/src/__generated__/offline.tsx
+++ b/packages/icons/src/__generated__/offline.tsx
@@ -1,13 +1,13 @@
// Generated from icons/offline.svg
import { forwardRef } from "react";
-import { IconProps } from "../types";
+import type { IconProps } from "../types";
// prettier-ignore
export const OfflineIcon = forwardRef<SVGSVGElement, IconProps>(
- ({ color = "currentColor", ...props }, forwardedRef) => {
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22" width="22" height="22" fill={color} {...props} ref={forwardedRef}><path d="M3.301 3.14a.75.75 0 0 1 1.061 0l14.67 14.67a.75.75 0 1 1-1.061 1.06l-1.53-1.53a4.521 4.521 0 0 1-.857.082H6.416a4.5 4.5 0 0 1-.975-8.895 5.723 5.723 0 0 1 .656-1.53L3.301 4.2a.75.75 0 0 1 0-1.06ZM7.2 8.098a4.216 4.216 0 0 0-.394 1.21.75.75 0 0 1-.67.626 3.001 3.001 0 0 0 .28 5.988h8.609L7.199 8.098Zm2.555-3.71a5.753 5.753 0 0 1 6.805 4.138 4.502 4.502 0 0 1 3.226 6.014.75.75 0 1 1-1.4-.54 3.001 3.001 0 0 0-2.52-4.067.75.75 0 0 1-.67-.624 4.252 4.252 0 0 0-5.117-3.455.75.75 0 0 1-.324-1.465Z" clipRule="evenodd" /></svg>
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path d="M3.301 3.14a.75.75 0 0 1 1.061 0l14.67 14.67a.75.75 0 1 1-1.061 1.06l-1.53-1.53a4.521 4.521 0 0 1-.857.082H6.416a4.5 4.5 0 0 1-.975-8.895 5.723 5.723 0 0 1 .656-1.53L3.301 4.2a.75.75 0 0 1 0-1.06ZM7.2 8.098a4.216 4.216 0 0 0-.394 1.21.75.75 0 0 1-.67.626 3.001 3.001 0 0 0 .28 5.988h8.609L7.199 8.098Zm2.555-3.71a5.753 5.753 0 0 1 6.805 4.138 4.502 4.502 0 0 1 3.226 6.014.75.75 0 1 1-1.4-.54 3.001 3.001 0 0 0-2.52-4.067.75.75 0 0 1-.67-.624 4.252 4.252 0 0 0-5.117-3.455.75.75 0 0 1-.324-1.465Z" clipRule="evenodd" /></svg>
);
}
);
diff --git a/packages/icons/src/__generated__/play.tsx b/packages/icons/src/__generated__/play.tsx
index 16d4179a81..f22928cd85 100644
--- a/packages/icons/src/__generated__/play.tsx
+++ b/packages/icons/src/__generated__/play.tsx
@@ -1,13 +1,13 @@
// Generated from icons/play.svg
import { forwardRef } from "react";
-import { IconProps } from "../types";
+import type { IconProps } from "../types";
// prettier-ignore
export const PlayIcon = forwardRef<SVGSVGElement, IconProps>(
- ({ color = "currentColor", ...props }, forwardedRef) => {
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22" width="22" height="22" fill={color} {...props} ref={forwardedRef}><path d="M4.766 5.765c0-.725 0-1.088.178-1.288a.93.93 0 0 1 .648-.294c.294-.015.65.186 1.359.588l9.234 5.235c.586.332.88.498.982.708.09.183.09.389 0 .572-.102.21-.396.376-.982.708l-9.234 5.235c-.71.402-1.065.603-1.359.588a.93.93 0 0 1-.648-.294c-.178-.2-.178-.563-.178-1.288V5.765Z" /></svg>
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path d="M4.766 5.765c0-.725 0-1.088.178-1.288a.93.93 0 0 1 .648-.294c.294-.015.65.186 1.359.588l9.234 5.235c.586.332.88.498.982.708.09.183.09.389 0 .572-.102.21-.396.376-.982.708l-9.234 5.235c-.71.402-1.065.603-1.359.588a.93.93 0 0 1-.648-.294c-.178-.2-.178-.563-.178-1.288V5.765Z" /></svg>
);
}
);
diff --git a/packages/icons/src/__generated__/scroll.tsx b/packages/icons/src/__generated__/scroll.tsx
index 79b58c1c27..d360898e0a 100644
--- a/packages/icons/src/__generated__/scroll.tsx
+++ b/packages/icons/src/__generated__/scroll.tsx
@@ -1,13 +1,13 @@
// Generated from icons/scroll.svg
import { forwardRef } from "react";
-import { IconProps } from "../types";
+import type { IconProps } from "../types";
// prettier-ignore
export const ScrollIcon = forwardRef<SVGSVGElement, IconProps>(
- ({ color = "currentColor", ...props }, forwardedRef) => {
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill={color} {...props} ref={forwardedRef}><path d="M10.953 5.399a.484.484 0 0 0-.49-.478c-.27 0-.49.214-.49.478v4.009l-1.28-1.25a.499.499 0 0 0-.693 0 .47.47 0 0 0 0 .677l2.117 2.065a.499.499 0 0 0 .693 0l2.116-2.065a.47.47 0 0 0 0-.676.499.499 0 0 0-.693 0l-1.28 1.249V5.399Z" /><path fillRule="evenodd" d="M1.94 12.7c0 .304.277.55.618.55h10.894c.341 0 .618-.246.618-.55 0-.304-.277-.55-.618-.55H2.558c-.341 0-.618.246-.618.55ZM1.94 3.3c0 .304.277.55.618.55h10.894c.341 0 .618-.246.618-.55 0-.304-.277-.55-.618-.55H2.558c-.341 0-.618.246-.618.55ZM1.94 5.65c0 .304.26.55.582.55h3.796c.321 0 .582-.246.582-.55 0-.304-.26-.55-.582-.55H2.522c-.321 0-.582.246-.582.55ZM1.94 10.35c0 .304.26.55.582.55h3.796c.321 0 .582-.246.582-.55 0-.304-.26-.55-.582-.55H2.522c-.321 0-.582.246-.582.55ZM1.94 8c0 .304.26.55.582.55h3.796c.321 0 .582-.246.582-.55 0-.304-.26-.55-.582-.55H2.522c-.321 0-.582.246-.582.55Z" clipRule="evenodd" /></svg>
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path d="M10.953 5.399a.484.484 0 0 0-.49-.478c-.27 0-.49.214-.49.478v4.009l-1.28-1.25a.499.499 0 0 0-.693 0 .47.47 0 0 0 0 .677l2.117 2.065a.499.499 0 0 0 .693 0l2.116-2.065a.47.47 0 0 0 0-.676.499.499 0 0 0-.693 0l-1.28 1.249V5.399Z" /><path fillRule="evenodd" d="M1.94 12.7c0 .304.277.55.618.55h10.894c.341 0 .618-.246.618-.55 0-.304-.277-.55-.618-.55H2.558c-.341 0-.618.246-.618.55ZM1.94 3.3c0 .304.277.55.618.55h10.894c.341 0 .618-.246.618-.55 0-.304-.277-.55-.618-.55H2.558c-.341 0-.618.246-.618.55ZM1.94 5.65c0 .304.26.55.582.55h3.796c.321 0 .582-.246.582-.55 0-.304-.26-.55-.582-.55H2.522c-.321 0-.582.246-.582.55ZM1.94 10.35c0 .304.26.55.582.55h3.796c.321 0 .582-.246.582-.55 0-.304-.26-.55-.582-.55H2.522c-.321 0-.582.246-.582.55ZM1.94 8c0 .304.26.55.582.55h3.796c.321 0 .582-.246.582-.55 0-.304-.26-.55-.582-.55H2.522c-.321 0-.582.246-.582.55Z" clipRule="evenodd" /></svg>
);
}
);
diff --git a/packages/icons/src/__generated__/subscript.tsx b/packages/icons/src/__generated__/subscript.tsx
index 879ab8f7bf..61f8ab7106 100644
--- a/packages/icons/src/__generated__/subscript.tsx
+++ b/packages/icons/src/__generated__/subscript.tsx
@@ -1,13 +1,13 @@
// Generated from icons/subscript.svg
import { forwardRef } from "react";
-import { IconProps } from "../types";
+import type { IconProps } from "../types";
// prettier-ignore
export const SubscriptIcon = forwardRef<SVGSVGElement, IconProps>(
- ({ color = "currentColor", ...props }, forwardedRef) => {
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" width="16" height="16" fill={color} {...props} ref={forwardedRef}><path d="M38.5 40v-4.25q0-.7.4-1.1.4-.4 1.1-.4h4.5V31.5h-6V30h6q.7 0 1.1.4.4.4.4 1.1v2.75q0 .7-.4 1.1-.4.4-1.1.4H40v2.75h6V40Zm-26.75-4L21 21.45 12.4 8h4.3l6.75 10.65L30.2 8h4.3l-8.6 13.45L35.15 36H30.9l-7.45-11.7L16 36Z" /></svg>
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path d="M38.5 40v-4.25q0-.7.4-1.1.4-.4 1.1-.4h4.5V31.5h-6V30h6q.7 0 1.1.4.4.4.4 1.1v2.75q0 .7-.4 1.1-.4.4-1.1.4H40v2.75h6V40Zm-26.75-4L21 21.45 12.4 8h4.3l6.75 10.65L30.2 8h4.3l-8.6 13.45L35.15 36H30.9l-7.45-11.7L16 36Z" /></svg>
);
}
);
diff --git a/packages/icons/src/__generated__/superscript.tsx b/packages/icons/src/__generated__/superscript.tsx
index e11c814f43..eed63e97e9 100644
--- a/packages/icons/src/__generated__/superscript.tsx
+++ b/packages/icons/src/__generated__/superscript.tsx
@@ -1,13 +1,13 @@
// Generated from icons/superscript.svg
import { forwardRef } from "react";
-import { IconProps } from "../types";
+import type { IconProps } from "../types";
// prettier-ignore
export const SuperscriptIcon = forwardRef<SVGSVGElement, IconProps>(
- ({ color = "currentColor", ...props }, forwardedRef) => {
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" width="16" height="16" fill={color} {...props} ref={forwardedRef}><path d="M38.5 18v-4.25q0-.7.4-1.1.4-.4 1.1-.4h4.5V9.5h-6V8h6q.7 0 1.1.4.4.4.4 1.1v2.75q0 .7-.4 1.1-.4.4-1.1.4H40v2.75h6V18ZM11.75 40 21 25.45 12.4 12h4.3l6.75 10.65L30.2 12h4.3l-8.6 13.45L35.15 40H30.9l-7.45-11.7L16 40Z" /></svg>
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path d="M38.5 18v-4.25q0-.7.4-1.1.4-.4 1.1-.4h4.5V9.5h-6V8h6q.7 0 1.1.4.4.4.4 1.1v2.75q0 .7-.4 1.1-.4.4-1.1.4H40v2.75h6V18ZM11.75 40 21 25.45 12.4 12h4.3l6.75 10.65L30.2 12h4.3l-8.6 13.45L35.15 40H30.9l-7.45-11.7L16 40Z" /></svg>
);
}
);
diff --git a/packages/icons/src/__generated__/unlinked.tsx b/packages/icons/src/__generated__/unlinked.tsx
index 8f55ef6cbe..a5605a8791 100644
--- a/packages/icons/src/__generated__/unlinked.tsx
+++ b/packages/icons/src/__generated__/unlinked.tsx
@@ -1,13 +1,13 @@
// Generated from icons/unlinked.svg
import { forwardRef } from "react";
-import { IconProps } from "../types";
+import type { IconProps } from "../types";
// prettier-ignore
export const UnlinkedIcon = forwardRef<SVGSVGElement, IconProps>(
- ({ color = "currentColor", ...props }, forwardedRef) => {
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill={color} {...props} ref={forwardedRef}><path fillRule="evenodd" d="M11.223 6.08h-1.142a.7.7 0 0 1 0-1.4h1.142c1.952 0 3.7 1.4 3.7 3.32s-1.748 3.32-3.7 3.32h-1.142a.7.7 0 0 1 0-1.4h1.142c1.363 0 2.3-.946 2.3-1.92s-.937-1.92-2.3-1.92Zm-6.447 0c-1.363 0-2.3.946-2.3 1.92 0 .975.937 1.92 2.3 1.92h1.142a.7.7 0 0 1 0 1.4H4.776c-1.952 0-3.7-1.4-3.7-3.32s1.748-3.32 3.7-3.32h1.142a.7.7 0 1 1 0 1.4H4.776Z" clipRule="evenodd" /></svg>
+ <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="M11.223 6.08h-1.142a.7.7 0 0 1 0-1.4h1.142c1.952 0 3.7 1.4 3.7 3.32s-1.748 3.32-3.7 3.32h-1.142a.7.7 0 0 1 0-1.4h1.142c1.363 0 2.3-.946 2.3-1.92s-.937-1.92-2.3-1.92Zm-6.447 0c-1.363 0-2.3.946-2.3 1.92 0 .975.937 1.92 2.3 1.92h1.142a.7.7 0 0 1 0 1.4H4.776c-1.952 0-3.7-1.4-3.7-3.32s1.748-3.32 3.7-3.32h1.142a.7.7 0 1 1 0 1.4H4.776Z" clipRule="evenodd" /></svg>
);
}
);
diff --git a/packages/icons/src/__generated__/webstudio.tsx b/packages/icons/src/__generated__/webstudio.tsx
index 0f27f4da3d..b41dcc65d3 100644
--- a/packages/icons/src/__generated__/webstudio.tsx
+++ b/packages/icons/src/__generated__/webstudio.tsx
@@ -1,13 +1,13 @@
// Generated from icons/webstudio.svg
import { forwardRef } from "react";
-import { IconProps } from "../types";
+import type { IconProps } from "../types";
// prettier-ignore
export const WebstudioIcon = forwardRef<SVGSVGElement, IconProps>(
- ({ color = "currentColor", ...props }, forwardedRef) => {
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 280 210" width="16" height="16" fill={color} {...props} ref={forwardedRef}><mask id="a" width="280" height="210" x="0" y="0" maskUnits="userSpaceOnUse" style={{"maskType":"alpha"}}><path fill="#000" fillRule="evenodd" d="M73.71 98.769 47.071 16.686C42.971 3.983 29.375-2.918 16.678 1.183 3.981 5.283-2.917 18.987 1.182 31.59L53.57 193.328c.176.546.43 1.041.753 1.487 3.324 8.339 11.18 14.469 20.742 15.117 13.297.9 24.794-9.102 25.694-22.406 0 0 2.399-36.008 14.997-64.815 2.799-6.401 6.098-12.503 10.297-17.304 3.689-4.389 8.074-7.882 14.047-7.902 5.873.02 10.258 3.513 14.047 7.902 4.099 4.901 7.498 10.903 10.297 17.304 12.698 28.807 15.097 64.815 15.097 64.815.9 13.304 12.397 23.406 25.694 22.406 10.761-.729 19.362-8.467 21.774-18.39L278.818 31.59c4.099-12.703-2.799-26.307-15.496-30.407-12.598-4.101-26.294 2.8-30.393 15.503L206.442 98.46c-13.815-28.497-36.054-49.266-66.292-49.266-30.347 0-52.637 20.92-66.44 49.575Zm66.39-1.264h-.05.1-.05Z" clipRule="evenodd" /></mask><g mask="url(#a)"><path fill="url(#b)" fillRule="evenodd" d="M156.5 220.034 231.1-10.02H290v39.509l-61.8 190.545h-71.7Z" clipRule="evenodd" /><path fill="url(#c)" fillRule="evenodd" d="M156.5 220.034 231.1-10.02H290v39.509l-61.8 190.545h-71.7Z" clipRule="evenodd" /><path fill="url(#d)" fillOpacity=".8" fillRule="evenodd" d="M156.5 220.034 231.1-10.02H290v39.509l-61.8 190.545h-71.7Z" clipRule="evenodd" /><path fill="url(#e)" fillRule="evenodd" d="M156.5 220.034 231.1-10.02H290v39.509l-61.8 190.545h-71.7Z" clipRule="evenodd" /><g fillRule="evenodd" clipRule="evenodd" style={{"mixBlendMode":"multiply"}}><path fill="url(#f)" d="M156.5 220.034 231.1-10.02 290 29.489l-61.8 190.545h-71.7Z" /><path fill="url(#g)" d="M156.5 220.034 231.1-10.02 290 29.489l-61.8 190.545h-71.7Z" /></g><path fill="#E63CFE" fillRule="evenodd" d="M226.5 219.934h-51.4c-3.6-31.208-15-112.527-35-112.527-21.7 0-31.8 90.121-34 112.527H32.4c3.2-38.909 20.8-180.843 107.7-180.843 25.2 0 47.1 12.403 63.7 35.308l2.645 24.061s1.555 3.346 2.155 4.646c15.9 36.009 19 81.019 19 81.019.2 3.201-.2 6.302-1.1 9.102v26.707Z" clipRule="evenodd" /><path fill="url(#h)" fillRule="evenodd" d="M226.5 219.934h-51.4c-3.6-31.208-15-112.527-35-112.527-21.7 0-31.8 90.121-34 112.527H32.4c3.2-38.909 20.8-180.843 107.7-180.843 25.2 0 47.1 12.403 63.7 35.308l2.645 24.061s1.555 3.346 2.155 4.646c15.9 36.009 19 81.019 19 81.019.2 3.201-.2 6.302-1.1 9.102v26.707Z" clipRule="evenodd" /><path fill="url(#i)" fillRule="evenodd" d="M226.5 219.934h-51.4c-3.6-31.208-15-112.527-35-112.527-21.7 0-31.8 90.121-34 112.527H32.4c3.2-38.909 20.8-180.843 107.7-180.843 25.2 0 47.1 12.403 63.7 35.308l2.645 24.061s1.555 3.346 2.155 4.646c15.9 36.009 19 81.019 19 81.019.2 3.201-.2 6.302-1.1 9.102v26.707Z" clipRule="evenodd" /><path fill="url(#j)" fillRule="evenodd" d="M226.5 219.934h-51.4c-3.6-31.208-15-112.527-35-112.527-21.7 0-31.8 90.121-34 112.527H32.4c3.2-38.909 20.8-180.843 107.7-180.843 25.2 0 47.1 12.403 63.7 35.308l2.645 24.061s1.555 3.346 2.155 4.646c15.9 36.009 19 81.019 19 81.019.2 3.201-.2 6.302-1.1 9.102v26.707Z" clipRule="evenodd" /><path fill="url(#k)" fillRule="evenodd" d="M226.5 219.934h-51.4c-3.6-31.208-15-112.527-35-112.527-21.7 0-31.8 90.121-34 112.527H32.4c3.2-38.909 20.8-180.843 107.7-180.843 25.2 0 47.1 12.403 63.7 35.308l2.645 24.061s1.555 3.346 2.155 4.646c15.9 36.009 19 81.019 19 81.019.2 3.201-.2 6.302-1.1 9.102v26.707Z" clipRule="evenodd" /><g fillRule="evenodd" clipRule="evenodd" style={{"mixBlendMode":"multiply"}}><path fill="url(#l)" d="M140.1 107.407c-21.7 0-31.8 90.121-34 112.527H32.4c3.2-38.909 20.8-180.843 107.7-180.843 111.75 0 95.397 68.316 0 68.316Z" /><path fill="url(#m)" d="M140.1 107.407c-21.7 0-31.8 90.121-34 112.527H32.4c3.2-38.909 20.8-180.843 107.7-180.843 111.75 0 95.397 68.316 0 68.316Z" /></g><path fill="url(#n)" fillRule="evenodd" d="M-9.9 29.489v-39.51H49L76.4 74.5l-2.693 24.27L99.5 178.424c1 3.001 1.3 6.201 1.1 9.202 0 0-1.9 28.207-13.4 32.508H51.8L-9.9 29.489Z" clipRule="evenodd" /><path fill="url(#o)" fillRule="evenodd" d="M-9.9 29.489v-39.51H49L76.4 74.5l-2.693 24.27L99.5 178.424c1 3.001 1.3 6.201 1.1 9.202 0 0-1.9 28.207-13.4 32.508H51.8L-9.9 29.489Z" clipRule="evenodd" /><path fill="url(#p)" fillRule="evenodd" d="M-9.9 29.489v-39.51H49L76.4 74.5l-2.693 24.27L99.5 178.424c1 3.001 1.3 6.201 1.1 9.202 0 0-1.9 28.207-13.4 32.508H51.8L-9.9 29.489Z" clipRule="evenodd" /><path fill="url(#q)" fillRule="evenodd" d="M-9.9 29.489v-39.51H49L76.4 74.5l-2.693 24.27L99.5 178.424c1 3.001 1.3 6.201 1.1 9.202 0 0-1.9 28.207-13.4 32.508H51.8L-9.9 29.489Z" clipRule="evenodd" /><path fill="url(#r)" fillRule="evenodd" d="M-9.9 29.489v-39.51H49L76.4 74.5l-2.693 24.27L99.5 178.424c1 3.001 1.3 6.201 1.1 9.202 0 0-1.9 28.207-13.4 32.508H51.8L-9.9 29.489Z" clipRule="evenodd" /><path fill="url(#s)" d="M290-10.02H-10v230.054h300V-10.02Z" /><path fill="url(#t)" d="M290-10.02H-10v230.054h300V-10.02Z" /><path fill="url(#u)" d="M290-10.02H-10v230.054h300V-10.02Z" /></g><defs><radialGradient id="f" cx="0" cy="0" r="1" gradientTransform="rotate(83.438 43.842 167.73) scale(155.653 39.7647)" gradientUnits="userSpaceOnUse"><stop stopColor="#6F15A9" stopOpacity=".9" /><stop offset=".613" stopColor="#6F15A9" stopOpacity="0" /></radialGradient><radialGradient id="g" cx="0" cy="0" r="1" gradientTransform="matrix(24.69652 161.33978 -34.3153 5.2527 217.626 .959)" gradientUnits="userSpaceOnUse"><stop offset=".377" stopColor="#fff" /><stop offset="1" stopColor="#fff" stopOpacity="0" /></radialGradient><radialGradient id="h" cx="0" cy="0" r="1" gradientTransform="rotate(-82.825 148.387 -.173) scale(129.813 100.452)" gradientUnits="userSpaceOnUse"><stop stopColor="#39FBBB" stopOpacity=".5" /><stop offset=".701" stopColor="#39FBBB" /><stop offset=".949" stopColor="#39FBBB" stopOpacity="0" /></radialGradient><radialGradient id="i" cx="0" cy="0" r="1" gradientTransform="matrix(-159.54108 -251.31895 60.92249 -38.67452 296.764 204.529)" gradientUnits="userSpaceOnUse"><stop stopColor="#E63CFE" /><stop offset="1" stopColor="#E63CFE" stopOpacity="0" /></radialGradient><radialGradient id="j" cx="0" cy="0" r="1" gradientTransform="matrix(0 -115.84 97.1865 0 136.481 174.605)" gradientUnits="userSpaceOnUse"><stop offset=".64" stopColor="#4A4EFA" /><stop offset="1" stopColor="#4A4EFA" stopOpacity="0" /></radialGradient><radialGradient id="k" cx="0" cy="0" r="1" gradientTransform="rotate(-71.666 204.704 51.35) scale(155.998 62.8576)" gradientUnits="userSpaceOnUse"><stop offset=".632" stopColor="#E63CFE" /><stop offset="1" stopColor="#E63CFE" stopOpacity="0" /></radialGradient><radialGradient id="l" cx="0" cy="0" r="1" gradientTransform="rotate(71.833 -38.114 102.588) scale(75.0284 46.6295)" gradientUnits="userSpaceOnUse"><stop stopColor="#6F15A9" /><stop offset="1" stopColor="#00127F" stopOpacity="0" /></radialGradient><radialGradient id="m" cx="0" cy="0" r="1" gradientTransform="rotate(175.292 74.822 60.88) scale(82.9292 111.991)" gradientUnits="userSpaceOnUse"><stop offset=".758" stopColor="#fff" /><stop offset="1" stopColor="#fff" stopOpacity="0" /></radialGradient><radialGradient id="s" cx="0" cy="0" r="1" gradientTransform="matrix(0 -229.783 165.804 0 96.901 219.762)" gradientUnits="userSpaceOnUse"><stop offset=".262" stopColor="#FFAE3C" /><stop offset=".527" stopColor="#FFAE3C" stopOpacity="0" /></radialGradient><radialGradient id="t" cx="0" cy="0" r="1" gradientTransform="matrix(0 -129.629 126.516 0 242.706 219.762)" gradientUnits="userSpaceOnUse"><stop offset=".283" stopColor="#E63CFE" /><stop offset=".857" stopColor="#E63CFE" stopOpacity="0" /></radialGradient><radialGradient id="u" cx="0" cy="0" r="1" gradientTransform="matrix(-24.1919 -176.1889 68.00682 -9.33778 164.141 219.762)" gradientUnits="userSpaceOnUse"><stop offset=".251" stopColor="#FFAE3C" /><stop offset=".656" stopColor="#FFAE3C" stopOpacity="0" /></radialGradient><linearGradient id="b" x1="328.489" x2="259.397" y1="-101.75" y2="227.415" gradientUnits="userSpaceOnUse"><stop stopColor="#4A4EFA" /><stop offset=".625" stopColor="#E63CFE" /></linearGradient><linearGradient id="c" x1="193.001" x2="247.46" y1="96.497" y2="115.178" gradientUnits="userSpaceOnUse"><stop offset=".259" stopColor="#4A4EFA" /><stop offset=".961" stopColor="#4A4EFA" stopOpacity="0" /></linearGradient><linearGradient id="d" x1="202.309" x2="243.057" y1="71.375" y2="86.077" gradientUnits="userSpaceOnUse"><stop offset=".252" stopColor="#39FBBB" /><stop offset="1" stopColor="#39FBBB" stopOpacity="0" /></linearGradient><linearGradient id="e" x1="295.535" x2="286.169" y1="-10.021" y2="31.423" gradientUnits="userSpaceOnUse"><stop stopColor="#4A4EFA" /><stop offset=".933" stopColor="#4A4EFA" stopOpacity="0" /></linearGradient><linearGradient id="n" x1="-18.948" x2="55.093" y1="1.039" y2="231.932" gradientUnits="userSpaceOnUse"><stop offset=".17" stopColor="#E63CFE" /><stop offset=".592" stopColor="#FFAE3C" /></linearGradient><linearGradient id="o" x1="63.506" x2="20.255" y1="74.425" y2="88.815" gradientUnits="userSpaceOnUse"><stop offset=".321" stopColor="#4A4EFA" /><stop offset="1" stopColor="#4A4EFA" stopOpacity="0" /></linearGradient><linearGradient id="p" x1="82.497" x2="64.141" y1="106.838" y2="112.322" gradientUnits="userSpaceOnUse"><stop stopColor="#E63CFE" /><stop offset="1" stopColor="#E63CFE" stopOpacity="0" /></linearGradient><linearGradient id="q" x1="52.445" x2="17.265" y1="223.209" y2="146.13" gradientUnits="userSpaceOnUse"><stop offset=".372" stopColor="#FFAE3C" /><stop offset="1" stopColor="#FFAE3C" stopOpacity="0" /></linearGradient><linearGradient id="r" x1="20.419" x2="34.66" y1="-10.021" y2="23.34" gradientUnits="userSpaceOnUse"><stop stopColor="#E63CFE" /><stop offset="1" stopColor="#E63CFE" stopOpacity="0" /></linearGradient></defs></svg>
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 280 210" width={size} height={size} fill={color} {...props} ref={forwardedRef}><mask id="a" width="280" height="210" x="0" y="0" maskUnits="userSpaceOnUse" style={{"maskType":"alpha"}}><path fill="#000" fillRule="evenodd" d="M73.71 98.769 47.071 16.686C42.971 3.983 29.375-2.918 16.678 1.183 3.981 5.283-2.917 18.987 1.182 31.59L53.57 193.328c.176.546.43 1.041.753 1.487 3.324 8.339 11.18 14.469 20.742 15.117 13.297.9 24.794-9.102 25.694-22.406 0 0 2.399-36.008 14.997-64.815 2.799-6.401 6.098-12.503 10.297-17.304 3.689-4.389 8.074-7.882 14.047-7.902 5.873.02 10.258 3.513 14.047 7.902 4.099 4.901 7.498 10.903 10.297 17.304 12.698 28.807 15.097 64.815 15.097 64.815.9 13.304 12.397 23.406 25.694 22.406 10.761-.729 19.362-8.467 21.774-18.39L278.818 31.59c4.099-12.703-2.799-26.307-15.496-30.407-12.598-4.101-26.294 2.8-30.393 15.503L206.442 98.46c-13.815-28.497-36.054-49.266-66.292-49.266-30.347 0-52.637 20.92-66.44 49.575Zm66.39-1.264h-.05.1-.05Z" clipRule="evenodd" /></mask><g mask="url(#a)"><path fill="url(#b)" fillRule="evenodd" d="M156.5 220.034 231.1-10.02H290v39.509l-61.8 190.545h-71.7Z" clipRule="evenodd" /><path fill="url(#c)" fillRule="evenodd" d="M156.5 220.034 231.1-10.02H290v39.509l-61.8 190.545h-71.7Z" clipRule="evenodd" /><path fill="url(#d)" fillOpacity=".8" fillRule="evenodd" d="M156.5 220.034 231.1-10.02H290v39.509l-61.8 190.545h-71.7Z" clipRule="evenodd" /><path fill="url(#e)" fillRule="evenodd" d="M156.5 220.034 231.1-10.02H290v39.509l-61.8 190.545h-71.7Z" clipRule="evenodd" /><g fillRule="evenodd" clipRule="evenodd" style={{"mixBlendMode":"multiply"}}><path fill="url(#f)" d="M156.5 220.034 231.1-10.02 290 29.489l-61.8 190.545h-71.7Z" /><path fill="url(#g)" d="M156.5 220.034 231.1-10.02 290 29.489l-61.8 190.545h-71.7Z" /></g><path fill="#E63CFE" fillRule="evenodd" d="M226.5 219.934h-51.4c-3.6-31.208-15-112.527-35-112.527-21.7 0-31.8 90.121-34 112.527H32.4c3.2-38.909 20.8-180.843 107.7-180.843 25.2 0 47.1 12.403 63.7 35.308l2.645 24.061s1.555 3.346 2.155 4.646c15.9 36.009 19 81.019 19 81.019.2 3.201-.2 6.302-1.1 9.102v26.707Z" clipRule="evenodd" /><path fill="url(#h)" fillRule="evenodd" d="M226.5 219.934h-51.4c-3.6-31.208-15-112.527-35-112.527-21.7 0-31.8 90.121-34 112.527H32.4c3.2-38.909 20.8-180.843 107.7-180.843 25.2 0 47.1 12.403 63.7 35.308l2.645 24.061s1.555 3.346 2.155 4.646c15.9 36.009 19 81.019 19 81.019.2 3.201-.2 6.302-1.1 9.102v26.707Z" clipRule="evenodd" /><path fill="url(#i)" fillRule="evenodd" d="M226.5 219.934h-51.4c-3.6-31.208-15-112.527-35-112.527-21.7 0-31.8 90.121-34 112.527H32.4c3.2-38.909 20.8-180.843 107.7-180.843 25.2 0 47.1 12.403 63.7 35.308l2.645 24.061s1.555 3.346 2.155 4.646c15.9 36.009 19 81.019 19 81.019.2 3.201-.2 6.302-1.1 9.102v26.707Z" clipRule="evenodd" /><path fill="url(#j)" fillRule="evenodd" d="M226.5 219.934h-51.4c-3.6-31.208-15-112.527-35-112.527-21.7 0-31.8 90.121-34 112.527H32.4c3.2-38.909 20.8-180.843 107.7-180.843 25.2 0 47.1 12.403 63.7 35.308l2.645 24.061s1.555 3.346 2.155 4.646c15.9 36.009 19 81.019 19 81.019.2 3.201-.2 6.302-1.1 9.102v26.707Z" clipRule="evenodd" /><path fill="url(#k)" fillRule="evenodd" d="M226.5 219.934h-51.4c-3.6-31.208-15-112.527-35-112.527-21.7 0-31.8 90.121-34 112.527H32.4c3.2-38.909 20.8-180.843 107.7-180.843 25.2 0 47.1 12.403 63.7 35.308l2.645 24.061s1.555 3.346 2.155 4.646c15.9 36.009 19 81.019 19 81.019.2 3.201-.2 6.302-1.1 9.102v26.707Z" clipRule="evenodd" /><g fillRule="evenodd" clipRule="evenodd" style={{"mixBlendMode":"multiply"}}><path fill="url(#l)" d="M140.1 107.407c-21.7 0-31.8 90.121-34 112.527H32.4c3.2-38.909 20.8-180.843 107.7-180.843 111.75 0 95.397 68.316 0 68.316Z" /><path fill="url(#m)" d="M140.1 107.407c-21.7 0-31.8 90.121-34 112.527H32.4c3.2-38.909 20.8-180.843 107.7-180.843 111.75 0 95.397 68.316 0 68.316Z" /></g><path fill="url(#n)" fillRule="evenodd" d="M-9.9 29.489v-39.51H49L76.4 74.5l-2.693 24.27L99.5 178.424c1 3.001 1.3 6.201 1.1 9.202 0 0-1.9 28.207-13.4 32.508H51.8L-9.9 29.489Z" clipRule="evenodd" /><path fill="url(#o)" fillRule="evenodd" d="M-9.9 29.489v-39.51H49L76.4 74.5l-2.693 24.27L99.5 178.424c1 3.001 1.3 6.201 1.1 9.202 0 0-1.9 28.207-13.4 32.508H51.8L-9.9 29.489Z" clipRule="evenodd" /><path fill="url(#p)" fillRule="evenodd" d="M-9.9 29.489v-39.51H49L76.4 74.5l-2.693 24.27L99.5 178.424c1 3.001 1.3 6.201 1.1 9.202 0 0-1.9 28.207-13.4 32.508H51.8L-9.9 29.489Z" clipRule="evenodd" /><path fill="url(#q)" fillRule="evenodd" d="M-9.9 29.489v-39.51H49L76.4 74.5l-2.693 24.27L99.5 178.424c1 3.001 1.3 6.201 1.1 9.202 0 0-1.9 28.207-13.4 32.508H51.8L-9.9 29.489Z" clipRule="evenodd" /><path fill="url(#r)" fillRule="evenodd" d="M-9.9 29.489v-39.51H49L76.4 74.5l-2.693 24.27L99.5 178.424c1 3.001 1.3 6.201 1.1 9.202 0 0-1.9 28.207-13.4 32.508H51.8L-9.9 29.489Z" clipRule="evenodd" /><path fill="url(#s)" d="M290-10.02H-10v230.054h300V-10.02Z" /><path fill="url(#t)" d="M290-10.02H-10v230.054h300V-10.02Z" /><path fill="url(#u)" d="M290-10.02H-10v230.054h300V-10.02Z" /></g><defs><radialGradient id="f" cx="0" cy="0" r="1" gradientTransform="rotate(83.438 43.842 167.73) scale(155.653 39.7647)" gradientUnits="userSpaceOnUse"><stop stopColor="#6F15A9" stopOpacity=".9" /><stop offset=".613" stopColor="#6F15A9" stopOpacity="0" /></radialGradient><radialGradient id="g" cx="0" cy="0" r="1" gradientTransform="matrix(24.69652 161.33978 -34.3153 5.2527 217.626 .959)" gradientUnits="userSpaceOnUse"><stop offset=".377" stopColor="#fff" /><stop offset="1" stopColor="#fff" stopOpacity="0" /></radialGradient><radialGradient id="h" cx="0" cy="0" r="1" gradientTransform="rotate(-82.825 148.387 -.173) scale(129.813 100.452)" gradientUnits="userSpaceOnUse"><stop stopColor="#39FBBB" stopOpacity=".5" /><stop offset=".701" stopColor="#39FBBB" /><stop offset=".949" stopColor="#39FBBB" stopOpacity="0" /></radialGradient><radialGradient id="i" cx="0" cy="0" r="1" gradientTransform="matrix(-159.54108 -251.31895 60.92249 -38.67452 296.764 204.529)" gradientUnits="userSpaceOnUse"><stop stopColor="#E63CFE" /><stop offset="1" stopColor="#E63CFE" stopOpacity="0" /></radialGradient><radialGradient id="j" cx="0" cy="0" r="1" gradientTransform="matrix(0 -115.84 97.1865 0 136.481 174.605)" gradientUnits="userSpaceOnUse"><stop offset=".64" stopColor="#4A4EFA" /><stop offset="1" stopColor="#4A4EFA" stopOpacity="0" /></radialGradient><radialGradient id="k" cx="0" cy="0" r="1" gradientTransform="rotate(-71.666 204.704 51.35) scale(155.998 62.8576)" gradientUnits="userSpaceOnUse"><stop offset=".632" stopColor="#E63CFE" /><stop offset="1" stopColor="#E63CFE" stopOpacity="0" /></radialGradient><radialGradient id="l" cx="0" cy="0" r="1" gradientTransform="rotate(71.833 -38.114 102.588) scale(75.0284 46.6295)" gradientUnits="userSpaceOnUse"><stop stopColor="#6F15A9" /><stop offset="1" stopColor="#00127F" stopOpacity="0" /></radialGradient><radialGradient id="m" cx="0" cy="0" r="1" gradientTransform="rotate(175.292 74.822 60.88) scale(82.9292 111.991)" gradientUnits="userSpaceOnUse"><stop offset=".758" stopColor="#fff" /><stop offset="1" stopColor="#fff" stopOpacity="0" /></radialGradient><radialGradient id="s" cx="0" cy="0" r="1" gradientTransform="matrix(0 -229.783 165.804 0 96.901 219.762)" gradientUnits="userSpaceOnUse"><stop offset=".262" stopColor="#FFAE3C" /><stop offset=".527" stopColor="#FFAE3C" stopOpacity="0" /></radialGradient><radialGradient id="t" cx="0" cy="0" r="1" gradientTransform="matrix(0 -129.629 126.516 0 242.706 219.762)" gradientUnits="userSpaceOnUse"><stop offset=".283" stopColor="#E63CFE" /><stop offset=".857" stopColor="#E63CFE" stopOpacity="0" /></radialGradient><radialGradient id="u" cx="0" cy="0" r="1" gradientTransform="matrix(-24.1919 -176.1889 68.00682 -9.33778 164.141 219.762)" gradientUnits="userSpaceOnUse"><stop offset=".251" stopColor="#FFAE3C" /><stop offset=".656" stopColor="#FFAE3C" stopOpacity="0" /></radialGradient><linearGradient id="b" x1="328.489" x2="259.397" y1="-101.75" y2="227.415" gradientUnits="userSpaceOnUse"><stop stopColor="#4A4EFA" /><stop offset=".625" stopColor="#E63CFE" /></linearGradient><linearGradient id="c" x1="193.001" x2="247.46" y1="96.497" y2="115.178" gradientUnits="userSpaceOnUse"><stop offset=".259" stopColor="#4A4EFA" /><stop offset=".961" stopColor="#4A4EFA" stopOpacity="0" /></linearGradient><linearGradient id="d" x1="202.309" x2="243.057" y1="71.375" y2="86.077" gradientUnits="userSpaceOnUse"><stop offset=".252" stopColor="#39FBBB" /><stop offset="1" stopColor="#39FBBB" stopOpacity="0" /></linearGradient><linearGradient id="e" x1="295.535" x2="286.169" y1="-10.021" y2="31.423" gradientUnits="userSpaceOnUse"><stop stopColor="#4A4EFA" /><stop offset=".933" stopColor="#4A4EFA" stopOpacity="0" /></linearGradient><linearGradient id="n" x1="-18.948" x2="55.093" y1="1.039" y2="231.932" gradientUnits="userSpaceOnUse"><stop offset=".17" stopColor="#E63CFE" /><stop offset=".592" stopColor="#FFAE3C" /></linearGradient><linearGradient id="o" x1="63.506" x2="20.255" y1="74.425" y2="88.815" gradientUnits="userSpaceOnUse"><stop offset=".321" stopColor="#4A4EFA" /><stop offset="1" stopColor="#4A4EFA" stopOpacity="0" /></linearGradient><linearGradient id="p" x1="82.497" x2="64.141" y1="106.838" y2="112.322" gradientUnits="userSpaceOnUse"><stop stopColor="#E63CFE" /><stop offset="1" stopColor="#E63CFE" stopOpacity="0" /></linearGradient><linearGradient id="q" x1="52.445" x2="17.265" y1="223.209" y2="146.13" gradientUnits="userSpaceOnUse"><stop offset=".372" stopColor="#FFAE3C" /><stop offset="1" stopColor="#FFAE3C" stopOpacity="0" /></linearGradient><linearGradient id="r" x1="20.419" x2="34.66" y1="-10.021" y2="23.34" gradientUnits="userSpaceOnUse"><stop stopColor="#E63CFE" /><stop offset="1" stopColor="#E63CFE" stopOpacity="0" /></linearGradient></defs></svg>
);
}
);
diff --git a/packages/icons/src/types.ts b/packages/icons/src/types.ts
index e5aee6334d..586d41cb2b 100644
--- a/packages/icons/src/types.ts
+++ b/packages/icons/src/types.ts
@@ -7,6 +7,7 @@ import type {
export interface IconProps extends SVGAttributes<SVGElement> {
children?: never;
color?: string;
+ size?: number;
}
export type IconComponent = ForwardRefExoticComponent<
diff --git a/packages/icons/svgo-jsx.config.ts b/packages/icons/svgo-jsx.config.ts
index 655f22d2b5..1b86b7b7e3 100644
--- a/packages/icons/svgo-jsx.config.ts
+++ b/packages/icons/svgo-jsx.config.ts
@@ -9,11 +9,11 @@ const template = ({
}) => `// Generated from ${sourceFile}
import { forwardRef } from "react";
-import { IconProps } from "../types";
+import type { IconProps } from "../types";
// prettier-ignore
export const ${componentName}Icon = forwardRef<SVGSVGElement, IconProps>(
- ({ color = "currentColor", ...props }, forwardedRef) => {
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
${jsx}
);
@@ -33,8 +33,8 @@ export const config: Config = {
template,
transformFilename,
svgProps: {
- width: "16",
- height: "16",
+ width: "{size}",
+ height: "{size}",
fill: "{color}",
"{...props}": null,
ref: "{forwardedRef}",