@untitledui/file-icons
Version:
Official React library for Untitled UI File Icons
2 lines (1 loc) • 2.52 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:"json_svg__b",width:32,height:40,x:4,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},a.createElement("path",{fill:"url(#json_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(#json_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:"M10.845 25.455h1.368v4.564q0 .632-.284 1.099a1.9 1.9 0 0 1-.783.719q-.503.253-1.167.253-.591 0-1.074-.208a1.7 1.7 0 0 1-.76-.64q-.281-.43-.278-1.083h1.377q.006.259.106.444a.7.7 0 0 0 .278.282q.179.095.422.095.255 0 .431-.108a.7.7 0 0 0 .272-.326q.092-.215.092-.527zm6.063 1.882a.8.8 0 0 0-.329-.6q-.29-.215-.79-.215-.338 0-.571.096a.8.8 0 0 0-.358.259.62.62 0 0 0-.122.377q-.006.176.074.307a.8.8 0 0 0 .227.227q.143.092.332.163.189.066.403.115l.588.14q.428.096.786.256t.62.393.406.55q.147.316.15.725a1.8 1.8 0 0 1-.307 1.042q-.3.439-.87.681-.564.24-1.364.24-.792 0-1.38-.243a2 2 0 0 1-.915-.72q-.325-.479-.341-1.185h1.339q.022.33.188.55.17.217.45.329.285.108.643.108.352 0 .61-.102a.94.94 0 0 0 .407-.284.66.66 0 0 0 .143-.419.54.54 0 0 0-.13-.37 1 1 0 0 0-.378-.256 4 4 0 0 0-.604-.192l-.713-.179q-.827-.201-1.307-.63-.48-.428-.476-1.153a1.7 1.7 0 0 1 .316-1.04q.323-.443.886-.693t1.278-.249q.729 0 1.272.25.547.249.85.693.304.445.314 1.029zm8.362 1.39q0 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.405.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-.503 0-.876.246-.374.246-.582.723-.204.476-.204 1.17 0 .692.204 1.169.208.477.582.722.374.246.876.246.501 0 .876-.246.374-.245.578-.722.208-.476.208-1.17m7.903-3.273V32h-1.196l-2.847-4.12h-.048V32h-1.384v-6.546h1.214l2.826 4.117h.057v-4.117z"}),a.createElement("defs",null,a.createElement("linearGradient",{id:"json_svg__a",x1:20,x2:20,y1:0,y2:40,gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopOpacity:.4}),a.createElement("stop",{offset:1}))));h.displayName="Json";export{h as Json};