toggle
/ˈtɑɡəl/
noun
- A short rod, pin, or button that is used to fasten or secure something, such as a coat or a tent flap.
- She replaced the broken toggle on her backpack.
- He fastened the toggle on his duffel coat.
- The tent has toggles to close the door flap.
- A switch or button on a computer or electronic device that alternates between two states (e.g., on/off, show/hide).
- Use the toggle to switch between day and night views.
- Click the toggle to turn on the Wi-Fi.
- The settings menu has a toggle for dark mode.