Replo Docs

How to use the switch component with a collapsible component?


You make combine the power of our switch and collapsible components by following these steps.


  1. Navigate to the switch component on your page
  2. Add a toggle collapsible interaction to it
  3. Add a custom state to your switch, and set "show if" to the "collapsible is open"
  4. Set the "left offset" on this new state to 26px in the positioning panel
  5. You're done!

Video Walkthrough

Was this article helpful?