Skip to main content

explorer

caution

This is outdated, feel free to contribute to the docs and update this page. Otherwise it'll get updated in a few weeks.

View code source Similar to the folder component. Creates a file explorer. Can go up a directory with the Alt+Up key combo.

Component props

PropertyTypeDescription
pathStringPath explorer should open up to. Default is "/".
viewStringEither "grid" or "tree". Default is "grid".
globBooleanUnknown boolean
isPickerBooleanWhether the user is supposed to pick a file in the explorer.
multiselectableBooleanWhether more than one item can be selected.
selectionArrayArray of selected items.
showHiddenFilesBooleanWhether the explorer should show hidden files. Default is true. Can be changed with the Ctrl+H keyboard combo.

Function arguments

ArgumentDescription
path
options