You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The FileCard provides users with feedback on their uploaded files and allows them to remove files if needed. Additionally, a FileCard can indicate if an error occurred during the upload.
Design
A FileCard displays either a file or image icon or a preview of the uploaded image at the front. Next to it, the file name and file size are shown. If the name is too long for the available space, it is truncated with an ellipsis. This is not an issue, as the file name is only meant to serve as a hint about the file.
FileCards are typically displayed below a Dropzone and arranged in a two ColumnLayout. They belong to the "Uploads" category. If a FileCard is not used within a ColumnLayout, it adapts to fit the inner content.
FileCards can also optionally be made fully clickable, with hover and pressed states. This is useful, for instance, when a FileCard is displayed in a chat. In this case, users can click the FileCard to open a preview.
Additional Documentation for FileCard
Description
The FileCard provides users with feedback on their uploaded files and allows them to remove files if needed. Additionally, a FileCard can indicate if an error occurred during the upload.
Design
A FileCard displays either a file or image icon or a preview of the uploaded image at the front. Next to it, the file name and file size are shown. If the name is too long for the available space, it is truncated with an ellipsis. This is not an issue, as the file name is only meant to serve as a hint about the file.
FileCards are typically displayed below a Dropzone and arranged in a two ColumnLayout. They belong to the "Uploads" category. If a FileCard is not used within a ColumnLayout, it adapts to fit the inner content.
FileCards can also optionally be made fully clickable, with hover and pressed states. This is useful, for instance, when a FileCard is displayed in a chat. In this case, users can click the FileCard to open a preview.
Token
The text was updated successfully, but these errors were encountered: