josemi / icons
v0.7.0
sun
Download
Download the icon as SVG image.
Download Icon
Customize icon
Set your custom size or color and download the icon as SVG or PNG image.
Width
Height
Color
Get SVG
Get PNG
Using as SVG
Copy and paste the following SVG code into your HTML file where you want the icon to appear. Then, you can customize the SVG attributes, such as size or color, using inline styling or CSS classes.
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="1em" height="1em">
    <path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 12C8 9.79086 9.79086 8 12 8C12.9832 8 13.8835 8.35471 14.58 8.94315C15.4485 9.67689 16 10.774 16 12C16 14.2091 14.2091 16 12 16C9.79086 16 8 14.2091 8 12ZM12 3L12 4M12 20L12 21M3 12L4 12M20 12L21 12M18.4003 5.67259L17.6892 6.37564M6.31084 17.6244L5.59969 18.3274M5.67259 5.59969L6.37564 6.31084M17.6244 17.6892L18.3274 18.4003" />
</svg>
Using with React
Install @josemi-icons/react and import the icon component in your React application:
import {SunIcon} from "@josemi-icons/react";

const MyComponent = () => {
    return (
        <SunIcon />
    );
};
Using with CSS
Install @josemi-icons/css and include the icon as a CSS class:
<i class="ji-sun"></i>