UNPKG

@untitledui/file-icons

Version:

Official React library for Untitled UI File Icons

2 lines (1 loc) 1.68 kB
import*as i from"react";const a=({size:s=40,theme:h="light",...d})=>i.createElement("svg",{width:s,height:s,fill:"none",viewBox:"0 0 40 40","aria-hidden":"true",...d},i.createElement("mask",{id:"indd_svg__b",width:32,height:40,x:4,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},i.createElement("path",{fill:"url(#indd_svg__a)",d:"M4 4a4 4 0 0 1 4-4h16l12 12v24a4 4 0 0 1-4 4H8a4 4 0 0 1-4-4z"})),i.createElement("g",{mask:"url(#indd_svg__b)"},i.createElement("path",{fill:h==="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"})),i.createElement("path",{fill:h==="light"?"#E9EAEB":"#373A41",d:"m24 0 12 12h-8a4 4 0 0 1-4-4z"}),i.createElement("path",{fill:h==="light"?"#414651":"#CECFD2",d:"M10.835 25.455V32H9.45v-6.546zm6.613 0V32h-1.195l-2.848-4.12h-.048V32h-1.384v-6.546h1.215l2.825 4.117h.057v-4.117zM20.912 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-.716.393-1.713.393m-.937-1.186h.88q.612 0 1.032-.217a1.4 1.4 0 0 0 .632-.68q.214-.464.214-1.196 0-.726-.214-1.186a1.4 1.4 0 0 0-.63-.677q-.419-.218-1.032-.218h-.882zM27.46 32h-2.32v-6.546h2.34q.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.713.393m-.936-1.186h.879q.614 0 1.032-.217.422-.22.633-.68.214-.464.214-1.196 0-.726-.214-1.186a1.4 1.4 0 0 0-.63-.677q-.419-.218-1.032-.218h-.882z"}),i.createElement("defs",null,i.createElement("linearGradient",{id:"indd_svg__a",x1:20,x2:20,y1:0,y2:40,gradientUnits:"userSpaceOnUse"},i.createElement("stop",{stopOpacity:.4}),i.createElement("stop",{offset:1}))));a.displayName="Indd";export{a as Indd};