Sun Icon
Free SVG icon from the Carbon Icons collection. Download or copy for use in any project.
The Sun icon is available as a free SVG and is ready to drop into any web or app project.
img tag
<img src="https://proicons.com/icon/318961.svg" alt="Sun icon" width="24" height="24">
React JSX
<img src="https://proicons.com/icon/318961.svg" alt="Sun icon" width={24} height={24} />
Vue template
<img src="https://proicons.com/icon/318961.svg" alt="Sun icon" :width="24" :height="24" />
CSS background
.icon-sun {
background-image: url('https://proicons.com/icon/318961.svg');
background-size: contain;
background-repeat: no-repeat;
width: 24px;
height: 24px;
display: inline-block;
}
SVG markup
<svg id="icon" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><defs><style>.cls-1{fill:none;}</style></defs><title>sunny</title><path d="M16,12a4,4,0,1,1-4,4,4.0045,4.0045,0,0,1,4-4m0-2a6,6,0,1,0,6,6,6,6,0,0,0-6-6Z" transform="translate(0 0.0049)"/><rect x="6.8536" y="5.3745" width="1.9998" height="4.958" transform="translate(-3.253 7.8584) rotate(-45)"/><rect x="2" y="15.0049" width="5" height="2"/><rect x="5.3745" y="23.1466" width="4.958" height="1.9998" transform="translate(-14.7739 12.6305) rotate(-45)"/><rect x="15" y="25.0049" width="2" height="5"/><rect x="23.1466" y="21.6675" width="1.9998" height="4.958" transform="translate(-10.0018 24.1514) rotate(-45)"/><rect x="25" y="15.0049" width="5" height="2"/><rect x="21.6675" y="6.8536" width="4.958" height="1.9998" transform="translate(1.5191 19.3793) rotate(-45)"/><rect x="15" y="2.0049" width="2" height="5"/><rect id="_Transparent_Rectangle_" data-name="<Transparent Rectangle>" class="cls-1" width="32" height="32"/></svg>
Copied!