How to make My sidebar menu button open a drawer on click

I want to make my notification button in my side bar to open a drawer to display notifications on click and then to put my search bar in the background
notifications problem
as well.

Create a variable called “drawer”

Set conditional rendering of your notifications drawer to be when drawer=true

Add a workflow to your notifications button that toggles “drawer” variable value between true/false when clicked

1 Like