Early-bird pricing is open: 50 of 50 licenses still available. See pricing

Skip to content
popcons

Sun

A weather icon with a 1000 ms spin animation, 248 bytes gzipped. Preview is free; copy, download and export need a Basic license.

The motion, frame by frame

sun1000 ms, smooth easing
Trigger
Style
Speed
Colour

Hover or focus the preview. Duration 1000 ms.

Code, copy and download need a license.

Previews are always free. One Basic license unlocks every icon, component, pack and export format for life.

Unlock every icon

Module size: ~248 B gzip (default style)

Motion data

Preset
spin
Duration
1000 ms
Easing
smooth
Tracks
2
Size
248 B gzip
  • weather
  • sunny
  • day
  • bright
  • light
  • summer

Using the sun icon

How do I add an animated sun icon in React?

Install the Popcons React package and import SunIcon. It animates on hover and keyboard focus by default; set trigger to "click", "loop" or "in-view" to change that. Pass a label when the icon carries meaning; without one it stays hidden from screen readers.

import { SunIcon } from "@popcons/react";

<SunIcon size={24} trigger="hover" label="Sun" />

Can I use the sun animation without JavaScript?

Yes. Export it as CSS + HTML: the animation runs on hover with pure CSS keyframes and switches off automatically when the visitor prefers reduced motion.

Is there a Lottie or Rive version of the sun icon?

Yes. It exports to Lottie JSON and to a native Rive .riv file with the same spin motion (1000 ms, smooth easing), and the Figma plugin inserts it as a Smart Animate prototype component.

How much does the sun icon add to my bundle?

248 bytes gzipped, on top of a shared 3.0 KB runtime. Every Popcons icon is guaranteed to stay under 1 KB, enforced by automated tests.

More weather icons