Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update usage.mdx #3256

Merged
merged 5 commits into from
Nov 17, 2022
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions src/pages/components/toggle/usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -97,19 +97,19 @@ user “flips the switch”. They are commonly used for “on/off” switches.

## Content

#### Heading
#### Label text

A heading may accompany a toggle to further clarify on the action the toggle
will perform.
Label text must accompany a toggle to further clarify the action that the toggle
performs.

#### Labels
#### Action text

Use labels with a toggle so the action is clear. Labels should be three words or
less and appear on the side of a toggle.
Use text to describe the binary action of toggle so that the action is clear. Action text must be three words or
less and is displayed on the side of a toggle.

#### Language

Use adjectives rather than verbs to describe labels and the state of the object
Use adjectives rather than verbs to describe actions and the state of the object
affected.

## Variants
Expand Down