---
title: "Hospital animated icon"
description: "Hospital animated icon (Health & Fitness). The hospital admits you. Light: the sliding doors part all the way into the jambs, leaving the doorway open, the cross sign pops a beat later, and the doors slide shut with a hit and one small rebound. Strong: the doors jolt, then slide fully open while the cross pulses twice like a beacon, and they shut with a hit and two decaying rebounds. The building never moves."
canonical: https://generativeicons.lottiefiles.com/icons/hospital/
---

# Hospital animated icon

The hospital admits you. Light: the sliding doors part all the way into the jambs, leaving the doorway open, the cross sign pops a beat later, and the doors slide shut with a hit and one small rebound. Strong: the doors jolt, then slide fully open while the cross pulses twice like a beacon, and they shut with a hit and two decaying rebounds. The building never moves.

- Id: `hospital`
- Category: Health & Fitness
- Search terms: clinic, medical center, health center, healthcare, emergency room, er, infirmary, ward, admission, urgent care, medical facility, hospitalization
- 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.lottiefiles.com/assets/hospital.lottie (dotLottie, 4115 bytes, sha256 876f155c740520244d4fc99499ce583cc60f17e0ef58f523e0618cbb6db0def9)
- License: MIT

## Install

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

## React

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

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