UNPKG

@untitledui/file-icons

Version:

Official React library for Untitled UI File Icons

2 lines (1 loc) 1.6 kB
import*as s from"react";const l=({size:a=40,theme:i="light",...h})=>s.createElement("svg",{width:a,height:a,fill:"none",viewBox:"0 0 40 40","aria-hidden":"true",...h},s.createElement("mask",{id:"pdf_svg__b",width:32,height:40,x:4,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},s.createElement("path",{fill:"url(#pdf_svg__a)",d:"M4 4a4 4 0 0 1 4-4h16l12 12v24a4 4 0 0 1-4 4H8a4 4 0 0 1-4-4z"})),s.createElement("g",{mask:"url(#pdf_svg__b)"},s.createElement("path",{fill:i==="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"})),s.createElement("path",{fill:i==="light"?"#E9EAEB":"#373A41",d:"m24 0 12 12h-8a4 4 0 0 1-4-4z"}),s.createElement("path",{fill:i==="light"?"#414651":"#CECFD2",d:"M11.75 32v-6.546h2.582q.744 0 1.268.285.524.281.8.783.277.498.277 1.15 0 .653-.28 1.151a1.94 1.94 0 0 1-.816.777q-.53.278-1.285.278H12.65v-1.11h1.423q.399 0 .658-.137a.9.9 0 0 0 .39-.386q.13-.25.13-.572 0-.326-.13-.57a.88.88 0 0 0-.39-.38q-.262-.137-.665-.137h-.933V32zm8.147 0h-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-.384.735-1.102 1.128-.717.393-1.713.393m-.937-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-.418-.218-1.032-.218h-.882zM24.124 32v-6.546h4.334v1.142h-2.95v1.56h2.662v1.14h-2.662V32z"}),s.createElement("defs",null,s.createElement("linearGradient",{id:"pdf_svg__a",x1:20,x2:20,y1:0,y2:40,gradientUnits:"userSpaceOnUse"},s.createElement("stop",{stopOpacity:.4}),s.createElement("stop",{offset:1}))));l.displayName="Pdf";export{l as Pdf};