---
title: "Discussion on \"How to make a UI element persistent in Gatsby\" | Hashnode"
description: "Discussion on \"How to make a UI element persistent in Gatsby\". When I built the website for Landing in Tech I wanted to have a bar on top of the page with the latest episode. \nThe idea was to allow users to listen to the episode while browsing the page.\nI added the iframe on my layout.js file and expected it to ..."
url: "https://hashnode.com/posts/how-to-make-a-ui-element-persistent-in-gatsby/5fa6ff4f0163314ab6d7f41e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to make a UI element persistent in Gatsby](https://node.theflying.dev/how-to-make-a-ui-element-persistent-in-gatsby?utm_source=hashnode&utm_medium=feed)

When I built the website for Landing in Tech I wanted to have a bar on top of the page with the latest episode. The idea was to allow users to listen to the episode while browsing the page. I added the iframe on my layout.js file and expected it to ...

Nov 7, 2020 · 4 min read · node.theflying.dev  
Read the article

-   [#gatsby](https://hashnode.com/tag/gatsby)
-   [#tips](https://hashnode.com/tag/tips)
-   [#2articles1week](https://hashnode.com/tag/2articles1week)

## Written by

[Fábio Rosado](https://hashnode.com/@FabioRosado)

@FabioRosado · Redhill, UK

  
[View profile](https://hashnode.com/@FabioRosado)

Self-taught developer by night and flight attendant by day

I'm The Flying Dev - flight attendant and self-taught developer. The founder and host of the Landing in Tech podcast.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
