Empty state alternatives? #3781
-
Do we have an patterns our guidance for an empty state where a user hasn’t filled out a setting yet? I can use the Paste empty state but it seems visually heavy for my needs. For example, in the flows I'm designing:
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
🤖 Hey there, @jess-watson! 🌟 I'm Dosu, your friendly neighborhood bot here to help you solve bugs, answer questions, and guide you on your way to becoming a contributor while we wait for a human maintainer to chime in. I'm all ears (figuratively speaking) and ready to dive into your issue about empty state alternatives. Let me take a closer look and get back to you shortly! 🤖🔍 |
Beta Was this translation helpful? Give feedback.
-
Disclaimer: This is a very experimental bot using OpenAI's GPT-4. The answers may not be correct, a human will review the answer and update it if necessary. Sorry, I don't know how to help with that. I did do a search though, and I managed to find these other Discussions that might be similar or related to your question. Give them a read to see if they answer your question. If they do, head back here and update this discussion and mark it as answered, pointing others to the related discussion:
|
Beta Was this translation helpful? Give feedback.
-
🤖 Based on your description, it seems like you're looking for a more subtle way to handle empty states in your user interface. Here are a few suggestions:
Here's an example of how you can implement these suggestions: export const EmptyState: React.FC<React.PropsWithChildren<{ handleClearAll: () => void }>> = ({ handleClearAll }) => (
<Box
height="size30"
borderStyle="solid"
borderColor="colorBorderWeaker"
borderWidth="borderWidth20"
display="flex"
justifyContent="center"
alignItems="center"
columnGap="space110"
>
<Box>
<Heading as="div" variant="heading30">
No results found
</Heading>
<Paragraph>Try changing the filters or the search term.</Paragraph>
<Button variant="secondary" onClick={handleClearAll} data-cy="filter-group-empty-state-clear-button">
Clear all
</Button>
</Box>
</Box>
); In this example, I've removed the This is just one way to handle empty states, and it may not be suitable for all scenarios. Always consider the specific needs of your users and the context of your application when designing your user interface. Regarding the discussions you found, I'm sorry but I can't see the content of the links you provided. However, I hope the suggestions above can help you in handling the empty states in your design. If you have more specific questions or need further clarification, feel free to ask. Sources
|
Beta Was this translation helpful? Give feedback.
-
Hey @jess-watson - we don't really have any existing patterns or guidance for empty states other than the regular empty state pattern. The only other empty state we document is the Combobox empty state. Can you share a link to your Figma or some screenshots so we can get a better sense of what you're looking for and why the existing empty state pattern doesn't work? Thanks! |
Beta Was this translation helpful? Give feedback.
Hey @jess-watson - we don't really have any existing patterns or guidance for empty states other than the regular empty state pattern. The only other empty state we document is the Combobox empty state. Can you share a link to your Figma or some screenshots so we can get a better sense of what you're looking for and why the existing empty state pattern doesn't work? Thanks!