Spaces:
Running
Running
Download frontend/src/components/Icons.jsx from tntgroup/website_content: direct link, hf CLI and curl.
- Browser
- Download file 4.52 kB
-
https://huggingface.co/spaces/tntgroup/website_content/resolve/main/frontend/src/components/Icons.jsx
- Command line
-
hf download hf://spaces/tntgroup/website_content/frontend/src/components/Icons.jsx
-
curl -L -o Icons.jsx https://huggingface.co/spaces/tntgroup/website_content/resolve/main/frontend/src/components/Icons.jsx
4.52 kB
| // Bộ icon SVG nội tuyến (stroke), tránh phụ thuộc ngoài. | |
| const S = ({ children, size = 18, ...p }) => ( | |
| <svg width={size} height={size} viewBox="0 0 24 24" fill="none" | |
| stroke="currentColor" strokeWidth="1.8" strokeLinecap="round" | |
| strokeLinejoin="round" {...p}>{children}</svg> | |
| ); | |
| export const IcHome = (p) => <S {...p}><path d="M3 10.5 12 3l9 7.5" /><path d="M5 9.5V21h14V9.5" /></S>; | |
| export const IcDownload = (p) => <S {...p}><path d="M12 3v12" /><path d="m7 11 5 5 5-5" /><path d="M5 21h14" /></S>; | |
| export const IcImage = (p) => <S {...p}><rect x="3" y="4" width="18" height="16" rx="2" /><circle cx="8.5" cy="9.5" r="1.5" /><path d="m4 18 5-5 4 3 3-3 4 4" /></S>; | |
| export const IcVideo = (p) => <S {...p}><rect x="3" y="5" width="18" height="14" rx="2" /><path d="m10 9 5 3-5 3z" /></S>; | |
| export const IcScissors = (p) => <S {...p}><circle cx="6" cy="6" r="3" /><circle cx="6" cy="18" r="3" /><path d="M20 4 8.1 15.9" /><path d="m14.5 12.5 5.5 7.5" /><path d="M8.1 8.1 12 12" /></S>; | |
| export const IcShuffle = (p) => <S {...p}><path d="M16 3h5v5" /><path d="M4 20 21 3" /><path d="M21 16v5h-5" /><path d="m15 15 6 6" /><path d="M4 4l5 5" /></S>; | |
| export const IcMic = (p) => <S {...p}><rect x="9" y="3" width="6" height="11" rx="3" /><path d="M5 11a7 7 0 0 0 14 0" /><path d="M12 18v3" /></S>; | |
| export const IcBook = (p) => <S {...p}><path d="M4 5a2 2 0 0 1 2-2h13v16H6a2 2 0 0 0-2 2z" /><path d="M19 19H6a2 2 0 0 0-2 2" /></S>; | |
| export const IcHelp = (p) => <S {...p}><circle cx="12" cy="12" r="9" /><path d="M9.5 9a2.5 2.5 0 1 1 3.5 2.3c-.8.4-1 .9-1 1.7" /><path d="M12 17h.01" /></S>; | |
| export const IcUpload = (p) => <S {...p}><path d="M12 16V4" /><path d="m7 9 5-5 5 5" /><path d="M5 20h14" /></S>; | |
| export const IcStar = (p) => <S {...p}><path d="m12 3 2.6 5.3 5.9.9-4.3 4.1 1 5.8L12 16.8 6.8 19l1-5.8L3.5 9.1l5.9-.8z" /></S>; | |
| export const IcClock = (p) => <S {...p}><circle cx="12" cy="12" r="9" /><path d="M12 7v5l3 2" /></S>; | |
| export const IcClips = (p) => <S {...p}><rect x="3" y="5" width="18" height="14" rx="2" /><path d="M8 5v14M16 5v14" /></S>; | |
| export const IcAds = (p) => <S {...p}><rect x="3" y="5" width="18" height="14" rx="2" /><path d="M7 14V9l2 4 2-4v5" /><path d="M14 14V9h2a1.5 1.5 0 0 1 0 3h-2" /></S>; | |
| export const IcPlay = (p) => <S {...p}><path d="m7 5 12 7-12 7z" /></S>; | |
| export const IcSearch = (p) => <S {...p}><circle cx="11" cy="11" r="7" /><path d="m20 20-3.5-3.5" /></S>; | |
| export const IcCheck = (p) => <S {...p}><path d="m5 13 4 4L19 7" /></S>; | |
| export const IcTrash = (p) => <S {...p}><path d="M4 7h16" /><path d="M9 7V5a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2" /><path d="M6 7l1 13h10l1-13" /></S>; | |
| export const IcRefresh = (p) => <S {...p}><path d="M21 12a9 9 0 1 1-3-6.7" /><path d="M21 3v5h-5" /></S>; | |
| export const IcArrow = (p) => <S {...p}><path d="M5 12h14" /><path d="m13 6 6 6-6 6" /></S>; | |
| export const IcSliders = (p) => <S {...p}><path d="M4 21v-7M4 10V3M12 21v-9M12 8V3M20 21v-5M20 12V3" /><circle cx="4" cy="12" r="2" /><circle cx="12" cy="6" r="2" /><circle cx="20" cy="14" r="2" /></S>; | |
| export const IcBolt = (p) => <S {...p}><path d="M13 3 4 14h7l-1 7 9-11h-7z" /></S>; | |
| export const IcDoc = (p) => <S {...p}><path d="M6 3h8l4 4v14H6z" /><path d="M14 3v4h4" /></S>; | |
| export const IcFolder = (p) => <S {...p}><path d="M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" /></S>; | |
| export const IcMusic = (p) => <S {...p}><path d="M9 18V5l11-2v13" /><circle cx="6" cy="18" r="3" /><circle cx="17" cy="16" r="3" /></S>; | |
| export const IcText = (p) => <S {...p}><path d="M4 6h16" /><path d="M4 12h16" /><path d="M4 18h10" /></S>; | |
| export const IcPlus = (p) => <S {...p}><path d="M12 5v14M5 12h14" /></S>; | |
| export const IcLock = (p) => <S {...p}><rect x="5" y="11" width="14" height="9" rx="2" /><path d="M8 11V7a4 4 0 0 1 8 0v4" /></S>; | |
| export const IcMessage = (p) => <S {...p}><path d="M21 12a8 8 0 0 1-11.6 7.1L4 20l1-4.4A8 8 0 1 1 21 12z" /></S>; | |
| export const IcInfo = (p) => <S {...p}><circle cx="12" cy="12" r="9" /><path d="M12 11v5" /><path d="M12 7.5h.01" /></S>; | |
| export const IcHistory = (p) => <S {...p}><circle cx="12" cy="12" r="9" /><path d="M12 8v4l3 3" /><path d="M4 5v5h5" /><path d="M4 5a9 9 0 1 1-1 5" /></S>; | |
| export const IcDrive = (p) => <S {...p}><rect x="3" y="5" width="18" height="14" rx="2" /><path d="M3 10h18" /><path d="M7 5v14M17 5v14" /></S>; | |
| export const IoSync = (p) => <S {...p}><path d="M21 2v6h-6" /><path d="M3 12a9 9 0 0 1 15-6.7L21 8" /><path d="M3 22v-6h6" /><path d="M21 12a9 9 0 0 1-15 6.7L3 16" /></S>; | |