Code Diff animated icon
An animated code diff icon from Magic Glyphs, with its own spring motion and sound, in four styles. Part of the full library.
outline and solidThis is a recording of the real animation. Get the full library to use this icon, with its motion and sound, in every format.
Get the full library Edit in icon maker
See it in an interface
How it moves
The icon pops. It plays the “flip” sound, which you can swap for any of 528 sounds, your own audio file, or turn off. The motion is a spring, so it settles naturally, and it stays still for people who turn on reduced motion.
Use it
# HTML (no build step)
<magic-glyph name="code-diff" sound></magic-glyph>
# React, Next.js, Vue, Nuxt
npx magic-glyphs add code-diff --format react # or vue
# shadcn
npx shadcn@latest add @magic-glyphs/code-diff
# React Native, SwiftUI, Jetpack Compose, Flutter, Windows
npx magic-glyphs add code-diff --format react-native --sound # or swiftui, compose, flutter, winuiPaid icons need npx magic-glyphs login YOUR-LICENCE-KEY first. In React it becomes <CodeDiffGlyph />.
Similar icons
Diff
Git Compare
Redline Review
Math Lesson
Math Symbols
Message Deleted
Pull Request
Code Review Ai
Git Pull Request
Audit Trail
Revision
Subtract