The File List component represents a list of files. It is visually similar to the Uploader component, but only allows the user to access files, not to upload them. Each file contains the file’s name, and may also include the date uploaded, file size and actions a user may take.
time | size | none
Properties of the children
preview download delete. Defaults to
Usage in HTML
Edit the code below to see changes reflected in the example above.
Usage in Elm
Code generated from HTML.
The component renders a list. The semantics provide additional affordances to screen reader, such as the number of items in the list.
The icononly buttons have a tooltip for visual users, e.g. "Download" and a context-specific message for screen reader users, e.g. "Download filename.xls".