toggle
Installation
SKILL.md
Toggle
Switch between two states
What it solves
A Toggle pattern helps teams create a reliable way to switch a binary setting on or off while making the current state obvious before and after interaction. It is most useful when teams need settings and preferences. Compared with adjacent patterns, this pattern should reduce friction without hiding the state, rules, or recovery paths people need to keep moving.
When to use
- Settings and preferences
- Feature enablement
- Notification or privacy controls