weather
Cloud sun icon
Cloud sun is an original glyphfox icon from the weather set, drawn on the 24 by 24 grid with 7 shapes. Its closed shapes also give it a solid style, generated at build time. Tags: partly cloudy, day, forecast.
Sizes, weights and styles
Every glyphfox icon renders along three axes. The stroke grows a little below 24 px so small icons keep their presence.
Sizes
Weights
Styles
Copy the code
Pick a format. Each snippet uses the package entry point for that stack; the props work the same everywhere.
App.jsx
import { CloudSunIcon } from 'glyphfox/react'; <CloudSunIcon />
App.vue
<script setup> import { CloudSunIcon } from 'glyphfox/vue'; </script> <template> <CloudSunIcon /> </template>
App.svelte
<script> import { CloudSunIcon } from 'glyphfox/svelte'; </script> <CloudSunIcon />
app.component
import { GlyphFoxIcon, provideGlyphFox } from 'glyphfox-angular'; <gf-icon name="cloud-sun"></gf-icon>
index.html
<glyph-fox name="cloud-sun"></glyph-fox>
index.html
<script src="https://cdn.jsdelivr.net/npm/glyphfox@1"></script> <glyph-fox name="cloud-sun"></glyph-fox>
index.html
<span class="gf-cloud-sun" aria-hidden="true"></span>
cloud-sun.svg
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="glyphfox glyphfox-cloud-sun" aria-hidden="true"><path d="M19 20H11A2.5 2.5 0 1 1 11.03 15A4.25 4.25 0 1 1 19.47 14.04A3 3 0 0 1 19 20Z"/><path d="M7.92 11.8A3 3 0 0 1 6 9A3 3 0 0 1 11.61 7.52"/><path d="M2 9L2.01 9"/><path d="M4.05 4.05L4.06 4.05"/><path d="M9 2L9.01 2"/><path d="M13.95 4.05L13.96 4.05"/><path d="M4.05 13.95L4.06 13.95"/></svg>
data URI
data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='glyphfox glyphfox-cloud-sun' aria-hidden='true'%3E%3Cpath d='M19 20H11A2.5 2.5 0 1 1 11.03 15A4.25 4.25 0 1 1 19.47 14.04A3 3 0 0 1 19 20Z'/%3E%3Cpath d='M7.92 11.8A3 3 0 0 1 6 9A3 3 0 0 1 11.61 7.52'/%3E%3Cpath d='M2 9L2.01 9'/%3E%3Cpath d='M4.05 4.05L4.06 4.05'/%3E%3Cpath d='M9 2L9.01 2'/%3E%3Cpath d='M13.95 4.05L13.96 4.05'/%3E%3Cpath d='M4.05 13.95L4.06 13.95'/%3E%3C/svg%3E
index.html
<!-- copy node_modules/glyphfox/dist/sprite.svg to your public folder --> <svg width="24" height="24" aria-hidden="true"> <use href="/sprite.svg#gf-cloud-sun"></use> </svg>
index.html
<!-- main.js: import 'glyphfox/runtime'; --> <i data-glyph="cloud-sun"></i>
icon.js
import { renderToString } from 'glyphfox/core'; import iconCloudSun from 'glyphfox/icons/cloud-sun'; const svg = renderToString(iconCloudSun, { size: 24 }); // or, with every icon registered by name: // import { toSvg } from 'glyphfox'; // toSvg('cloud-sun', { size: 24 });
Details
| Name | cloud-sun |
|---|---|
| React, Vue and Svelte component | CloudSunIcon |
| Icon data export | iconCloudSun |
| Categories | weather |
| Tags | partly cloudy day forecast |
| Styles | Outline, Duotone (fill of the closed shapes), Solid |
| Shapes | 7 |
| License | MIT |
With a modifier badge
Add a badge in any corner with modifier or the name syntax. The icon is cut around the badge, so the result still passes the icon rules.
cloud-sun+checkcloud-sun+pluscloud-sun+xcloud-sun+alertUse it in your stack
Guides with the install, the props and the pitfalls for each stack: