Attachment
File or image in a composer, a message or an upload list, with its state shown as text (uploading, processing, error, done), not only as a progress bar. The name only becomes a link once the file is ready; the actions stay reachable, especially on error. AttachmentGroup scrolls horizontally.
The four states
@components.AttachmentGroup(components.AttachmentGroupProps{Label: "Attachments", Items: []components.AttachmentProps{
{Name: "protocol.pdf", Meta: "PDF · 2.4 MB", State: "done", Href: "/files/protocol.pdf"},
{Name: "curve.png", State: "uploading", Progress: 45},
}})