# El icono de tres barras debería ser realmente dos iconos diferentes

**URL:** https://meta.discourse.org/t/three-bar-icon-should-really-be-two-different-icons/304437
**Category:** UX
**Tags:** sidebar
**Created:** [18 Abril, 2024 11:24 UTC](https://meta.discourse.org/t/three-bar-icon-should-really-be-two-different-icons/304437 "2024-04-18T11:24:31Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![denvergeeks](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/denvergeeks/32/327671_2.png) [@denvergeeks](https://meta.discourse.org/u/denvergeeks)
#### Post date: [19 Abril, 2024 01:13 UTC](https://meta.discourse.org/t/three-bar-icon-should-really-be-two-different-icons/304437/7 "2024-04-19T01:13:15Z")

</div>

Aquí tienes un componente de tema básico para proporcionar diferentes iconos en los dos estados diferentes…

> **[GitHub - denvergeeks/discourse-sidebar-toggle-x](https://github.com/denvergeeks/discourse-sidebar-toggle-x)**
>
> Contribute to denvergeeks/discourse-sidebar-toggle-x development by creating an account on GitHub.

Utilicé el código de @PhilFoss de esta publicación relacionada:

> [@Hamburger toggle](https://meta.discourse.org/t/hamburger-toggle/275948):
>
> Hello, I’m new to Discourse and hope this is a helpful observation- the hamburger menu never changes to a ‘close’ ui so I’ve found myself clicking it thinking I’m about to reveal more stuff, but it closes unexpected. It was already open. I’ve got a few lines of css that I plan on adding as a topic in the ‘theme component’ category when I have more access. Luckily the codebase has proper classes so we can hook onto those based on the sidebar showing or not showing. [discourse-hamburger-toggle] .…

---

_[View the full topic](https://meta.discourse.org/t/three-bar-icon-should-really-be-two-different-icons/304437)._
