You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/website/docs/components/display/empty_prompt/guidelines.mdx
+16-16Lines changed: 16 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,11 +47,11 @@ The vertical layout is perfect when the content is small — a title and two par
47
47
Use the horizontal layout when you have a long description, multiple calls to action, and a footer. For this type of layout, an illustration is required.
48
48
49
49
<EuiFlexGroupgutterSize="m">
50
-
<Guidelinetext="Use the vertical layout when the text is 1 to 2 sentences.">
@@ -62,11 +62,11 @@ Icons and illustrations must first and foremost communicate meaning. They are al
62
62
When using an illustration, bear in mind that they stand out a lot. Use one illustration per page. Having multiple illustrations might make the page too crowded.
63
63
64
64
<EuiFlexGroupgutterSize="m">
65
-
<Guidelinetype="do"text="An illustration works better in a horizontal layout.">
<GuidelinepanelStyle={{ minHeight: 280 }}type="dont"text="Avoid using icons and illustrations that don't mean anything and are not related to the content.">
@@ -77,11 +77,11 @@ When using an illustration, bear in mind that they stand out a lot. Use one illu
77
77
Include the link after the description when the empty prompt doesn't contain a call to action. If there is a call to action, include the link in the footer.
78
78
79
79
<EuiFlexGroupgutterSize="m">
80
-
<Guidelinetext={`Add the "Learn more" link after the description when the empty prompt doesn't contain a call to action.`}>
<GuidelinepanelStyle={{ minHeight: 280 }}text={`Add the "Learn more" link after the description when the empty prompt doesn't contain a call to action.`}>
@@ -92,10 +92,10 @@ When a page has multiple empty states, avoid using multiple primary actions and
92
92
Use secondary actions and no icons or illustrations. This way, the visual noise will be reduced. Consider using an illustration or a primary action if you want to make one of the empty states stand out.
93
93
94
94
<EuiFlexGroupgutterSize="m">
95
-
<Guidelinetype="do"text="Use secondary actions and no icons or illustrations when displaying multiple empty states.">
0 commit comments