Sun icon
A hand-drawn sun icon that animates on its own: an SVG on a 24px grid in thin, regular and bold strokes. Free to download and use in the apps you build (LumioUI License). It takes your text colour through currentColor.
- Category
- Nature
- Grid
- 24 × 24
- Strokes
- 1.5 · 2 · 2.5
- Name
sun
Stroke weights and sizes
Use it in React Native
The Icon component draws sun by name, sized and coloured from your theme. Add it with npx @lumioui/cli add icon.
TSX Example.tsx
import { Icon } from "@/components/ui/icon";
<Icon name="sun" size={24} />
// colour and stroke follow your theme; pass color / strokeWidth to override SVG code
The still glyph. The animated version, linked above, plays its motion on its own with SMIL, so it needs no script.
SVG sun.svg
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><circle stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" cx="12" cy="12" r="4"></circle><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="12" y1="3" x2="12" y2="5"></line><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="12" y1="19" x2="12" y2="21"></line><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="3" y1="12" x2="5" y2="12"></line><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="19" y1="12" x2="21" y2="12"></line><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="5.7" y1="5.7" x2="7.1" y2="7.1"></line><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="16.9" y1="16.9" x2="18.3" y2="18.3"></line><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="5.7" y1="18.3" x2="7.1" y2="16.9"></line><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="16.9" y1="7.1" x2="18.3" y2="5.7"></line></svg> On the web, link it straight from the CDN:
HTML index.html
<img src="https://cdn.lumioui.com/iconset/static/sun.svg" width="24" height="24" alt="Sun" /> Where LumioUI uses it
- Achievement Badge component
- Fader component
- Glass Cluster component
- Action Swap component
- Barcode component
- Command Palette component
- Radio Group component
- Step Flow component
- Switch component
- Zoom Transition component
- Coach Marks component
- Feature Gate component
- Onboarding Dark Objects screen
- Onboarding screen
- Verify Identity screen
- AI screen
- Chat Info screen
- Accessibility screen
- Settings Search screen
- Settings screen
- Habit Quest screen
- Mood Checkin screen
- Camera Screen screen
- Photo Editor screen