-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(design-guidelines): move "Switch vs. Checkbox" to Design Guidelines
- Loading branch information
Showing
6 changed files
with
24 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Switch vs. Checkbox | ||
|
||
A checkbox and a switch both control binary options like On/Off | ||
or Enable/Disable. They are very similar in that sense, and many | ||
developers use them interchangeably. | ||
|
||
However, there is a difference between these two components when | ||
it comes to usability and interaction design! | ||
|
||
The rule of thumb is to use a <b>Switch</b>, whenever toggling | ||
the setting is instantly applied and does not required further | ||
explicit actions from the user. And use a <b>Checkbox</b> when | ||
the user has to confirm their choices for them to take effect. | ||
|
||
<limel-example-switch-vs-checkbox /> |