---
title: "Backspace animated icon"
description: "Backspace animated icon (Actions). A character is deleted backwards. Light: the key is struck back toward its point and stops with a hit while its cross is drawn on again, then it rebounds and settles. Strong: two quick strikes, the second deeper, and the cross is drawn on again with each one, like a held backspace."
canonical: https://generativeicons.com/icons/backspace/
---

# Backspace animated icon

A character is deleted backwards. Light: the key is struck back toward its point and stops with a hit while its cross is drawn on again, then it rebounds and settles. Strong: two quick strikes, the second deeper, and the cross is drawn on again with each one, like a held backspace.

- Id: `backspace`
- Category: Actions
- Search terms: delete key, delete character, delete left, erase, erase text, clear input, del, remove character
- 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/backspace.lottie (dotLottie, 3347 bytes, sha256 51d414ae2be516735a555891e756add4ed6b0973d6ef59eecc81a339c19c4da3)
- License: MIT

## Install

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

## React

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

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