File type
DarkInspect
A file's kind as a small document page: its brand colour and its label. ReUI's file-type, verbatim but for our cn. It has no hooks, so it renders on the server. Support's photos and PDFs use it for a PDF, where a photo shows its own thumbnail.
Next to a visible file name, add aria-hidden: the name already says what the file is.
Examples
From a file name
type takes an extension. A file name goes through getFileType first, or the page reads the whole name.
DarkInspect
Anatomy
<FileType aria-hidden size="xs" type="pdf" />
<FileType type={getFileType(file.name)} />