Closed Bug 1940164 Opened 1 month ago Closed 1 month ago

Create a moz-empty-state component

Categories

(Toolkit :: UI Widgets, task)

task

Tracking

()

RESOLVED DUPLICATE of bug 1899889

People

(Reporter: jules, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(4 files)

We have the same pattern for empty states on a few different features [see example screenshots included].
We have had to implement this as a component on the design side to provide proper guidance, so I think it would be valuable to implement a moz-empty-state component that can handle image size and position and overall layout.

Empty states contain an image followed by a heading and or a message and or an action and or a link.
It also should be able to flex either column or row.

We should discuss how to support images. Do we need to officially support multiple sizes or provide some space with a certain maximum width and height?

Mobile example FWIW

img

Summary: Create empty state component → Create a moz-empty-state component

I just realized I filed something for this 7 months ago. Apologies.

Status: NEW → RESOLVED
Closed: 1 month ago
Duplicate of bug: 1899889
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: