Moon icon
A hand-drawn moon 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
moon
Stroke weights and sizes
Use it in React Native
The Icon component draws moon 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="moon" 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 moon.svg
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><g><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M19.6 14.8A8.3 8.3 0 1 1 9.2 4.4A6.9 6.9 0 0 0 19.6 14.8Z"></path></g><g><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="16.9" y1="5.2" x2="18.7" y2="5.2"></line><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="17.8" y1="4.3" x2="17.8" y2="6.1"></line></g></svg> On the web, link it straight from the CDN:
HTML index.html
<img src="https://cdn.lumioui.com/iconset/static/moon.svg" width="24" height="24" alt="Moon" /> Where LumioUI uses it
- Calendar Strip component
- Glass Cluster component
- Gradient Button component
- Achievement Badge component
- Command Palette component
- Fader component
- Media Controls component
- Shutter Button component
- Sparkline component
- Step Flow component
- Switch component
- Coach Marks component
- Onboarding screen
- Channels List screen
- Chat Info screen
- Chat List screen
- Appearance screen
- Home Dark screen
- Home Editorial screen
- Notification Settings screen
- Paywall Dark Stage screen
- Profile Gamified screen
- Screen Time screen
- Search Command screen