Skip to content

0.1.0: 20 icons that move

Choose a tag to compare

@zainkhalid91 zainkhalid91 released this 25 Nov 08:39
· 4 commits to main since this release

Icons that animate between states, in pure Compose. 20 icons, one line each. No Lottie, no assets.

Before and after

implementation("com.github.zainkhalid91.compose-motion-icons:icons:0.1.0")

with maven("https://jitpack.io") in your repositories.

Try every icon in your browser

What's in it

  • Navigation: MenuCloseIcon, AddCloseIcon, SearchCloseIcon, GridListIcon
  • Media: PlayPauseIcon, VolumeIcon, MicIcon
  • Social: HeartIcon, StarIcon, BookmarkIcon, SendIcon
  • Status: BellIcon, WifiIcon, DownloadIcon, CopyIcon, CheckboxIcon
  • System: LockIcon, EyeIcon, ThemeIcon, TrashIcon

Built for real screens

  • Icons start in the state you give them, so already-liked items don't burst as they scroll in.
  • Interrupt a transition and it reverses from where it is.
  • Redraws without recomposing; state-aware content descriptions; live regions for Copied, Downloaded and Sent.
  • Honours reduced motion; FreezeMotionIcons for screenshot tests.
  • Android, desktop and web (Wasm).

The demo video is attached below.