---
title: "Gradient stops animated icon"
description: "Gradient stops animated icon (Vector editing & design). Dragging the middle colour stop re-flows the gradient. Light: the stop is grabbed (it swells), dragged 4 units right along the ramp and stops dead; the colour boundary above follows a beat later, so the mid tone spreads, then both ease home as the stop is let go. Strong: a small tug left, a longer drag right that stops dead, and on release the stop snaps home past its place and settles in two decaying beats, the boundary a beat behind. The frame and the two end stops never move."
canonical: https://generativeicons.com/icons/gradient-stops/
---

# Gradient stops animated icon

Dragging the middle colour stop re-flows the gradient. Light: the stop is grabbed (it swells), dragged 4 units right along the ramp and stops dead; the colour boundary above follows a beat later, so the mid tone spreads, then both ease home as the stop is let go. Strong: a small tug left, a longer drag right that stops dead, and on release the stop snaps home past its place and settles in two decaying beats, the boundary a beat behind. The frame and the two end stops never move.

- Id: `gradient-stops`
- Category: Vector editing & design
- Search terms: color stops, colour stops, gradient editor, gradient slider, gradient bar, color ramp, colour ramp, linear gradient, color transition, colour transition, blend colors, ombre
- One action, back to rest
- Styles: outline, solid, duotone; outline weights 1.5, 2, 2.5 (any from 1 to 3); motion light or strong
- File: https://generativeicons.com/assets/gradient-stops.lottie (dotLottie, 5912 bytes, sha256 eaff0d79dd261a2622435a77f5717b8699423c58271f0c3201c653cd5975bbae)
- License: MIT

## Install

```sh
npm install @lottiefiles/generative-icons-runtime
npx generative-icons init
npx generative-icons add gradient-stops
```

## React

```tsx
// npm install @lottiefiles/generative-icons-react
'use client';
import { AnimatedIcon } from '@lottiefiles/generative-icons-react';
import icon, { src } from './generative-icons/gradient-stops.mjs';

export function GradientStopsIcon() {
  return <AnimatedIcon icon={icon} src={src} size={32}
    color="#ffffff" variant="outline" weight={2}
    motion="light" theme="dark" />;
}
```

## JavaScript

```js
import { createIcon } from '@lottiefiles/generative-icons-runtime';
import icon, { src } from './generative-icons/gradient-stops.mjs';

const handle = await createIcon(canvas, {
  icon, src,
  color: '#ffffff', style: 'outline', weight: 2,
  motion: 'light', theme: 'dark'
});
button.addEventListener('click', () => handle.play());
// On removal: handle.destroy();
```

More: https://generativeicons.com/icons/gradient-stops/ · https://generativeicons.com/api/icons/gradient-stops
