8 icons · MIT licensed
Animated shape and math icons
Circles, squares, triangles, hexagons, an octagon and division signs. Use them as shape tools in drawing apps, as calculator operators, or as neutral markers in diagrams and onboarding steps.
All 8 icons play once on hover. Each one comes as a React component, a shadcn/ui component and a Lottie JSON animation with static SVGs, free for commercial use under the MIT license.
All shapes & math icons
Where to use them
- Shape tools in whiteboard and drawing apps
- Calculator and formula editor operators
- Bullet and step markers in diagrams
- Quiz and game interfaces
By interaction
- Hover-to-play animated icons · 8
Plays once on mouseenter unless reduced motion is preferred. Leaving does not stop it; entering during playback does not restart it. Circle, Divide, Divide Circle, Divide Square, Hexagon, Octagon, Square, Triangle.
Add one to your app
With React, install react-useanimations and import the icon; it plays its hover replay interaction on its own. Every icon in this category works the same way: swap hexagon for the name on its page.
npm install react-useanimationsimport UseAnimations from 'react-useanimations';
import hexagon from 'react-useanimations/lib/hexagon';
<UseAnimations animation={hexagon} size={32} />With shadcn/ui, the CLI adds a ready-made component:
npx shadcn@latest add https://useanimations.com/r/hexagon.jsonimport { AnimatedHexagon } from '@/components/animations/hexagon';
<AnimatedHexagon size={24} />Not using React? Each icon is a Lottie JSON file at /icons/<id>.json; see Lottie icons for web, iOS, Android and Flutter players.
FAQ
Which animated shape and math icons are included?
8 icons: Circle, Divide, Divide Circle, Divide Square, Hexagon, Octagon, Square and Triangle. All of them are free for personal and commercial projects under the MIT license, with no attribution required.
How do I use these animated shape and math icons in React?
Install react-useanimations, add import hexagon from 'react-useanimations/lib/hexagon' and render <UseAnimations animation={hexagon} size={32} />. The icon plays its hover replay interaction and follows the text color. With shadcn/ui, run npx shadcn@latest add https://useanimations.com/r/hexagon.json instead.
Can I use these animated shape and math icons without React?
Yes. Each icon is a Lottie JSON file at https://useanimations.com/icons/<id>.json (for example https://useanimations.com/icons/hexagon.json), playable with lottie-web, lottie-ios, lottie-android or Flutter's lottie package; static SVGs are on each icon page. None of them use expressions, so lottie-web's light build is enough.