Animated icons Available
All 1000 rd icons move. The animation is plain CSS, so it works in React, in a pasted SVG and in any website. It stays under a second, always ends on the exact resting drawing, and switches itself off for people who ask their device for reduced motion.
Try it
Pick a mode and a speed, then hover, click or replay. These are the real icons.
Plays while the pointer is over the icon.
Draw-in
The strokes draw themselves, one after another. Used for arrows, chevrons, text and math glyphs and plain shapes.
Part motion
One part of the icon moves and the rest stays still: steam, a lid, a pair of eyes, falling drops.
Badge motion
The mark pops in (a check, a plus, a cross) or slides the way it points, while the base shape gives a little.
Whole-icon move
A few icons simply move as one piece: the plane flies, the car drives, the disc spins.
Modes
Set the mode with data-rd-animate on the <svg>, or with the animate prop in React.
| Value | When it plays |
|---|---|
hover | while the pointer is over the icon (animate or animate="hover" in React) |
parent | while the pointer is over its parent: a button, a menu row, a card |
play | as soon as it appears |
loop | forever |
Use it
Plain SVG, on any website
Copy an animated file from the svg-animated folder or from any icon page (the Animated tab). The CSS is inside the file, nothing else to load.
<button class="btn">
<svg viewBox="0 0 24 24" class="rd-a-bell" data-rd-animate="parent"> … </svg>
Notifications
</button>Change the speed
The CSS variable --rd-speed multiplies every duration, so 2 is twice as slow and 0.5 is twice as fast. In React the speed prop does the opposite sum for you: speed={2} is twice as fast.
.slow { --rd-speed: 2; }React
import { Bell, Rocket, Folder } from '@rdicons/react-rd'
<Bell animate /> // plays on hover
<Folder animate="parent" /> // plays when the button around it is hovered
<Rocket animate="loop" speed={1.5} /> // repeats, a bit fasterAnimated images for slides and chats
CSS cannot play inside Keynote, PowerPoint, Notion, Slack or an e-mail. On the page of any rd icon, Download as an animated image makes an APNG (smooth edges and real transparency) or a GIF (works everywhere), in 64 to 512 px, on a transparent, white or dark background. It uses the color, stroke and speed you set, and it is made in your browser: nothing is uploaded.
Good to know
- Reduced motion. Everything sits inside
@media (prefers-reduced-motion: no-preference). People who turn motion off see the still icon. - Always back to rest. The pose before and after is identical to the static icon, so an animated icon never looks different from a static one.
- Small. The animation of one icon is about a kilobyte of CSS, and it is only included when you ask for it.
- rd only. The other 18 libraries are shown as their authors drew them, without animation.