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

[Empty States] Formatting #18525

Open
6 tasks
Tracked by #17553
laurenmrice opened this issue Feb 5, 2025 · 0 comments
Open
6 tasks
Tracked by #17553

[Empty States] Formatting #18525

laurenmrice opened this issue Feb 5, 2025 · 0 comments

Comments

@laurenmrice
Copy link
Member

laurenmrice commented Feb 5, 2025

Acceptance criteria

Finalize the below design specs and rules for empty states.


Formatting

Anatomy

  • Identify the anatomy of what can be included when an empty states appears in different scenarios (in components, on page, etc.) to see if there are any differences between these or exceptions.

Text and illustrations

  • Create rules on when you can have both text and an illustration and when to only have text.
    • Are there any considerations of when to use one over the other?
    • Should this always be consistent if you have multiple empty states on one page (For example: like a dashboard of cards? Or multiple data tables on a page?)

Content

Buttons and links

  • Decide how many buttons should be included in an empty state and what variant style they should be.
    • Does this depend on the component the empty state is nested within? For example: Data tables sometimes have a toolbar with a primary or ghost button, does this affect if there is a button in the empty state or not?
    • There was a thread about this in Slack that is related to this topic. Ref: Slack thread
    • Should we allow links in the description of an empty state if a button also exists?

Alignment

  • Outline a spec of how the empty state is center aligned when there is an illustration and when there is not in all scenarios where it could exist.

Sizes

  • Decide whether empty states should have a default and a compact size depending on where it is placed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🪆 Needs Refined
Development

No branches or pull requests

1 participant