---
title: "Tent animated icon"
description: "Tent animated icon (Travel). The tent is pitched. Light: the slack fabric sags low and wide onto the ground, then the tent springs up and snaps taut a little taller than rest with a hit, dips back once and settles. Strong: it sags flatter and lies there a beat before it springs up higher and settles in two decaying beats. The base stays on the ground; the door rides with the fabric."
canonical: https://generativeicons.com/icons/tent/
---

# Tent animated icon

The tent is pitched. Light: the slack fabric sags low and wide onto the ground, then the tent springs up and snaps taut a little taller than rest with a hit, dips back once and settles. Strong: it sags flatter and lies there a beat before it springs up higher and settles in two decaying beats. The base stays on the ground; the door rides with the fabric.

- Id: `tent`
- Category: Travel
- Search terms: camping, camp, campsite, campground, glamping, outdoors, camp out, shelter, wilderness, pitch a tent
- 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/tent.lottie (dotLottie, 6292 bytes, sha256 7e60701f463c855f44901e6873da8d5c8c65cdf3e11811afb752fc44e44beee4)
- License: MIT

## Install

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

## React

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

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