UNPKG

@jstnmthw/react-fluentui-emoji

Version:

Fluent Emoji SVG icons for UI react development.

106 lines (105 loc) 3.16 kB
const React = require("react"); const PurpleSquareIcon = ({ title, titleId, ...props }) => ( <svg width="1em" height="1em" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" aria-labelledby={titleId} {...props} > {title ? <title id={titleId}>{title}</title> : null} <g filter="url(#filter0_iii_18590_3220)"> <path d="M2 4C2 2.89543 2.89543 2 4 2H28C29.1046 2 30 2.89543 30 4V28C30 29.1046 29.1046 30 28 30H4C2.89543 30 2 29.1046 2 28V4Z" fill="url(#paint0_linear_18590_3220)" /> </g> <defs> <filter id="filter0_iii_18590_3220" x={1} y={1} width={30} height={29} filterUnits="userSpaceOnUse" colorInterpolationFilters="sRGB" > <feFlood floodOpacity={0} result="BackgroundImageFix" /> <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" /> <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha" /> <feOffset dy={-1} /> <feGaussianBlur stdDeviation={0.5} /> <feComposite in2="hardAlpha" operator="arithmetic" k2={-1} k3={1} /> <feColorMatrix type="matrix" values="0 0 0 0 0.352941 0 0 0 0 0.192157 0 0 0 0 0.698039 0 0 0 1 0" /> <feBlend mode="normal" in2="shape" result="effect1_innerShadow_18590_3220" /> <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha" /> <feOffset dx={-1} /> <feGaussianBlur stdDeviation={0.5} /> <feComposite in2="hardAlpha" operator="arithmetic" k2={-1} k3={1} /> <feColorMatrix type="matrix" values="0 0 0 0 0.545098 0 0 0 0 0.384314 0 0 0 0 0.803922 0 0 0 1 0" /> <feBlend mode="normal" in2="effect1_innerShadow_18590_3220" result="effect2_innerShadow_18590_3220" /> <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha" /> <feOffset dx={1} /> <feGaussianBlur stdDeviation={0.5} /> <feComposite in2="hardAlpha" operator="arithmetic" k2={-1} k3={1} /> <feColorMatrix type="matrix" values="0 0 0 0 0.309804 0 0 0 0 0.235294 0 0 0 0 0.596078 0 0 0 1 0" /> <feBlend mode="normal" in2="effect2_innerShadow_18590_3220" result="effect3_innerShadow_18590_3220" /> </filter> <linearGradient id="paint0_linear_18590_3220" x1={16} y1={2} x2={16} y2={30} gradientUnits="userSpaceOnUse" > <stop stopColor="#7C47C1" /> <stop offset={1} stopColor="#664BB5" /> </linearGradient> </defs> </svg> ); module.exports = PurpleSquareIcon;