```html:preview uploaded_file.ext ``` File items show files that have been or are being uploaded with a FileUpload ## Examples ### Closable Add the `closable` attribute to show a close button that will hide the file. ```html:preview uploaded_file.ext ``` ### File size Set the `size` attribute in bytes to display the file's size. ```html:preview uploaded_file.ext ``` ### Loading & Progress Set the `loading` attribute to indicate action on the file. Set `progress` to show progress. ```html:preview uploaded_file.ext uploaded_file.ext ``` ### Variants Use the `variant` attribute to set the file item's variant. ```html:preview Default Primary Success Neutral Warning Danger ``` ### Warnings and errors `variant` combined with an appropriate image can be used to show a status message. ```html:preview File uploaded successfully Upload interrupted. Please try again later. Wrong filetype