sun from IconPark by ByteDance · Color · Weather · Apache-2.0 Free for personal and commercial use.

Name
sun
Set
IconPark
Style
Color
Category
Weather
Viewbox
48×48
License
Apache 2.0

The same icon in other sets

More weather icons from IconPark

Use the sun icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><g fill="none" stroke="#000" stroke-linejoin="round" stroke-width="4"><path stroke-linecap="round" d="M9.15039 9.15088L11.3778 11.3783"/><path stroke-linecap="round" d="M3 24H6.15"/><path stroke-linecap="round" d="M9.15039 38.8495L11.3778 36.6221"/><path stroke-linecap="round" d="M38.8495 38.8495L36.6221 36.6221"/><path stroke-linecap="round" d="M44.9996 24H41.8496"/><path stroke-linecap="round" d="M38.8495 9.15088L36.6221 11.3783"/><path stroke-linecap="round" d="M24 3V6.15"/><path fill="#fff" d="M24 36C30.6274 36 36 30.6274 36 24C36 17.3726 30.6274 12 24 12C17.3726 12 12 17.3726 12 24C12 30.6274 17.3726 36 24 36Z"/><path stroke-linecap="round" d="M24 45.0001V41.8501"/></g></svg>

React

import type { SVGProps } from "react";

export function IconParkSun(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><g fill="none" stroke="#000" strokeLinejoin="round" strokeWidth="4"><path strokeLinecap="round" d="M9.15039 9.15088L11.3778 11.3783"/><path strokeLinecap="round" d="M3 24H6.15"/><path strokeLinecap="round" d="M9.15039 38.8495L11.3778 36.6221"/><path strokeLinecap="round" d="M38.8495 38.8495L36.6221 36.6221"/><path strokeLinecap="round" d="M44.9996 24H41.8496"/><path strokeLinecap="round" d="M38.8495 9.15088L36.6221 11.3783"/><path strokeLinecap="round" d="M24 3V6.15"/><path fill="#fff" d="M24 36C30.6274 36 36 30.6274 36 24C36 17.3726 30.6274 12 24 12C17.3726 12 12 17.3726 12 24C12 30.6274 17.3726 36 24 36Z"/><path strokeLinecap="round" d="M24 45.0001V41.8501"/></g></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><g fill="none" stroke="#000" stroke-linejoin="round" stroke-width="4"><path stroke-linecap="round" d="M9.15039 9.15088L11.3778 11.3783"/><path stroke-linecap="round" d="M3 24H6.15"/><path stroke-linecap="round" d="M9.15039 38.8495L11.3778 36.6221"/><path stroke-linecap="round" d="M38.8495 38.8495L36.6221 36.6221"/><path stroke-linecap="round" d="M44.9996 24H41.8496"/><path stroke-linecap="round" d="M38.8495 9.15088L36.6221 11.3783"/><path stroke-linecap="round" d="M24 3V6.15"/><path fill="#fff" d="M24 36C30.6274 36 36 30.6274 36 24C36 17.3726 30.6274 12 24 12C17.3726 12 12 17.3726 12 24C12 30.6274 17.3726 36 24 36Z"/><path stroke-linecap="round" d="M24 45.0001V41.8501"/></g></svg>
</template>

CSS

.icon-sun {
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%224%22%3E%3Cpath%20stroke-linecap%3D%22round%22%20d%3D%22M9.15039%209.15088L11.3778%2011.3783%22%2F%3E%3Cpath%20stroke-linecap%3D%22round%22%20d%3D%22M3%2024H6.15%22%2F%3E%3Cpath%20stroke-linecap%3D%22round%22%20d%3D%22M9.15039%2038.8495L11.3778%2036.6221%22%2F%3E%3Cpath%20stroke-linecap%3D%22round%22%20d%3D%22M38.8495%2038.8495L36.6221%2036.6221%22%2F%3E%3Cpath%20stroke-linecap%3D%22round%22%20d%3D%22M44.9996%2024H41.8496%22%2F%3E%3Cpath%20stroke-linecap%3D%22round%22%20d%3D%22M38.8495%209.15088L36.6221%2011.3783%22%2F%3E%3Cpath%20stroke-linecap%3D%22round%22%20d%3D%22M24%203V6.15%22%2F%3E%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M24%2036C30.6274%2036%2036%2030.6274%2036%2024C36%2017.3726%2030.6274%2012%2024%2012C17.3726%2012%2012%2017.3726%2012%2024C12%2030.6274%2017.3726%2036%2024%2036Z%22%2F%3E%3Cpath%20stroke-linecap%3D%22round%22%20d%3D%22M24%2045.0001V41.8501%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%224%22%3E%3Cpath%20stroke-linecap%3D%22round%22%20d%3D%22M9.15039%209.15088L11.3778%2011.3783%22%2F%3E%3Cpath%20stroke-linecap%3D%22round%22%20d%3D%22M3%2024H6.15%22%2F%3E%3Cpath%20stroke-linecap%3D%22round%22%20d%3D%22M9.15039%2038.8495L11.3778%2036.6221%22%2F%3E%3Cpath%20stroke-linecap%3D%22round%22%20d%3D%22M38.8495%2038.8495L36.6221%2036.6221%22%2F%3E%3Cpath%20stroke-linecap%3D%22round%22%20d%3D%22M44.9996%2024H41.8496%22%2F%3E%3Cpath%20stroke-linecap%3D%22round%22%20d%3D%22M38.8495%209.15088L36.6221%2011.3783%22%2F%3E%3Cpath%20stroke-linecap%3D%22round%22%20d%3D%22M24%203V6.15%22%2F%3E%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M24%2036C30.6274%2036%2036%2030.6274%2036%2024C36%2017.3726%2030.6274%2012%2024%2012C17.3726%2012%2012%2017.3726%2012%2024C12%2030.6274%2017.3726%2036%2024%2036Z%22%2F%3E%3Cpath%20stroke-linecap%3D%22round%22%20d%3D%22M24%2045.0001V41.8501%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/icon-park/sun.svg?color=%231a73e8&size=48