# Logout in drawer navigator

**URL:** <https://community.thunkable.com/t/logout-in-drawer-navigator/3993149>\
**Category:** Questions about Thunkable X\
**Tags:** beginner\
**Created:** [July 13, 2025, 2:26pm UTC](https://community.thunkable.com/t/logout-in-drawer-navigator/3993149 "2025-07-13T14:26:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ocorbo](https://avatars.discourse-cdn.com/v4/letter/o/ad7895/32.png) [@ocorbo](https://community.thunkable.com/u/ocorbo)\
**Post date:** [July 13, 2025, 2:26pm UTC](https://community.thunkable.com/t/logout-in-drawer-navigator/3993149/1 "2025-07-13T14:26:54Z")

</div>

Currently, I have this button that is used to log out of my application. I would like to remove this button and have it appear in the dropdown menu instead. For it to appear in the dropdown menu, I need to create a screen. I was thinking of adding a screen and then, in the code for that screen, adding my current code under ‘when screen opens’, so there wouldn’t really be a page, just a redirection. It’s my somewhat indirect way of accomplishing the task—what do you think?

 ![Capture d’écran, le 2025-07-13 à 10.21.02](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/e/3e3257bd76c56ea6c86518400f0086c1588b9c5f.png)

---

<div class="post-metadata">

**Author:** ![brianl](https://avatars.discourse-cdn.com/v4/letter/b/f14d63/32.png) [@brianl](https://community.thunkable.com/u/brianl)\
**Post date:** [July 17, 2025, 11:27pm UTC](https://community.thunkable.com/t/logout-in-drawer-navigator/3993149/2 "2025-07-17T23:27:44Z")

</div>

That approach is very creative. It would take them out of whatever screen they are currently in, but other than that, I don’t envision any issues with that approach. As long as it works, I don’t think that it is a bad idea. I haven’t tested that approach before, but I encourage creative solutions.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [October 15, 2025, 11:27pm UTC](https://community.thunkable.com/t/logout-in-drawer-navigator/3993149/3 "2025-10-15T23:27:55Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
