Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/okikio/native. An initiative which aims to make it easy to create complex, light-weight, and perfor okikio.github.io/native
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677---export interface Props { name: string;}
const { name = "pause" } = Astro.props;---<style lang="scss"> svg { fill: currentColor; width: 24px; height: 24px;
g, path { fill: currentColor; width: 100%; height: 100%; } }</style>
<svg class={`icon ${name}`} viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> {(() => { switch (name) { case "play": return ( <> <path d="M7.60846 4.61507C7.1087 4.34314 6.5 4.70491 6.5 5.27386V18.7262C6.5 19.2951 7.1087 19.6569 7.60846 19.385L19.97 12.6588C20.4921 12.3747 20.4921 11.6253 19.97 11.3412L7.60846 4.61507ZM5 5.27386C5 3.56701 6.82609 2.4817 8.32538 3.29749L20.687 10.0236C22.2531 10.8758 22.2531 13.1242 20.687 13.9764L8.32538 20.7025C6.82609 21.5183 5 20.433 5 18.7262V5.27386Z" /> </> ); break; case "pause": return ( <> <path d="M5.74512 3C4.77862 3 3.99512 3.7835 3.99512 4.75V19.25C3.99512 20.2165 4.77862 21 5.74512 21H9.24512C10.2116 21 10.9951 20.2165 10.9951 19.25V4.75C10.9951 3.7835 10.2116 3 9.24512 3H5.74512ZM5.49512 4.75C5.49512 4.61193 5.60705 4.5 5.74512 4.5H9.24512C9.38319 4.5 9.49512 4.61193 9.49512 4.75V19.25C9.49512 19.3881 9.38319 19.5 9.24512 19.5H5.74512C5.60705 19.5 5.49512 19.3881 5.49512 19.25V4.75Z" fill="#212121"/> <path d="M14.7451 3C13.7786 3 12.9951 3.7835 12.9951 4.75V19.25C12.9951 20.2165 13.7786 21 14.7451 21H18.2451C19.2116 21 19.9951 20.2165 19.9951 19.25V4.75C19.9951 3.7835 19.2116 3 18.2451 3H14.7451ZM14.4951 4.75C14.4951 4.61193 14.607 4.5 14.7451 4.5H18.2451C18.3832 4.5 18.4951 4.61193 18.4951 4.75V19.25C18.4951 19.3881 18.3832 19.5 18.2451 19.5H14.7451C14.607 19.5 14.4951 19.3881 14.4951 19.25V4.75Z" fill="#212121"/> </> ); break; case "replay": return ( <> <title>ic_fluent_arrow_counterclockwise_24_regular</title> <desc>Created with Sketch.</desc> <g id="🔍-System-Icons" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g id="ic_fluent_arrow_counterclockwise_24_regular" fill="#212121" fill-rule="nonzero"> <path d="M5.50999526,3.31842271 C5.12151573,3.31842271 4.80046129,3.60710385 4.74965,3.9816481 L4.74264499,4.08577298 L4.74264499,6.97963208 C4.74264499,7.36811161 5.03132614,7.68916605 5.40587038,7.73997735 L5.50999526,7.74698235 L8.40385436,7.74698235 C8.82765021,7.74698235 9.17120463,7.40342793 9.17120463,6.97963208 C9.17120463,6.59115255 8.88252349,6.27009811 8.50797925,6.21928681 L8.40385436,6.21228181 L7.42512053,6.21182461 C10.3377833,3.87107476 14.6073963,4.05209336 17.3101833,6.75488039 C20.2069829,9.65167996 20.2069829,14.34832 17.3101833,17.2451196 C14.4133838,20.1419192 9.71674369,20.1419192 6.81994412,17.2451196 C5.05698183,15.4821573 4.31886614,12.9925923 4.78189684,10.58925 C4.86207142,10.173107 4.58971523,9.77076216 4.17357228,9.69058758 C3.75742932,9.610413 3.35508446,9.88276918 3.27490988,10.2989121 C2.71652434,13.1971899 3.60781134,16.2033812 5.73474696,18.3303168 C9.23088437,21.8264542 14.8992431,21.8264542 18.3953805,18.3303168 C21.8915179,14.8341794 21.8915179,9.16582064 18.3953805,5.66968323 C15.0747703,2.34907304 9.7945807,2.18235834 6.27720505,5.16953912 L6.27734554,4.08577298 C6.27734554,3.66197713 5.93379112,3.31842271 5.50999526,3.31842271 Z" id="🎨-Color"></path> </g> </g> </> ); break; case "plus": return ( <> <title>ic_fluent_add_24_regular</title> <desc>Created with Sketch.</desc> <g id="🔍-Product-Icons" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g id="ic_fluent_add_24_regular" fill="#212121" fill-rule="nonzero"> <path d="M11.7498476,3 C12.1295434,3 12.4433959,3.28201302 12.4931327,3.64807848 L12.5,3.74984765 L12.5012052,11 L19.7542949,11 C20.1685084,11 20.5042949,11.3357864 20.5042949,11.75 C20.5042949,12.1296958 20.222141,12.443491 19.8560654,12.4931534 L19.7542949,12.5 L12.5012052,12.5 L12.50325,19.7491118 C12.5033342,20.1633254 12.1676159,20.4992642 11.7534024,20.4992642 C11.3737066,20.4992642 11.0598541,20.2172511 11.0101173,19.8511857 L11.0032501,19.7494165 L11.0012052,12.5 L3.75220519,12.5 C3.33799163,12.5 3.00220519,12.1642136 3.00220519,11.75 C3.00220519,11.3703042 3.28435907,11.056509 3.65043463,11.0068466 L3.75220519,11 L11.0012052,11 L11,3.75015235 C10.9999159,3.3359388 11.3356341,3 11.7498476,3 Z" id="🎨-Color"></path> </g> </g> </> ); break; case "minus": return ( <> <path d="M3.75488 12.4995H20.2468C20.661 12.4995 20.9968 12.1638 20.9968 11.7495C20.9968 11.3353 20.661 10.9995 20.2468 10.9995H3.75488C3.34067 10.9995 3.00488 11.3353 3.00488 11.7495C3.00488 12.1638 3.34067 12.4995 3.75488 12.4995Z" fill="#212121"/> </> ); break; } })()}</svg>