@untitledui/file-icons
Version:
Official React library for Untitled UI File Icons
2 lines (1 loc) • 2.44 kB
JavaScript
import*as a from"react";const h=({size:i=40,theme:s="light",...l})=>a.createElement("svg",{width:i,height:i,fill:"none",viewBox:"0 0 40 40","aria-hidden":"true",...l},a.createElement("mask",{id:"docx_svg__b",width:32,height:40,x:4,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},a.createElement("path",{fill:"url(#docx_svg__a)",d:"M4 4a4 4 0 0 1 4-4h16l12 12v24a4 4 0 0 1-4 4H8a4 4 0 0 1-4-4z"})),a.createElement("g",{mask:"url(#docx_svg__b)"},a.createElement("path",{fill:s==="light"?"#F5F5F5":"#22262F",d:"M4 4a4 4 0 0 1 4-4h16l12 12v24a4 4 0 0 1-4 4H8a4 4 0 0 1-4-4z"})),a.createElement("path",{fill:s==="light"?"#E9EAEB":"#373A41",d:"m24 0 12 12h-8a4 4 0 0 1-4-4z"}),a.createElement("path",{fill:s==="light"?"#414651":"#CECFD2",d:"M9.565 32h-2.32v-6.546h2.34q.986 0 1.7.394.712.39 1.096 1.122.386.731.386 1.75 0 1.024-.386 1.759-.383.735-1.103 1.128-.716.393-1.713.393m-.936-1.186h.878q.615 0 1.033-.217.422-.22.633-.68.213-.464.214-1.196 0-.726-.214-1.186a1.4 1.4 0 0 0-.63-.677q-.42-.218-1.032-.218h-.882zm11.178-2.087q0 1.07-.405 1.822-.403.75-1.1 1.147a3.1 3.1 0 0 1-1.56.393 3.1 3.1 0 0 1-1.566-.396 2.8 2.8 0 0 1-1.096-1.147q-.402-.75-.402-1.819 0-1.07.402-1.822.403-.75 1.096-1.144a3.1 3.1 0 0 1 1.566-.396q.867 0 1.56.396.697.393 1.1 1.145.405.75.405 1.821m-1.403 0q0-.693-.207-1.17a1.6 1.6 0 0 0-.579-.722 1.56 1.56 0 0 0-.875-.246q-.502 0-.876.246t-.582.723q-.204.476-.204 1.17 0 .692.204 1.169.208.477.582.722.373.246.875.246t.876-.246.579-.722q.207-.476.207-1.17m8.204-.98h-1.4a1.4 1.4 0 0 0-.157-.483 1.2 1.2 0 0 0-.303-.365 1.3 1.3 0 0 0-.429-.23 1.6 1.6 0 0 0-.52-.08q-.509 0-.886.253-.377.25-.585.728-.207.476-.207 1.157 0 .7.207 1.176.21.477.588.72.378.242.873.242.278 0 .514-.073.24-.074.425-.214.186-.144.307-.349.125-.204.173-.466l1.4.006q-.054.45-.272.87a2.6 2.6 0 0 1-.578.744q-.362.326-.863.518a3.2 3.2 0 0 1-1.128.189 3.1 3.1 0 0 1-1.566-.397 2.8 2.8 0 0 1-1.087-1.147q-.396-.75-.396-1.819 0-1.07.402-1.822.403-.75 1.093-1.144.69-.396 1.553-.396.57 0 1.055.16.49.16.866.466a2.4 2.4 0 0 1 .614.745q.24.44.307 1.01m2.15-2.293 1.32 2.231h.05l1.326-2.23h1.563l-1.997 3.272L33.062 32h-1.591l-1.343-2.234h-.05L28.734 32H27.15l2.048-3.273-2.01-3.273z"}),a.createElement("defs",null,a.createElement("linearGradient",{id:"docx_svg__a",x1:20,x2:20,y1:0,y2:40,gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopOpacity:.4}),a.createElement("stop",{offset:1}))));h.displayName="Docx";export{h as Docx};