SPB Git

Repository Public

Icons.tsx 5.2 KB 81 lines tsx

1/**2 * =============================================================================3 *                  SP BOUCHER | SOFTWARE & RESEARCH4 *             ARTIFICIAL INTELLIGENCE • FINANCE • ENGINEERING5 * =============================================================================6 *7 * Project          : UQO Éval — Le Grand Défi Immobilier8 * File             : apps/web/src/components/Icons.tsx9 * Module           : components10 * Repository       : https://git.spboucher.ai/uqo-eval-jeux11 * Project Website  : https://jeux.uqo-eval.app12 * Created          : 2026-11-2513 * Last Modified    : 2026-11-2514 *15 * Author           : Simon-Pierre Boucher16 * Position         : Professor of Finance17 * Institution      : Université du Québec en Outaouais (UQO)18 * Organization     : SP Boucher19 * Website          : https://spboucher.ai20 * Git              : https://git.spboucher.ai21 *22 * Preferred Contact: contact@spboucher.ai23 * Development      : dev@spboucher.ai24 * Support          : support@spboucher.ai25 * Security/Admin   : admin@spboucher.ai26 *27 * Copyright (c) 202628 * Simon-Pierre Boucher29 * All rights reserved where applicable. This file is governed by the30 * applicable project license, copyright notices and relevant law.31 * Existing third-party rights and notices remain unaffected.32 *33 * License          : None specified (no license file in this repository)34 *35 * Do not embed credentials, private keys, access tokens,36 * certificates or confidential personal information.37 *38 * =============================================================================39 * END OF SP BOUCHER SOURCE HEADER40 * =============================================================================41 */4243import type { SVGProps } from "react";4445type IconProps = SVGProps<SVGSVGElement> & { size?: number };4647function Svg({ size = 22, children, ...rest }: IconProps) {48  return (49    <svg width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth={1.7} strokeLinecap="round" strokeLinejoin="round" aria-hidden="true" focusable="false" {...rest}>50      {children}51    </svg>52  );53}5455export const IconCheck = (p: IconProps) => <Svg {...p}><path d="M5 12.5l4.5 4.5L19 7.5" /></Svg>;56export const IconCross = (p: IconProps) => <Svg {...p}><path d="M6 6l12 12M18 6L6 18" /></Svg>;57export const IconArrow = (p: IconProps) => <Svg {...p}><path d="M5 12h14M13 6l6 6-6 6" /></Svg>;58export const IconBack = (p: IconProps) => <Svg {...p}><path d="M19 12H5M11 6l-6 6 6 6" /></Svg>;59export const IconChevronLeft = (p: IconProps) => <Svg {...p}><path d="M15 5l-7 7 7 7" /></Svg>;60export const IconChevronRight = (p: IconProps) => <Svg {...p}><path d="M9 5l7 7-7 7" /></Svg>;61export const IconExpand = (p: IconProps) => <Svg {...p}><path d="M4 9V4h5M20 9V4h-5M4 15v5h5M20 15v5h-5" /></Svg>;62export const IconPause = (p: IconProps) => <Svg {...p}><path d="M9 5v14M15 5v14" /></Svg>;63export const IconFlame = (p: IconProps) => <Svg {...p}><path d="M12 3c1 3.5 5 5.5 5 10a5 5 0 01-10 0c0-1.8.8-3 1.8-4 .3 1.6 1.2 2.4 2.2 2.6C10.5 9 10.8 6 12 3z" /></Svg>;64export const IconBed = (p: IconProps) => <Svg {...p}><path d="M3 18v-7a2 2 0 012-2h14a2 2 0 012 2v7M3 15h18M7 9V7h4v2M3 18v2M21 18v2" /></Svg>;65export const IconBath = (p: IconProps) => <Svg {...p}><path d="M4 12h16v3a4 4 0 01-4 4H8a4 4 0 01-4-4v-3zM6 12V6a2 2 0 014 0M7 19l-1 2M17 19l1 2" /></Svg>;66export const IconArea = (p: IconProps) => <Svg {...p}><path d="M4 4h16v16H4zM4 9h3M4 14h3M9 20v-3M14 20v-3" /></Svg>;67export const IconLot = (p: IconProps) => <Svg {...p}><path d="M3 18l4-11h10l4 11zM9 7l-1 11M15 7l1 11M5 13h14" /></Svg>;68export const IconYear = (p: IconProps) => <Svg {...p}><path d="M5 20V10l7-6 7 6v10M10 20v-5h4v5" /></Svg>;69export const IconPin = (p: IconProps) => <Svg {...p}><path d="M12 21s7-6.2 7-11.5A7 7 0 005 9.5C5 14.8 12 21 12 21z" /><circle cx="12" cy="9.5" r="2.5" /></Svg>;70export const IconList = (p: IconProps) => <Svg {...p}><path d="M8 6h12M8 12h12M8 18h12M4 6h.01M4 12h.01M4 18h.01" /></Svg>;71export const IconText = (p: IconProps) => <Svg {...p}><path d="M5 6h14M5 10h14M5 14h9M5 18h6" /></Svg>;72export const IconSound = (p: IconProps) => <Svg {...p}><path d="M4 10v4h3l5 4V6L7 10zM16 9a4 4 0 010 6M18.5 6.5a7.5 7.5 0 010 11" /></Svg>;73export const IconTrophy = (p: IconProps) => <Svg {...p}><path d="M8 4h8v5a4 4 0 01-8 0zM8 6H5a3 3 0 003 4M16 6h3a3 3 0 01-3 4M12 13v4M8.5 20h7M10 17h4" /></Svg>;74export const IconFlag = (p: IconProps) => <Svg {...p}><path d="M5 21V4M5 5h11l-2 4 2 4H5" /></Svg>;75export const IconKey = (p: IconProps) => <Svg {...p}><circle cx="8" cy="15" r="4" /><path d="M11 12l8-8M16 7l2 2M14 9l1.5 1.5" /></Svg>;76export const IconSearch = (p: IconProps) => <Svg {...p}><circle cx="11" cy="11" r="6" /><path d="M20 20l-4.5-4.5" /></Svg>;77export const IconPrint = (p: IconProps) => <Svg {...p}><path d="M7 9V4h10v5M7 17H5a1 1 0 01-1-1v-5a2 2 0 012-2h12a2 2 0 012 2v5a1 1 0 01-1 1h-2M7 14h10v6H7z" /></Svg>;78export const IconUp = (p: IconProps) => <Svg {...p}><path d="M12 19V5M6 11l6-6 6 6" /></Svg>;79export const IconDown = (p: IconProps) => <Svg {...p}><path d="M12 5v14M6 13l6 6 6-6" /></Svg>;80export const IconKeyboard = (p: IconProps) => <Svg {...p}><rect x="3" y="6" width="18" height="12" rx="2" /><path d="M7 10h.01M11 10h.01M15 10h.01M8 14h8" /></Svg>;81
Files main
Menu

Theme