Experimental custom-HTML alternative to gr.FileExplorer that accepts a list of globs or a single regex (issue #11835).
gr.FileExplorer
patterns=["**/*.png", "**/*.jpg", "**/*.jpeg"]
regex=r'\.(txt|md|log)$'