79695503

Date: 2025-07-09 11:05:38
Score: 1.5
Natty:
Report link

You can access the sidebar state with alpine like this, and then show your component only when it's open

x-data="{ get isOpen() { return $store.sidebar.isOpen } }" x-show="isOpen"
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: kulturman