Skip to content
Click to toggle
Interaction
Click toggle
Duration
1.00 s
Artboard
32 × 32 px
Lottie size
3.1 kB

Maxi/Minimize V2

Toggles between two states on click, or switches immediately when reduced motion is preferred. Free under the MIT license.

actioncollapseexpandfullscreenmaximaximize-2minimizeminimize-2

React

npm install react-useanimations
import UseAnimations from 'react-useanimations';
import maximizeMinimize2 from 'react-useanimations/lib/maximizeMinimize2';

<UseAnimations animation={maximizeMinimize2} size={32} />

shadcn/ui

npx shadcn@latest add https://useanimations.com/r/maximize-minimize-v2.json
import { AnimatedMaximizeMinimizeV2 } from '@/components/animations/maximize-minimize-v2';

<AnimatedMaximizeMinimizeV2 size={24} />

Files

https://useanimations.com/icons/maximize-minimize-v2.json  # Lottie JSON
https://useanimations.com/icons/maximize-minimize-v2.zip   # Lottie JSON + static SVGs

The animation as Lottie JSON and a ZIP with it and the SVGs. See Files & icons.json.

Static SVG

maximize-2.svg
minimize-2.svg