@untitledui/file-icons
Version:
Official React library for Untitled UI File Icons
2 lines (1 loc) • 2.31 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:"doc_svg__b",width:32,height:40,x:4,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},a.createElement("path",{fill:"url(#doc_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(#doc_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:"M12.712 32h-2.32v-6.546h2.339q.987 0 1.7.394.712.39 1.096 1.122.387.731.387 1.75 0 1.024-.387 1.759-.383.735-1.102 1.128-.717.393-1.714.393m-.937-1.186h.879q.614 0 1.032-.217a1.4 1.4 0 0 0 .633-.68q.214-.464.214-1.196 0-.726-.214-1.186a1.4 1.4 0 0 0-.63-.677q-.418-.218-1.032-.218h-.882zm11.179-2.087q0 1.07-.406 1.822-.402.75-1.1 1.147a3.1 3.1 0 0 1-1.56.393 3.1 3.1 0 0 1-1.565-.396 2.8 2.8 0 0 1-1.096-1.147q-.403-.75-.403-1.819 0-1.07.403-1.822.402-.75 1.096-1.144a3.1 3.1 0 0 1 1.566-.396q.866 0 1.56.396.696.393 1.099 1.145.406.75.406 1.821m-1.403 0q0-.693-.208-1.17a1.6 1.6 0 0 0-.578-.722 1.56 1.56 0 0 0-.876-.246q-.502 0-.876.246-.375.246-.581.723-.205.476-.205 1.17 0 .692.205 1.169.207.477.581.722.374.246.876.246t.876-.246.578-.722q.208-.476.208-1.17m8.203-.98h-1.4a1.4 1.4 0 0 0-.156-.483 1.2 1.2 0 0 0-.304-.365 1.3 1.3 0 0 0-.428-.23 1.6 1.6 0 0 0-.521-.08q-.508 0-.885.253-.378.25-.585.728-.208.476-.208 1.157 0 .7.208 1.176.21.477.588.72.377.242.872.242.279 0 .515-.073.24-.074.425-.214.186-.144.307-.349.124-.204.172-.466l1.4.006q-.055.45-.271.87a2.6 2.6 0 0 1-.579.744q-.36.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.403-1.822.402-.75 1.093-1.144.69-.396 1.553-.396.569 0 1.055.16.489.16.866.466.377.304.613.745.24.44.307 1.01"}),a.createElement("defs",null,a.createElement("linearGradient",{id:"doc_svg__a",x1:20,x2:20,y1:0,y2:40,gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopOpacity:.4}),a.createElement("stop",{offset:1}))));h.displayName="Doc";export{h as Doc};