---
title: "Blocked file animated icon"
description: "Blocked file animated icon (Files & transfers). A file is blocked. Light: the slash strikes across the circle on the sheet, drawing on fast and stopping dead, and the sheet shakes its refusal side to side and settles. Strong: the slash strikes harder and the sheet shakes in more, wider swings."
canonical: https://generativeicons.com/icons/blocked-file/
---

# Blocked file animated icon

A file is blocked. Light: the slash strikes across the circle on the sheet, drawing on fast and stopping dead, and the sheet shakes its refusal side to side and settles. Strong: the slash strikes harder and the sheet shakes in more, wider swings.

- Id: `blocked-file`
- Category: Files & transfers
- Search terms: access denied, permission denied, forbidden, prohibited, not allowed, restricted file, banned file, unsupported file, quarantine, unsafe file, no access
- 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/blocked-file.lottie (dotLottie, 10200 bytes, sha256 cd3ad64a2ffaff1423b6b8145c53dcab184e860de693fc8c6bfa1e9deece92e7)
- License: MIT

## Install

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

## React

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

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