Skip to content
This repository was archived by the owner on Aug 5, 2026. It is now read-only.

Commit e141152

Browse files
committed
refine page actions UX
1 parent 0d720c6 commit e141152

7 files changed

Lines changed: 227 additions & 59 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import type { SVGProps } from "react";
2+
3+
export const ChevronDownIcon = (props: SVGProps<SVGSVGElement>) => (
4+
<svg
5+
aria-hidden="true"
6+
focusable="false"
7+
viewBox="0 0 24 24"
8+
fill="none"
9+
stroke="currentColor"
10+
strokeWidth="2"
11+
xmlns="http://www.w3.org/2000/svg"
12+
{...props}
13+
>
14+
<path d="m6 9 6 6 6-6" />
15+
</svg>
16+
);
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import type { SVGProps } from "react";
2+
3+
export const CopyIcon = (props: SVGProps<SVGSVGElement>) => (
4+
<svg
5+
aria-hidden="true"
6+
focusable="false"
7+
viewBox="0 0 24 24"
8+
fill="none"
9+
stroke="currentColor"
10+
strokeWidth="2"
11+
xmlns="http://www.w3.org/2000/svg"
12+
{...props}
13+
>
14+
<rect x="9" y="9" width="13" height="13" rx="2" />
15+
<path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1" />
16+
</svg>
17+
);
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import type { SVGProps } from "react";
2+
3+
export const FileTextIcon = (props: SVGProps<SVGSVGElement>) => (
4+
<svg
5+
aria-hidden="true"
6+
focusable="false"
7+
viewBox="0 0 24 24"
8+
fill="none"
9+
stroke="currentColor"
10+
strokeWidth="2"
11+
xmlns="http://www.w3.org/2000/svg"
12+
{...props}
13+
>
14+
<path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z" />
15+
<polyline points="14 2 14 8 20 8" />
16+
<line x1="8" y1="13" x2="16" y2="13" />
17+
<line x1="8" y1="17" x2="16" y2="17" />
18+
</svg>
19+
);
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import type { SVGProps } from "react";
2+
3+
export const LinkIcon = (props: SVGProps<SVGSVGElement>) => (
4+
<svg
5+
aria-hidden="true"
6+
focusable="false"
7+
viewBox="0 0 24 24"
8+
fill="none"
9+
stroke="currentColor"
10+
strokeWidth="2"
11+
xmlns="http://www.w3.org/2000/svg"
12+
{...props}
13+
>
14+
<path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07L12 5" />
15+
<path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07L12 19" />
16+
</svg>
17+
);
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
import type { SVGProps } from "react";
2+
3+
export const SparklesIcon = (props: SVGProps<SVGSVGElement>) => (
4+
<svg
5+
aria-hidden="true"
6+
focusable="false"
7+
viewBox="0 0 24 24"
8+
fill="none"
9+
stroke="currentColor"
10+
strokeWidth="2"
11+
xmlns="http://www.w3.org/2000/svg"
12+
{...props}
13+
>
14+
<path d="M12 3v4" />
15+
<path d="M12 17v4" />
16+
<path d="M3 12h4" />
17+
<path d="M17 12h4" />
18+
<path d="m5.64 5.64 2.83 2.83" />
19+
<path d="m15.53 15.53 2.83 2.83" />
20+
<path d="m5.64 18.36 2.83-2.83" />
21+
<path d="m15.53 8.47 2.83-2.83" />
22+
</svg>
23+
);

0 commit comments

Comments
 (0)