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

Add support for empty state illustrations #456

Open
4 tasks
elycheea opened this issue Feb 19, 2025 · 0 comments
Open
4 tasks

Add support for empty state illustrations #456

elycheea opened this issue Feb 19, 2025 · 0 comments
Assignees
Milestone

Comments

@elycheea
Copy link

elycheea commented Feb 19, 2025

The empty state includes several pre-built illustrations:

  • error (alert)
  • no data (box)
  • no tags (tag)
  • not found (magnifying glass)
  • notifications (speech bubble)
  • unauthorized (lock)

Acceptance criteria

  • Provide prebuilt illustrations via kind prop
    • This should be optional — by default empty state should not include illustration
    • Do we need illustration description? If illustrations are strictly decorative, we shouldn't need to separately manage illustrationDescription anymore)
    • Add support for illustrationTheme with options light or dark1
  • Add support for custom illustration — if custom illustrations are provided, this should always take precedence
  • Add tests

Footnotes

  1. Carbon Web Components parity has considerations for adding support for theme — need to raise this in discussions

@elycheea elycheea added this to the 2025 Q1 milestone Feb 19, 2025
@github-project-automation github-project-automation bot moved this to Needs triage 🧐 in Carbon for IBM Products Feb 19, 2025
@elycheea elycheea moved this from Needs triage 🧐 to Backlog 🌋 in Carbon for IBM Products Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog 🌋
Development

No branches or pull requests

2 participants