Hug Width animated icon
An animated hug width 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 slides and the pill stretches. It plays the “collapse” 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="hug-width" sound></magic-glyph>
# React, Next.js, Vue, Nuxt
npx magic-glyphs add hug-width --format react # or vue
# shadcn
npx shadcn@latest add @magic-glyphs/hug-width
# React Native, SwiftUI, Jetpack Compose, Flutter, Windows
npx magic-glyphs add hug-width --format react-native --sound # or swiftui, compose, flutter, winuiPaid icons need npx magic-glyphs login YOUR-LICENCE-KEY first. In React it becomes <HugWidthGlyph />.
Similar icons
Hug Height
Autofit Width
Arrows In Horizontal
Arrow Left Right
Square Arrows Horizontal
Align Objects Left
Align Objects Right
Align Objects Center
Autofit Height
Hugging Face
Person Hugging
Emotional Support