Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

Latest commit

 

History

History
14 lines (8 loc) · 699 Bytes

ButtonDoc.md

File metadata and controls

14 lines (8 loc) · 699 Bytes

General guidance

Buttons are used to initialize an action. Button labels express what action will occur when the user interacts with it.

Buttons are used primarily for actions. Examples include Add, Save, Delete, and Sign up. Each page should have one primary button, and a Return or Enter keyboard event should trigger it. Any remaining calls-to-action should be represented as secondary buttons.

Do not use buttons as navigational elements. Instead, use links when the desired action is to take the user to a new page.

Primary buttons always appear to the right. Secondary buttons appear to the left of the primary button.

<my-button>Live Examples</my-button>