---
title: "Refresh animated icon"
description: "Refresh animated icon (Actions). Two arrow assemblies turn clockwise once and settle."
canonical: https://generativeicons.com/icons/refresh/
---

# Refresh animated icon

Two arrow assemblies turn clockwise once and settle.

- Id: `refresh`
- Category: Actions
- Search terms: reload, reload page, pull to refresh, update, try again, renew, regenerate, f5, refetch
- 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/refresh.lottie (dotLottie, 60226 bytes, sha256 d0c28984fda0449e34b36618d44a709939744337daed6a38a3e6fcec9b439f9c)
- License: MIT

## Install

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

## React

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

export function RefreshIcon() {
  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/refresh.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/refresh/ · https://generativeicons.com/api/icons/refresh
