# Framer

Framer let's you design websites on a freeform canvas. Add animations, interactions and a CMS.

With **Released + Framer**, you can seamlessly embed a widget or announcement page into your website.

This section assumed you are familiar with Framer's code components. If you are new to code components, we recommend you read this page first: <https://www.framer.com/learn/code-components/>

### Prerequisite

* [ ] [Find the channel ID](https://docs.released.so/guide/resources/how-tos/finding-the-channel-id) for the announcement page and note it down.

### 1. Adding the embed code

Copy the following code snippet into the `<head>` element of your page.

1. Click on the ⚙️ icon in the top right of the header in Framer.
2. Click on **General**.
3. Scroll down to the **Custom Code** section.
4. Insert the following code in the **End of \<head> tag** panel.

```html
<script src="https://embed.released.so/1/embed.js"></script>
```

### 2. Adding the announcement page component

We have created a announcement page component that you can copy and paste into your Framer design view. Simply select the layer where you want to insert the announcement page and paste the URL below into the layer.

```url
https://framer.com/m/Announcement-page-eOYM.js@Z0mbpA8Z50VzS62QH9dz
```

The component supports a number of properties that can be configured via the UI to adjust the look and feel.

The only mandatory field is the announcement page [Channel Id](https://docs.released.so/guide/resources/how-tos/finding-the-channel-id).

<figure><img src="https://1499735372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCU5VgN3YVTfigwSnbdbk%2Fuploads%2FAeoZJAS2EykmxydV5Xuy%2FFramer%20Component%20UI.png?alt=media&#x26;token=a75799d4-bf26-495c-b30a-657ea478e1a6" alt=""><figcaption><p>Properties of the ReleasedPage Webflow Component</p></figcaption></figure>

{% hint style="info" %}
Since the release notes are loaded dynamically, you will need to **publish** the site in order to preview the changes.
{% endhint %}

### 3. Adding the badge component

To notify users about the availability of a new post, you can enhance the user experience by incorporating a notification badge on the link or button leading to the announcement page.

<figure><img src="https://1499735372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCU5VgN3YVTfigwSnbdbk%2Fuploads%2FKZ6XJtFlbZ0VjjOmNOPF%2FBadge.png?alt=media&#x26;token=34e07eef-f755-4c08-ae9b-80471a0e7ceb" alt="" width="375"><figcaption><p>Add a notification badge to a link or a button.</p></figcaption></figure>

Similar to the Page component, Released provides a Badge component that you can copy and paste into your Framer design view.

```url
https://framer.com/m/Released-badge-UvAC.js@DtpmL9J2ZjCuvy77OuXw
```

After adding the component next to your navigation link or button, you will have to enter the [Channel Id](https://docs.released.so/guide/resources/how-tos/finding-the-channel-id) for the badge in the properties panel.

{% hint style="info" %}
The Channel ID for the Badge and the Page are identical.
{% endhint %}

Lastly, you may have to [adjust the positioning of the badge](https://docs.released.so/guide/portals/portal/announcement-page#adjusting-the-position-of-the-badge) using CSS added to the [Custom Code](#adding-the-embed-code) section.
