---
title: "Pin message animated icon"
description: "Pin message animated icon (Chat & messaging). Pin command → the pin descends into the upper edge of the chat → its needle seats → pinned is retained. Light: 2 units of insertion. Strong: 2 units with an 18-degree preparation. Reverse lifts the pin out."
canonical: https://generativeicons.com/icons/pin-message/
---

# Pin message animated icon

Pin command → the pin descends into the upper edge of the chat → its needle seats → pinned is retained. Light: 2 units of insertion. Strong: 2 units with an 18-degree preparation. Reverse lifts the pin out.

- Id: `pin-message`
- Category: Chat & messaging
- Search terms: pinned, pinned message, pin to top, pin chat, pin conversation, pushpin, thumbtack, keep on top, stick to top
- Two states: Unpinned to Pinned, played forward and back
- 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/pin-message.lottie (dotLottie, 9862 bytes, sha256 7e26c9f2bd81a87d8b0eed345bef87fa9d729406f89f42bd62c53b4b8ac733f8)
- License: MIT

## Install

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

## React

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

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