---
title: "Hotel animated icon"
description: "Hotel animated icon (Travel). A welcome flag catches and releases a short breeze above a still, readable hotel facade."
canonical: https://generativeicons.com/icons/hotel/
---

# Hotel animated icon

A welcome flag catches and releases a short breeze above a still, readable hotel facade.

- Id: `hotel`
- Category: Travel
- Search terms: lodging, accommodation, accommodations, inn, motel, resort, hostel, place to stay, overnight stay, hospitality, room booking, guest house
- 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/hotel.lottie (dotLottie, 6935 bytes, sha256 d606f8ff282b734bbb97e0c10d6fb716f2da52ea019c66cb0c28abd9bf72295e)
- License: MIT

## Install

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

## React

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

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