Skip to content

Component props ​

basestring

''

OpenList address. Empty: built-in demo data

pathstring

'/'

Folder to list

sourcesFileListSource[]

[]

Several folders or files as roots; path is then ignored. Each { path, title?, password?, expanded? }

expandedboolean

false

Open the root folders at first

titlestring

''

Toolbar title. Falls back to OpenList's site_title

tokenstring

''

Optional read-only token; guest when omitted. Public to readers, see Security

passwordstring

''

Folder password; readers can also type it. Public to readers, see Security

rememberPasswordboolean

true

Offer “remember in this tab” when a password is typed; false never writes to sessionStorage

pageSizenumber

15

Rows shown per folder before “show more / show all / show less”; 0 shows everything

deepSearch'manual' | 'auto'

'manual'

auto: typing a keyword starts deep search at once (for small mounts)

deepSearchLimitnumber

500

Folders deep search reads per run before offering “continue”

zipWarnSizenumber

500 (200 on touch devices)

In MB. Browsers that zip in memory (Firefox, Safari) ask first above this size; 0 never asks

zipMaxSizenumber

2048 (1024 on touch devices)

In MB. Above this size, those browsers refuse to zip; 0 means no limit. Chrome and Edge stream to disk and skip both checks

locale'zh-CN' | 'en-US'

'zh-CN'

Built-in labels

labelsPartial<FileListLabels>

Per-key label overrides

The component is registered as both <FileList> and <VPFileList>.

In Markdown, props can be written in kebab-case, such as page-size or deep-search; prefix non-string values with :, as in :page-size="50".

MIT License