josemi/icons
v0.6.1
sun
Added: v0.1.0
sunsunny
Download
Download the icon as SVG image to use or edit it.
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

Embed this icon within HTML

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 as a React Component

You can integrate this icon in your React application using our React icons components. First install the package using YARN or NPM:

$ yarn add @josemi-icons/react

Now you can import this icon in your React application

import {SunIcon} from "@josemi-icons/react";

Alternatively, if you only need this icon jou can just copy and paste the following component into your React application:

const SunIcon = () => (
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="1em" height="1em">
        <path fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="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>
);

You can now use the icon component in your React application like any other React component.

Designed by Josemi. Source code available on GitHub.