|
893 | 893 | "type": "section"
|
894 | 894 | }
|
895 | 895 | ]
|
| 896 | + }, |
| 897 | + { |
| 898 | + "title": "UX", |
| 899 | + "sections": [ |
| 900 | + { |
| 901 | + "type": "list", |
| 902 | + "items": [ |
| 903 | + { |
| 904 | + "title": "Unclear buttons hierarchy", |
| 905 | + "description": "Have a clear hierarchy of your buttons. Decide which one of the actions in your screen is the main one and use a Primary button for it. All other buttons should be secondary and tertiary in the way they look. Destructive actions should be treated likewise. ", |
| 906 | + "content": [ |
| 907 | + { |
| 908 | + "value": "https://wixmp-1d257fba8470f1b562a0f5f2.wixmp.com/mads-docs-assets/assets/Components Docs/Button/button_UX_dosDonts_hierarchy.png" |
| 909 | + } |
| 910 | + ] |
| 911 | + }, |
| 912 | + { |
| 913 | + "title": "Inappropriate buttons layout", |
| 914 | + "description": "Make sure you’re using a layout that can accommodate actions text. ", |
| 915 | + "content": [ |
| 916 | + { |
| 917 | + "value": "https://wixmp-1d257fba8470f1b562a0f5f2.wixmp.com/mads-docs-assets/assets/Components Docs/Button/button_UX_dosDonts_layout.png" |
| 918 | + } |
| 919 | + ] |
| 920 | + }, |
| 921 | + { |
| 922 | + "title": "Action text truncation/ellipsis", |
| 923 | + "description": "Action text truncation or ellipsis should be avoided at all costs.\nActions should be clear and down to the point.
In case the action is complex, consider displaying an explanatory text outside the actual button component. ", |
| 924 | + "content": [ |
| 925 | + { |
| 926 | + "value": "https://wixmp-1d257fba8470f1b562a0f5f2.wixmp.com/mads-docs-assets/assets/Components Docs/Button/button_UX_dosDonts_truncation.png" |
| 927 | + } |
| 928 | + ] |
| 929 | + } |
| 930 | + ], |
| 931 | + "title": "Do’s & Don'ts", |
| 932 | + "description": "There are a few things to avoid when implementing buttons in your screen:" |
| 933 | + }, |
| 934 | + { |
| 935 | + "type": "list", |
| 936 | + "items": [ |
| 937 | + { |
| 938 | + "title": "Full Width Button", |
| 939 | + "description": "Medium prominence. Used in management screens for the main action, e.g. ‘Add New’", |
| 940 | + "content": [ |
| 941 | + { |
| 942 | + "value": "https://wixmp-1d257fba8470f1b562a0f5f2.wixmp.com/mads-docs-assets/assets/Components Docs/Button/button_UX_comparison1.png" |
| 943 | + } |
| 944 | + ] |
| 945 | + }, |
| 946 | + { |
| 947 | + "title": "Floating Button", |
| 948 | + "description": "High prominence. Used as the main CTA on the screen, e.g. ‘Join Now’, ‘Create’", |
| 949 | + "content": [ |
| 950 | + { |
| 951 | + "value": "https://wixmp-1d257fba8470f1b562a0f5f2.wixmp.com/mads-docs-assets/assets/Components Docs/Button/button_UX_comparison2.png" |
| 952 | + } |
| 953 | + ] |
| 954 | + } |
| 955 | + ] |
| 956 | + } |
| 957 | + ] |
896 | 958 | }
|
897 | 959 | ]
|
898 | 960 | }
|
|
0 commit comments