Skip to content

Commit ef38c9e

Browse files
author
Dominic Nguyen
authored
Merge pull request #407 from storybookjs/add-turbosnap-icon
Add "turbo" icon for speed
2 parents a6418ed + 93496d6 commit ef38c9e

3 files changed

Lines changed: 80 additions & 0 deletions

File tree

src/images/colored-icons/Turbo.tsx

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
import * as React from 'react';
2+
import { SVGProps } from 'react';
3+
4+
interface SVGRProps {
5+
title?: string;
6+
titleId?: string;
7+
}
8+
9+
const SvgCheck = ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => (
10+
<svg
11+
xmlns="http://www.w3.org/2000/svg"
12+
viewBox="0 0 48 48"
13+
role="img"
14+
aria-labelledby={titleId}
15+
{...props}
16+
>
17+
{title ? <title id={titleId}>{title}</title> : null}
18+
<path
19+
fill="#1EA7FD"
20+
d="M48 24c0 5.2-1.6 10-4.4 14l-8-5.7a14 14 0 1 0-23-.2l-8.2 5.8A24 24 0 1 1 48 24Z"
21+
opacity={0.2}
22+
/>
23+
<g fillRule="evenodd" clipRule="evenodd" opacity={0.7}>
24+
<path
25+
fill="url(#turbo-gradient-a)"
26+
d="M24 0a24 24 0 0 1 17 7l-7.1 7.1a14 14 0 0 0-9.9-3.8V0Z"
27+
/>
28+
<path
29+
fill="url(#turbo-gradient-b)"
30+
d="M24 0a24 24 0 0 1 17 7l-7.1 7.1a14 14 0 0 0-9.9-3.8V0Z"
31+
/>
32+
<path
33+
fill="url(#turbo-gradient-c)"
34+
fillOpacity={0.2}
35+
d="M24 0a24 24 0 0 1 17 7l-7.1 7.1a14 14 0 0 0-9.9-3.8V0Z"
36+
/>
37+
</g>
38+
<path fill="#FA7240" d="M41 7 22 22a3 3 0 0 0 0 4.1 3 3 0 0 0 4.3 0L41 7Z" />
39+
<path fill="#FA7240" d="M20 24a4 4 0 1 1 8 0 4 4 0 0 1-8 0Z" />
40+
<defs>
41+
<linearGradient
42+
id="turbo-gradient-a"
43+
x1={33.8}
44+
x2={25.9}
45+
y1={19.2}
46+
y2={15.7}
47+
gradientUnits="userSpaceOnUse"
48+
>
49+
<stop stopColor="#FC521F" stopOpacity={0.5} />
50+
<stop offset={1} stopColor="#FC521F" stopOpacity={0} />
51+
</linearGradient>
52+
<linearGradient
53+
id="turbo-gradient-b"
54+
x1={32.2}
55+
x2={24}
56+
y1={8.5}
57+
y2={8.6}
58+
gradientUnits="userSpaceOnUse"
59+
>
60+
<stop stopColor="#FC521F" stopOpacity={0.3} />
61+
<stop offset={1} stopColor="#FC521F" stopOpacity={0} />
62+
</linearGradient>
63+
<linearGradient
64+
id="turbo-gradient-c"
65+
x1={33.6}
66+
x2={24}
67+
y1={14}
68+
y2={10.9}
69+
gradientUnits="userSpaceOnUse"
70+
>
71+
<stop stopColor="#FC521F" />
72+
<stop offset={1} stopColor="#FC521F" stopOpacity={0} />
73+
</linearGradient>
74+
</defs>
75+
</svg>
76+
);
77+
78+
export default SvgCheck;

src/images/colored-icons/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ export { default as Stoplight } from './Stoplight';
5050
export { default as Testflake } from './Testflake';
5151
export { default as Testpyramid } from './Testpyramid';
5252
export { default as Text } from './Text';
53+
export { default as Turbo } from './Turbo';
5354
export { default as Undo } from './Undo';
5455
export { default as Unignore } from './Unignore';
5556
export { default as Update } from './Update';

src/images/colored-icons/turbo.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)